open-dis-cpp
Public Member Functions | Protected Attributes | List of all members
DIS::Sensor Class Reference

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
unsigned char getSensorTypeSource () const
 
void setSensorTypeSource (unsigned char pX)
 
unsigned char getSensorOnOffStatus () const
 
void setSensorOnOffStatus (unsigned char pX)
 
unsigned short getSensorType () const
 
void setSensorType (unsigned short pX)
 
unsigned int getStation () const
 
void setStation (unsigned int pX)
 
unsigned short getQuantity () const
 
void setQuantity (unsigned short pX)
 
unsigned short getPadding () const
 
void setPadding (unsigned short pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const Sensor &rhs) const
 

Protected Attributes

unsigned char _sensorTypeSource
 the source of the Sensor Type field
 
unsigned char _sensorOnOffStatus
 the on/off status of the sensor
 
unsigned short _sensorType
 the sensor type and shall be represented by a 16-bit enumeration. More...
 
unsigned int _station
 the station to which the sensor is assigned. More...
 
unsigned short _quantity
 quantity of the sensor
 
unsigned short _padding
 padding
 

Member Data Documentation

◆ _sensorType

unsigned short DIS::Sensor::_sensorType
protected

the sensor type and shall be represented by a 16-bit enumeration.

◆ _station

unsigned int DIS::Sensor::_station
protected

the station to which the sensor is assigned.

A zero value shall indi- cate that this Sensor record is not associated with any particular station and represents the total quan- tity of this sensor for this entity. If this field is non-zero, it shall either reference an attached part or an articulated part


The documentation for this class was generated from the following files: