MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
MAKLogger::DtConstLgrHlaMessage Class Reference
+ Inheritance diagram for MAKLogger::DtConstLgrHlaMessage:
+ Collaboration diagram for MAKLogger::DtConstLgrHlaMessage:

Public Member Functions

 DtConstLgrHlaMessage (const DtPacket *packet)
 CTOR for providing a HLA specific interface to a packet. More...
 
 DtConstLgrHlaMessage (const DtPacket &packet)
 CTOR for providing a HLA specific interface to a packet. More...
 
virtual ~DtConstLgrHlaMessage ()
 DTOR does nothing. More...
 
bool isUpdate () const
 Is packet an Update message. More...
 
bool isMultiUpdate () const
 Is packet an Update with multiple messages. More...
 
bool isDDMUpdate () const
 Is packet an Update with DDM information. More...
 
bool isRemoval () const
 Is packet a removal message. More...
 
bool isInteraction () const
 Is packet an interaction message. More...
 
DtLgrHlaHandle objectHandle () const
 Will throw if packet is not an update or removal. More...
 
const DtStringobjectName () const
 Will throw if packet is not an update or removal. More...
 
const DtStringasciiTag () const
 Get tag as ascii string. More...
 
const DtLgrVariableLengthDatabinaryTag () const
 Get tag as binary data. More...
 
DtTime tagAsTimestamp () const
 Get tag as timestamp. More...
 
DtLgrHlaHandle objectClassHandle () const
 Will throw if packet is not an update,removal. More...
 
DtLgrHlaHandle interactionClassHandle () const
 Will throw if packet is not an interaction;. More...
 
bool getInteractionRegionID (DtRegionID &regionID, unsigned int index=0) const
 Get the interaction region ID specified by the index. More...
 
bool getObjectRegionID (DtRegionID &regionID, unsigned int index=0) const
 Get the object region ID specified by the index. More...
 
unsigned int getObjectRegionIdSet (DtRegionIDSet &regionIDSet)
 Get the set of object region handles/names stored in this packet. More...
 
unsigned int getInteractionRegionIdSet (DtRegionIDSet &regionIDSet)
 Get the set of interaction region handles/names stored in this packet. More...
 
std::auto_ptr
< DtLgrHandleValueMap
createAttrs () const
 This will create a copy of the values. More...
 
std::auto_ptr
< DtLgrHandleValueMap
createParams () const
 Will throw if packet is not an interaction. More...
 
std::auto_ptr
< DtLgrHandleValueReferenceMap
referenceAttrs () const
 This will point to the values. More...
 
std::auto_ptr
< DtLgrHandleValueReferenceMap
referenceParams () const
 This will point to the values. More...
 
DtDDMRegionSP interactionDDMRegion (const DtExerciseConn *exerciseConn, unsigned int index=0, DtIDRegionMap *regionCache=0, bool updateRegion=false) const
 Get an interaction region specified by the index Creates the region if cache is not supplied or region is not found. More...
 
DtDDMRegionSP objectDDMRegion (const DtExerciseConn *exerciseConn, unsigned int index=0, DtIDRegionMap *regionCache=0, bool updateRegion=false) const
 Get the object region specified by index Creates the region if cache is not supplied or region is not found. More...
 
unsigned int getInteractionDDMRegionSet (const DtExerciseConn *exerciseConn, DtDDMRegionSet &regionSet, DtIDRegionMap *regionCache=0, bool updateRegions=false) const
 Get the region set. More...
 
unsigned int getObjectDDMRegionSet (const DtExerciseConn *exerciseConn, DtDDMRegionSet &regionSet, DtIDRegionMap *regionCache=0, bool updateRegions=false) const
 Get the region set. More...
 
unsigned int getInteractionDDMRegionDescSet (DtRegionDescSet &regionSet) const
 Get the region descriptor set. More...
 
unsigned int getObjectDDMRegionDescSet (DtRegionDescSet &regionSet) const
 Get the region descriptor set. More...
 
DtInteractioncreateInteraction (DtInteractionFactory *factory, const DtLgrOnlineFomDesc &fom) const
 
DtLgrStateMsgcreateStateMsg (const DtLgrOnlineFomDesc &fom) const
 Create a state message. More...
 
