![]() |
VR-Link API Documentation for HLA 1516
|
Instances of DtAttributeChangeResInter are used to represent AttributeChangeResult Interactions in the RPR FOM. More...
Inheritance diagram for DtAttributeChangeResInter:
Collaboration diagram for DtAttributeChangeResInter:Public Member Functions | |
| DtAttributeChangeResInter () | |
| default constructor | |
| virtual | ~DtAttributeChangeResInter () |
| destructor | |
| DtAttributeChangeResInter (const DtAttributeChangeResInter &orig) | |
| copy constructor | |
| DtAttributeChangeResInter & | operator= (const DtAttributeChangeResInter &orig) |
| assignment operator | |
| virtual void | printData () const |
| Print the interaction's data to DtInfo. | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print the interaction's data to the specified stream. | |
| virtual void | setObjectId (const DtGlobalObjectDesignator &id) |
| Set/Get the objectID. | |
| virtual const DtGlobalObjectDesignator & | objectId () const |
| virtual void | setNumPairs (DtU32 pairs) |
| Set/Get the number of attribute/value pairs. | |
| virtual DtU32 | numPairs () const |
| virtual void | setAvMap (const RTI::AttributeHandleValueMap &atts) |
| virtual const RTI::AttributeHandleValueMap & | avMap () const |
| virtual void | setAttributeHandle (DtU32 index, RTI::AttributeHandle handle) |
| Set/Get the attribute handle given an index. | |
| virtual RTI::AttributeHandle | attributeHandle (DtU32 index) const |
| virtual void | setAttributeValueLength (DtU32 index, DtU32 length) |
| Set/Get the attribute value length given and index. | |
| virtual DtU32 | attributeValueLength (DtU32 index) const |
| virtual void | setAttributeValue (DtU32 index, const char *usr) |
| virtual const char * | attributeValue (DtU32 index) const |
| virtual DtDatumRecordSet * | datumRecSet () |
| Return the DtDatumRecordSet which an InteractionWithData uses to store its fixed and var records. | |
| virtual const DtDatumRecordSet * | datumRecSet () const |
| virtual void | setAttributeChangeResult (DtAttributeChangeResult result) |
| Set/Get the AttributeChangeResult type. | |
| virtual DtAttributeChangeResult | attributeChangeResult () const |
| virtual const char * | name () const |
| Name of the interaction. (Not necessarily the ClassName from the FOM.) | |
Static Public Member Functions | |
| static DtInteraction * | create () |
| Create a DtAttributeChangeResInter. | |
| static void | addCallback (DtExerciseConn *conn, DtAttributeChangeResInterCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP()) |
| Add (register)/Remove (deregister) function to be called when interaction occurs. | |
| static void | removeCallback (DtExerciseConn *conn, DtAttributeChangeResInterCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP()) |
Protected Attributes | |
| DtGlobalObjectDesignator | myObjectId |
| DtDatumRecordSet | myRecordSet |
| DtAttributeChangeResult | myAttributeChangeResult |
| RTI::AttributeHandleValueMap | myMap |
Instances of DtAttributeChangeResInter are used to represent AttributeChangeResult Interactions in the RPR FOM.
default constructor
| virtual DtAttributeChangeResInter::~DtAttributeChangeResInter | ( | ) | [virtual] |
destructor
copy constructor
| static void DtAttributeChangeResInter::addCallback | ( | DtExerciseConn * | conn, |
| DtAttributeChangeResInterCb | cb, | ||
| void * | usr, | ||
| DtDDMRegionSP | region = DtDDMRegionSP() |
||
| ) | [static] |
Add (register)/Remove (deregister) function to be called when interaction occurs.
| virtual DtAttributeChangeResult DtAttributeChangeResInter::attributeChangeResult | ( | ) | const [virtual] |
| virtual RTI::AttributeHandle DtAttributeChangeResInter::attributeHandle | ( | DtU32 | index | ) | const [virtual] |
| virtual const char* DtAttributeChangeResInter::attributeValue | ( | DtU32 | index | ) | const [virtual] |
| virtual DtU32 DtAttributeChangeResInter::attributeValueLength | ( | DtU32 | index | ) | const [virtual] |
| virtual const RTI::AttributeHandleValueMap& DtAttributeChangeResInter::avMap | ( | ) | const [virtual] |
| static DtInteraction* DtAttributeChangeResInter::create | ( | ) | [static] |
Create a DtAttributeChangeResInter.
Caller is responsible for deletion.
| virtual DtDatumRecordSet* DtAttributeChangeResInter::datumRecSet | ( | ) | [virtual] |
Return the DtDatumRecordSet which an InteractionWithData uses to store its fixed and var records.
In general, the wrapper functions above should be used rather than going directly through the DtDatumRecordSet, which is necessary only when doing encoding and decoding of network representations.
| virtual const DtDatumRecordSet* DtAttributeChangeResInter::datumRecSet | ( | ) | const [virtual] |
| const char * DtAttributeChangeResInter::name | ( | ) | const [inline, virtual] |
Name of the interaction. (Not necessarily the ClassName from the FOM.)
Implements DtInteraction.
| virtual DtU32 DtAttributeChangeResInter::numPairs | ( | ) | const [virtual] |
| virtual const DtGlobalObjectDesignator& DtAttributeChangeResInter::objectId | ( | ) | const [virtual] |
| DtAttributeChangeResInter& DtAttributeChangeResInter::operator= | ( | const DtAttributeChangeResInter & | orig | ) |
assignment operator
| virtual void DtAttributeChangeResInter::printData | ( | ) | const [virtual] |
Print the interaction's data to DtInfo.
Reimplemented from DtInteraction.
| virtual void DtAttributeChangeResInter::printDataToStream | ( | std::ostream & | stream | ) | const [virtual] |
Print the interaction's data to the specified stream.
Reimplemented from DtInteraction.
| static void DtAttributeChangeResInter::removeCallback | ( | DtExerciseConn * | conn, |
| DtAttributeChangeResInterCb | cb, | ||
| void * | usr, | ||
| DtDDMRegionSP | region = DtDDMRegionSP() |
||
| ) | [static] |
| virtual void DtAttributeChangeResInter::setAttributeChangeResult | ( | DtAttributeChangeResult | result | ) | [virtual] |
Set/Get the AttributeChangeResult type.
| virtual void DtAttributeChangeResInter::setAttributeHandle | ( | DtU32 | index, |
| RTI::AttributeHandle | handle | ||
| ) | [virtual] |
Set/Get the attribute handle given an index.
| virtual void DtAttributeChangeResInter::setAttributeValue | ( | DtU32 | index, |
| const char * | usr | ||
| ) | [virtual] |
| virtual void DtAttributeChangeResInter::setAttributeValueLength | ( | DtU32 | index, |
| DtU32 | length | ||
| ) | [virtual] |
Set/Get the attribute value length given and index.
| virtual void DtAttributeChangeResInter::setAvMap | ( | const RTI::AttributeHandleValueMap & | atts | ) | [virtual] |
| virtual void DtAttributeChangeResInter::setNumPairs | ( | DtU32 | pairs | ) | [virtual] |
Set/Get the number of attribute/value pairs.
| virtual void DtAttributeChangeResInter::setObjectId | ( | const DtGlobalObjectDesignator & | id | ) | [virtual] |
Set/Get the objectID.
RTI::AttributeHandleValueMap DtAttributeChangeResInter::myMap [mutable, protected] |