3 #include <dis7/utils/DataStream.h> 4 #include <dis7/opendis7_export.h> 41 virtual void marshal(
DataStream& dataStream)
const;
42 virtual void unmarshal(
DataStream& dataStream);
44 unsigned char getSensorTypeSource()
const;
45 void setSensorTypeSource(
unsigned char pX);
47 unsigned char getSensorOnOffStatus()
const;
48 void setSensorOnOffStatus(
unsigned char pX);
50 unsigned short getSensorType()
const;
51 void setSensorType(
unsigned short pX);
53 unsigned int getStation()
const;
54 void setStation(
unsigned int pX);
56 unsigned short getQuantity()
const;
57 void setQuantity(
unsigned short pX);
59 unsigned short getPadding()
const;
60 void setPadding(
unsigned short pX);
63 virtual int getMarshalledSize()
const;
65 bool operator ==(
const Sensor& rhs)
const;
unsigned short _quantity
quantity of the sensor
Definition: Sensor.h:31
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
unsigned char _sensorTypeSource
the source of the Sensor Type field
Definition: Sensor.h:19
a class to support managing a network buffer.
Definition: DataStream.h:28
unsigned short _sensorType
the sensor type and shall be represented by a 16-bit enumeration.
Definition: Sensor.h:25
unsigned short _padding
padding
Definition: Sensor.h:34
unsigned char _sensorOnOffStatus
the on/off status of the sensor
Definition: Sensor.h:22
unsigned int _station
the station to which the sensor is assigned.
Definition: Sensor.h:28