DtLgrStateMsg ** createMultiStateMsgs (const DtLgrOnlineFomDesc &fom, int &count) const
 Create multiple state messages. More...
 
void paramHandles (std::vector< DtLgrHlaHandle > &) const
 Will throw if packet is not an interaction. More...
 
void attrHandles (std::vector< DtLgrHlaHandle > &handles) const
 Will throw if packet is not an update. More...
 
const DtPacketpacket () const
 

Protected Attributes

const DtPacketmyConstPacket
 
DtStringmyObjectName
 
DtStringmyAsciiTag
 
DtLgrVariableLengthDatamyBinaryTag
 
bool myGotTagTime
 
DtTime myTagTime
 

Constructor & Destructor Documentation

MAKLogger::DtConstLgrHlaMessage::DtConstLgrHlaMessage ( const DtPacket packet)

CTOR for providing a HLA specific interface to a packet.

MAKLogger::DtConstLgrHlaMessage::DtConstLgrHlaMessage ( const DtPacket packet)

CTOR for providing a HLA specific interface to a packet.

virtual MAKLogger::DtConstLgrHlaMessage::~DtConstLgrHlaMessage ( )
virtual

DTOR does nothing.

Member Function Documentation

const DtString& MAKLogger::DtConstLgrHlaMessage::asciiTag ( ) const

Get tag as ascii string.

Will throw if packet is not an update or interaction.

void MAKLogger::DtConstLgrHlaMessage::attrHandles ( std::vector< DtLgrHlaHandle > &  handles) const

Will throw if packet is not an update.

const DtLgrVariableLengthData& MAKLogger::DtConstLgrHlaMessage::binaryTag ( ) const

Get tag as binary data.

std::auto_ptr<DtLgrHandleValueMap> MAKLogger::DtConstLgrHlaMessage::createAttrs ( ) const

This will create a copy of the values.

Will throw if packet is not an update.

DtInteraction* MAKLogger::DtConstLgrHlaMessage::createInteraction ( DtInteractionFactory *  factory,
const DtLgrOnlineFomDesc fom 
) const
DtLgrStateMsg** MAKLogger::DtConstLgrHlaMessage::createMultiStateMsgs ( const DtLgrOnlineFomDesc fom,
int &  count 
) const

Create multiple state messages.

Will throw if packet is not a multi-time update.

std::auto_ptr<DtLgrHandleValueMap> MAKLogger::DtConstLgrHlaMessage::createParams ( ) const

Will throw if packet is not an interaction.

DtLgrStateMsg* MAKLogger::DtConstLgrHlaMessage::createStateMsg ( const DtLgrOnlineFomDesc fom) const

Create a state message.

Will throw if packet is not an update.

unsigned int MAKLogger::DtConstLgrHlaMessage::getInteractionDDMRegionDescSet ( DtRegionDescSet regionSet) const

Get the region descriptor set.

Will throw if packet is not an interaction. Return the number of regions collected in the set

unsigned int MAKLogger::DtConstLgrHlaMessage::getInteractionDDMRegionSet ( const DtExerciseConn exerciseConn,
DtDDMRegionSet &  regionSet,
DtIDRegionMap regionCache = 0,
bool  updateRegions = false 
) const

Get the region set.

Creates the region if cache is not supplied or region is not found. Regions found in cache are updated if region updating is enabled. Will throw if packet is not an interaction. Return the number of regions collected in the set

bool MAKLogger::DtConstLgrHlaMessage::getInteractionRegionID ( DtRegionID regionID,
unsigned int  index = 0 
) const

Get the interaction region ID specified by the index.

Return bool: region was in packet?

unsigned int MAKLogger::DtConstLgrHlaMessage::getInteractionRegionIdSet ( DtRegionIDSet regionIDSet)

Get the set of interaction region handles/names stored in this packet.

Return the number of regions collected

unsigned int MAKLogger::DtConstLgrHlaMessage::getObjectDDMRegionDescSet ( DtRegionDescSet regionSet) const

Get the region descriptor set.

Will throw if packet is not an interaction. Return the number of regions collected in the set

unsigned int MAKLogger::DtConstLgrHlaMessage::getObjectDDMRegionSet ( const DtExerciseConn exerciseConn,
DtDDMRegionSet &  regionSet,
DtIDRegionMap regionCache = 0,
bool  updateRegions = false 
) const

