3 #include <dis6/TwoByteChunk.h> 5 #include <dis6/GridAxisRecord.h> 6 #include <dis6/utils/DataStream.h> 7 #include <dis6/opendis6_export.h> 38 virtual void marshal(
DataStream& dataStream)
const;
39 virtual void unmarshal(
DataStream& dataStream);
41 float getFieldScale()
const;
42 void setFieldScale(
float pX);
44 float getFieldOffset()
const;
45 void setFieldOffset(
float pX);
47 unsigned short getNumberOfValues()
const;
49 std::vector<TwoByteChunk>& getDataValues();
50 const std::vector<TwoByteChunk>& getDataValues()
const;
51 void setDataValues(
const std::vector<TwoByteChunk>& pX);
54 virtual int getMarshalledSize()
const;
std::vector< TwoByteChunk > _dataValues
variable length list of data parameters ^^^this is wrong–need padding as well
Definition: GridAxisRecordRepresentation1.h:31
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
a class to support managing a network buffer.
Definition: DataStream.h:28
float _fieldOffset
constant offset used to scale grid data
Definition: GridAxisRecordRepresentation1.h:25
Definition: GridAxisRecord.h:15
Definition: GridAxisRecordRepresentation1.h:18
float _fieldScale
constant scale factor
Definition: GridAxisRecordRepresentation1.h:22
unsigned short _numberOfValues
Number of data values.
Definition: GridAxisRecordRepresentation1.h:28