![]() |
MAK RTIspy API Documentation for HLA 1516
|
Inheritance diagram for DtRtiMtdTimeStamp:
Collaboration diagram for DtRtiMtdTimeStamp:Public Member Functions | |
| DtRtiMtdTimeStamp (DtMetadataType type, caddr_t msg) | |
| Constructor. More... | |
| DtRtiMtdTimeStamp (DtMetadataType type, DtRtiMsg *msg) | |
| virtual | ~DtRtiMtdTimeStamp () |
| Destructor. More... | |
| virtual bool | get (MAKRti::DtTime &stamp) const |
| Find the first time stamp within the message metadata. More... | |
| virtual bool | set (const MAKRti::DtTime &timeStamp) |
| Reserves space in RTI message buffer (if necessary) for additional timestamp metadata, encodes (serializes) timestamp, and copies into message buffer. More... | |
| virtual DtMetadataType | getType () const |
| Return the DtMetadataType that this instance was constructed with. More... | |
Public Member Functions inherited from DtRtiMetadata | |
| DtRtiMetadata (caddr_t msg, DtMetadataType type) | |
| Constructor. More... | |
| DtRtiMetadata (DtRtiMsg *msg, DtMetadataType type) | |
| virtual | ~DtRtiMetadata () |
| Destructor. More... | |
| virtual bool | locate (void **mdVal, unsigned int &size) const |
| Traverse metadata headers of attached message to find this instance's metadata type. More... | |
| virtual bool | nullify () |
| Find specified type and change type field in header to DtMetadataTypeNull but don't remove from message buffer. More... | |
| virtual unsigned int | remove () |
| Find specified type and remove from buffer, relocating metadata that remains and adjusting reported size of buffer. More... | |
| virtual unsigned int | purge () |
| Traverse metadata headers to find all nullified blocks and remove them from buffer, relocating metadata that remains and adjusting reported size of buffer. More... | |
| virtual bool | isCopyEnabled () |
| Set/Get the 'copy' bit in the specified metadata header. More... | |
| virtual void | setCopyEnable (bool copyEnable) |
| virtual bool | setLengthAsValue (unsigned int value) |
| Set an integer value to be transmitted without using an actual payload. More... | |
| virtual bool | getLengthAsValue (unsigned int &value) const |
| Get an integer payload value from the payload length. More... | |
| virtual void | print (MAKRti::DtOutputStream &stream=MAKRti::DtDebug) |
| Print this Metadata. More... | |
| virtual DtNetMsgHeader * | netMessageHeader () |
| Get the net header of the message. More... | |
Static Public Member Functions | |
| static bool | get (DtMetadataType type, char const *msg, MAKRti::DtTime &stamp) |
| Find the first time stamp within the message metadata. More... | |
Static Public Member Functions inherited from DtRtiMetadata | |
| static unsigned int | metadataMaxSize () |
| Report maximum size of metadata buffer. More... | |
Protected Attributes | |
| const unsigned int | myPayloadAlignment |
Protected Attributes inherited from DtRtiMetadata | |
| DtRtiMsg * | myMsg |
| caddr_t | myMsgAddr |
| unsigned int | myMsgLen |
| char * | myStartAddr |
| unsigned int | mySize |
| address returned by DtRtiMsg::addMetadata() More... | |
| bool | myCopyEnabled |
| const DtMetadataType | myMetaDataType |
Static Protected Attributes | |
| static const unsigned int | theSizeOfASingleEntry |
Static Protected Attributes inherited from DtRtiMetadata | |
| static unsigned int | theMaxMetadataBufferSize |
Private Member Functions | |
| DtRtiMtdTimeStamp (const DtRtiMtdTimeStamp &) | |
| Copy CTOR Not Implemented – Copy Not Allowed! More... | |
| DtRtiMtdTimeStamp & | operator= (const DtRtiMtdTimeStamp &) |
| Assignment Operator Not Implemented – Assignment Not Allowed! More... | |
Additional Inherited Members | |
Protected Types inherited from DtRtiMetadata | |
| typedef std::list < DtMetadataNetHeader * > | DtMetadataHeaderList |
Protected Member Functions inherited from DtRtiMetadata | |
| virtual DtMetadataNetHeader * | getFirstHeader () const |
| virtual DtMetadataNetHeader * | getHeaderByType () const |
| virtual DtU16 | compactMetadata (char *dst, DtMetadataHeaderList &retentionPool, bool newFinal) |
Static Protected Member Functions inherited from DtRtiMetadata | |
| static bool | locate (char const *msg, DtMetadataType type, void **mdVal, unsigned int &size) |
| Traverse metadata headers of the given message to find the given metadata type. More... | |
| static bool | typeIsPresent (char const *msg, DtMetadataType type) |
| Determines whether metadata type is present in msg. More... | |
| static DtMetadataNetHeader * | getFirstHeader (char const *msg) |
| static DtMetadataNetHeader * | getNextHeader (DtMetadataNetHeader *hdr) |
| static DtMetadataNetHeader * | getHeaderByType (char const *msg, DtMetadataType type) |
| static void | transmogrifyHeader (DtMetadataNetHeader &src, DtMetadataNetHeader &dest) |
| Transform from network to host format. More... | |
| static void | reverseTransmogrifyHeader (DtMetadataNetHeader &src, DtMetadataNetHeader &dest) |
| Transform from host format to network format. More... | |
| static unsigned int | metadataSize (DtMetadataNetHeader &hdr) |
| static unsigned int | metadataPayloadSize (DtMetadataNetHeader &hdr) |
| DtRtiMtdTimeStamp::DtRtiMtdTimeStamp | ( | DtMetadataType | type, |
| caddr_t | msg | ||
| ) |
Constructor.
| DtRtiMtdTimeStamp::DtRtiMtdTimeStamp | ( | DtMetadataType | type, |
| DtRtiMsg * | msg | ||
| ) |
|
virtual |
Destructor.
|
private |
Copy CTOR Not Implemented – Copy Not Allowed!
|
virtual |
Find the first time stamp within the message metadata.
If none found, returns false. If found, copies decoded metadata to MAKRti::DtTime object supplied (stamp) and returns true.
|
static |
Find the first time stamp within the message metadata.
If none found, returns false. If found, copies decoded metadata to MAKRti::DtTime object supplied (stamp) and returns true.
|
virtual |
Return the DtMetadataType that this instance was constructed with.
Does NOT imply that metadata of this type exists in associated msg.
|
private |
Assignment Operator Not Implemented – Assignment Not Allowed!
|
virtual |
Reserves space in RTI message buffer (if necessary) for additional timestamp metadata, encodes (serializes) timestamp, and copies into message buffer.
Returns true if successful, false otherwise.
|
protected |
|
staticprotected |