![]() |
VR-Link API Documentation for HLA Evolved
|
Instances of DtCreateObjReqInter are used to represent CreateObjectRequest Interactions in the RPR FOM. More...
Inheritance diagram for DtCreateObjReqInter:
Collaboration diagram for DtCreateObjReqInter:Public Member Functions | |
| DtCreateObjReqInter () | |
| default constructor | |
| virtual | ~DtCreateObjReqInter () |
| destructor | |
| DtCreateObjReqInter (const DtCreateObjReqInter &orig) | |
| copy constructor | |
| DtCreateObjReqInter & | operator= (const DtCreateObjReqInter &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 | setObjectClass (DtU32 id) |
| Set/Get object class. | |
| virtual DtU32 | objectClass () const |
| virtual void | setNumPairs (DtU32 pairs) |
| Set/Get the number of attribute/value pairs. | |
| virtual DtU32 | numPairs () const |
| virtual void | setAvPairSet (const RTI::AttributeHandleValuePairSet &atts) |
| virtual const RTI::AttributeHandleValuePairSet & | avPairSet () const |
| virtual void | setAttributeHandle (DtU32 index, DtU32 handle) |
| Set/Get the attribute handle given an index. | |
| virtual DtU32 | 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 | setRequestId (DtU32 id) |
| Set/Get request ID. | |
| virtual DtU32 | requestId () 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 DtCreateObjReqInter. | |
| static void | addCallback (DtExerciseConn *conn, DtCreateObjReqInterCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP()) |
| Add (register)/Remove (deregister) function to be called when interaction occurs. | |
| static void | removeCallback (DtExerciseConn *conn, DtCreateObjReqInterCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP()) |
Protected Attributes | |
| DtU32 | myObjectClass |
| DtDatumRecordSet | myRecordSet |
| DtU32 | myRequestId |
Instances of DtCreateObjReqInter are used to represent CreateObjectRequest Interactions in the RPR FOM.
default constructor
| virtual DtCreateObjReqInter::~DtCreateObjReqInter | ( | ) | [virtual] |
destructor
| DtCreateObjReqInter::DtCreateObjReqInter | ( | const DtCreateObjReqInter & | orig | ) |
copy constructor
| static void DtCreateObjReqInter::addCallback | ( | DtExerciseConn * | conn, |
| DtCreateObjReqInterCb | cb, | ||
| void * | usr, | ||
| DtDDMRegionSP | region = DtDDMRegionSP() |
||
| ) | [static] |
Add (register)/Remove (deregister) function to be called when interaction occurs.
| virtual DtU32 DtCreateObjReqInter::attributeHandle | ( | DtU32 | index | ) | const [virtual] |
| virtual const char* DtCreateObjReqInter::attributeValue | ( | DtU32 | index | ) | const [virtual] |
| virtual DtU32 DtCreateObjReqInter::attributeValueLength | ( | DtU32 | index | ) | const [virtual] |
| virtual const RTI::AttributeHandleValuePairSet& DtCreateObjReqInter::avPairSet | ( | ) | const [virtual] |
| static DtInteraction* DtCreateObjReqInter::create | ( | ) | [static] |
Create a DtCreateObjReqInter.
Caller is responsible for deletion.
| virtual DtDatumRecordSet* DtCreateObjReqInter::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* DtCreateObjReqInter::datumRecSet | ( | ) | const [virtual] |
| const char * DtCreateObjReqInter::name | ( | ) | const [inline, virtual] |
Name of the interaction. (Not necessarily the ClassName from the FOM.)
Implements DtInteraction.
| virtual DtU32 DtCreateObjReqInter::numPairs | ( | ) | const [virtual] |
| DtU32 DtCreateObjReqInter::objectClass | ( | ) | const [inline, virtual] |
References myObjectClass.
| DtCreateObjReqInter& DtCreateObjReqInter::operator= | ( | const DtCreateObjReqInter & | orig | ) |
assignment operator
| virtual void DtCreateObjReqInter::printData | ( | ) | const [virtual] |
Print the interaction's data to DtInfo.
Reimplemented from DtInteraction.
| virtual void DtCreateObjReqInter::printDataToStream | ( | std::ostream & | stream | ) | const [virtual] |
Print the interaction's data to the specified stream.
Reimplemented from DtInteraction.
| static void DtCreateObjReqInter::removeCallback | ( | DtExerciseConn * | conn, |
| DtCreateObjReqInterCb | cb, | ||
| void * | usr, | ||
| DtDDMRegionSP | region = DtDDMRegionSP() |
||
| ) | [static] |
| DtU32 DtCreateObjReqInter::requestId | ( | ) | const [inline, virtual] |
References myRequestId.
| virtual void DtCreateObjReqInter::setAttributeHandle | ( | DtU32 | index, |
| DtU32 | handle | ||
| ) | [virtual] |
Set/Get the attribute handle given an index.
| virtual void DtCreateObjReqInter::setAttributeValue | ( | DtU32 | index, |
| const char * | usr | ||
| ) | [virtual] |
| virtual void DtCreateObjReqInter::setAttributeValueLength | ( | DtU32 | index, |
| DtU32 | length | ||
| ) | [virtual] |
Set/Get the attribute value length given and index.
| virtual void DtCreateObjReqInter::setAvPairSet | ( | const RTI::AttributeHandleValuePairSet & | atts | ) | [virtual] |
| virtual void DtCreateObjReqInter::setNumPairs | ( | DtU32 | pairs | ) | [virtual] |
Set/Get the number of attribute/value pairs.
| void DtCreateObjReqInter::setObjectClass | ( | DtU32 | id | ) | [inline, virtual] |
Set/Get object class.
References myObjectClass.
| void DtCreateObjReqInter::setRequestId | ( | DtU32 | id | ) | [inline, virtual] |
Set/Get request ID.
References myRequestId.
DtU32 DtCreateObjReqInter::myObjectClass [protected] |
Referenced by objectClass(), and setObjectClass().
DtDatumRecordSet DtCreateObjReqInter::myRecordSet [protected] |
DtU32 DtCreateObjReqInter::myRequestId [protected] |
Referenced by requestId(), and setRequestId().