DtRtiMetadata is added to some RTI messages depending on the configuration of the RTI.
More...
|
| | 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...
|
| |
DtRtiMetadata is added to some RTI messages depending on the configuration of the RTI.
| virtual DtRtiMetadata::~DtRtiMetadata |
( |
| ) |
|
|
virtual |
Copy CTOR Not Implemented – Copy Not Allowed!
| virtual DtU16 DtRtiMetadata::compactMetadata |
( |
char * |
dst, |
|
|
DtMetadataHeaderList & |
retentionPool, |
|
|
bool |
newFinal |
|
) |
| |
|
protectedvirtual |
| virtual bool DtRtiMetadata::getLengthAsValue |
( |
unsigned int & |
value | ) |
const |
|
virtual |
Get an integer payload value from the payload length.
Return boolean: metadata was found and value retrieved?
| virtual bool DtRtiMetadata::isCopyEnabled |
( |
| ) |
|
|
virtual |
Set/Get the 'copy' bit in the specified metadata header.
| virtual bool DtRtiMetadata::locate |
( |
void ** |
mdVal, |
|
|
unsigned int & |
size |
|
) |
| const |
|
virtual |
Traverse metadata headers of attached message to find this instance's metadata type.
The address and size of the payload are returned in the supplied parameters. Returns boolean: type was found?
| static bool DtRtiMetadata::locate |
( |
char const * |
msg, |
|
|
DtMetadataType |
type, |
|
|
void ** |
mdVal, |
|
|
unsigned int & |
size |
|
) |
| |
|
staticprotected |
Traverse metadata headers of the given message to find the given metadata type.
The address and size of the payload are returned in the supplied parameters.
| static unsigned int DtRtiMetadata::metadataMaxSize |
( |
| ) |
|
|
static |
Report maximum size of metadata buffer.
Get the net header of the message.
| virtual bool DtRtiMetadata::nullify |
( |
| ) |
|
|
virtual |
Find specified type and change type field in header to DtMetadataTypeNull but don't remove from message buffer.
Returns true if specified type found, false otherwise.
Assignment Operator Not Implemented – Assignment Not Allowed!
| virtual void DtRtiMetadata::print |
( |
MAKRti::DtOutputStream & |
stream = MAKRti::DtDebug | ) |
|
|
virtual |
| virtual unsigned int DtRtiMetadata::purge |
( |
| ) |
|
|
virtual |
Traverse metadata headers to find all nullified blocks and remove them from buffer, relocating metadata that remains and adjusting reported size of buffer.
Returns number of metadata bytes purged.
| virtual unsigned int DtRtiMetadata::remove |
( |
| ) |
|
|
virtual |
Find specified type and remove from buffer, relocating metadata that remains and adjusting reported size of buffer.
Returns number of metadata bytes removed, including changes in padding.
Transform from host format to network format.
Contents of src parameter is in host format and result is assigned to contents of dest parameter
| virtual void DtRtiMetadata::setCopyEnable |
( |
bool |
copyEnable | ) |
|
|
virtual |
| virtual bool DtRtiMetadata::setLengthAsValue |
( |
unsigned int |
value | ) |
|
|
virtual |
Set an integer value to be transmitted without using an actual payload.
The payload length/padding data area is used (DtU16 size). This metadata value can be modified if it already exists in the message; however, it can only be added if the metadata is attached to a message. A message can allocate the space for the metadata whereas a buffer cannot. Return boolean: value was set successfully? /warning Not to be used if metadata contains actual payload data.
Transform from network to host format.
Contents of src parameter is in network format and result is assigned to contents of dest parameter
| static bool DtRtiMetadata::typeIsPresent |
( |
char const * |
msg, |
|
|
DtMetadataType |
type |
|
) |
| |
|
staticprotected |
Determines whether metadata type is present in msg.
| bool DtRtiMetadata::myCopyEnabled |
|
protected |
| caddr_t DtRtiMetadata::myMsgAddr |
|
protected |
| unsigned int DtRtiMetadata::myMsgLen |
|
mutableprotected |
| unsigned int DtRtiMetadata::mySize |
|
protected |
| char* DtRtiMetadata::myStartAddr |
|
protected |
| unsigned int DtRtiMetadata::theMaxMetadataBufferSize |
|
staticprotected |
The documentation for this class was generated from the following file: