3 #include "dis6/RadioCommunicationsFamilyPdu.h" 4 #include "dis6/opendis6_export.h" 5 #include "dis6/utils/DataStream.h" 46 virtual void marshal(
DataStream &dataStream)
const;
47 virtual void unmarshal(
DataStream &dataStream);
49 unsigned short getEncodingScheme()
const;
50 void setEncodingScheme(
unsigned short pX);
52 unsigned short getTdlType()
const;
53 void setTdlType(
unsigned short pX);
55 unsigned int getSampleRate()
const;
56 void setSampleRate(
unsigned int pX);
58 short getDataLength()
const;
59 void setDataLength(
short pX);
61 short getSamples()
const;
62 void setSamples(
short pX);
64 std::vector<uint8_t> &getData();
65 const std::vector<uint8_t> &getData()
const;
66 void setData(
const std::vector<uint8_t> &pX);
68 virtual int getMarshalledSize()
const;
70 bool operator==(
const SignalPdu &rhs)
const;
short _dataLength
length od data
Definition: SignalPdu.h:34
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
unsigned short _encodingScheme
encoding scheme used, and enumeration
Definition: SignalPdu.h:25
Definition: RadioCommunicationsFamilyPdu.h:17
Definition: SignalPdu.h:21
a class to support managing a network buffer.
Definition: DataStream.h:28
short _samples
number of samples
Definition: SignalPdu.h:37
unsigned short _tdlType
tdl type
Definition: SignalPdu.h:28
std::vector< uint8_t > _data
list of eight bit values
Definition: SignalPdu.h:40
unsigned int _sampleRate
sample rate
Definition: SignalPdu.h:31