Get the region set.

Creates the region if cache is not supplied or region is not found. Regions found in cache are updated if region updating is enabled. Will throw if packet is not an update. Return the number of regions collected in the set

bool MAKLogger::DtConstLgrHlaMessage::getObjectRegionID ( DtRegionID regionID,
unsigned int  index = 0 
) const

Get the object region ID specified by the index.

Return bool: region was in packet?

unsigned int MAKLogger::DtConstLgrHlaMessage::getObjectRegionIdSet ( DtRegionIDSet regionIDSet)

Get the set of object region handles/names stored in this packet.

Return the number of regions collected

DtLgrHlaHandle MAKLogger::DtConstLgrHlaMessage::interactionClassHandle ( ) const

Will throw if packet is not an interaction;.

DtDDMRegionSP MAKLogger::DtConstLgrHlaMessage::interactionDDMRegion ( const DtExerciseConn exerciseConn,
unsigned int  index = 0,
DtIDRegionMap regionCache = 0,
bool  updateRegion = false 
) const

Get an interaction region specified by the index Creates the region if cache is not supplied or region is not found.

Region found in cache is updated if region updating is enabled. Will throw if packet is not an interaction.

bool MAKLogger::DtConstLgrHlaMessage::isDDMUpdate ( ) const

Is packet an Update with DDM information.

bool MAKLogger::DtConstLgrHlaMessage::isInteraction ( ) const

Is packet an interaction message.

bool MAKLogger::DtConstLgrHlaMessage::isMultiUpdate ( ) const

Is packet an Update with multiple messages.

bool MAKLogger::DtConstLgrHlaMessage::isRemoval ( ) const

Is packet a removal message.

bool MAKLogger::DtConstLgrHlaMessage::isUpdate ( ) const

Is packet an Update message.

DtLgrHlaHandle MAKLogger::DtConstLgrHlaMessage::objectClassHandle ( ) const

Will throw if packet is not an update,removal.

DtDDMRegionSP MAKLogger::DtConstLgrHlaMessage::objectDDMRegion ( const DtExerciseConn exerciseConn,
unsigned int  index = 0,
DtIDRegionMap regionCache = 0,
bool  updateRegion = false 
) const

Get the object region specified by index Creates the region if cache is not supplied or region is not found.

Region found in cache is updated if region updating is enabled. Will throw if packet is not an update.

DtLgrHlaHandle MAKLogger::DtConstLgrHlaMessage::objectHandle ( ) const

Will throw if packet is not an update or removal.

const DtString& MAKLogger::DtConstLgrHlaMessage::objectName ( ) const

Will throw if packet is not an update or removal.

const DtPacket* MAKLogger::DtConstLgrHlaMessage::packet ( ) const
void MAKLogger::DtConstLgrHlaMessage::paramHandles ( std::vector< DtLgrHlaHandle > &  ) const

Will throw if packet is not an interaction.

std::auto_ptr<DtLgrHandleValueReferenceMap> MAKLogger::DtConstLgrHlaMessage::referenceAttrs ( ) const

This will point to the values.

This map will need to be deallocated. Will throw if packet is not an update.

std::auto_ptr<DtLgrHandleValueReferenceMap> MAKLogger::DtConstLgrHlaMessage::referenceParams ( ) const

This will point to the values.

This map will need to be deallocated. Will throw if packet is not an update.

DtTime MAKLogger::DtConstLgrHlaMessage::tagAsTimestamp ( ) const

Get tag as timestamp.

Member Data Documentation

DtString* MAKLogger::DtConstLgrHlaMessage::myAsciiTag
mutableprotected
DtLgrVariableLengthData* MAKLogger::DtConstLgrHlaMessage::myBinaryTag
mutableprotected
const DtPacket* MAKLogger::DtConstLgrHlaMessage::myConstPacket
protected
bool MAKLogger::DtConstLgrHlaMessage::myGotTagTime
mutableprotected
DtString* MAKLogger::DtConstLgrHlaMessage::myObjectName
mutableprotected
DtTime MAKLogger::DtConstLgrHlaMessage::myTagTime
mutableprotected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)