VR-Link API Documentation for HLA Evolved
Public Member Functions | Static Public Member Functions | Protected Attributes
DtAttributeChangeReqInter Class Reference

Instances of DtAttributeChangeReqInter are used to represent AttributeChangeRequest Interactions in the RPR FOM. More...

+ Inheritance diagram for DtAttributeChangeReqInter:
+ Collaboration diagram for DtAttributeChangeReqInter:

List of all members.

Public Member Functions

 DtAttributeChangeReqInter ()
 default constructor
virtual ~DtAttributeChangeReqInter ()
 destructor
 DtAttributeChangeReqInter (const DtAttributeChangeReqInter &orig)
 copy constructor
DtAttributeChangeReqInteroperator= (const DtAttributeChangeReqInter &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 const
DtGlobalObjectDesignatorList
objectIDs () const
 Return the Object ID list.
virtual
DtGlobalObjectDesignatorList
objectIDs ()
virtual void setNumIds (DtU8 numIds)
 Set/Get number of IDs.
virtual DtU8 numIds () const
virtual void setNthObjectId (DtInt32 idIndex, const DtGlobalObjectDesignator &id)
 Set/Get the nth ObjectId.
virtual const
DtGlobalObjectDesignator
nthObjectId (DtInt32 idIndex) 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 DtDatumRecordSetdatumRecSet ()
 Return the DtDatumRecordSet which an InteractionWithData uses to store its fixed and var records.
virtual const DtDatumRecordSetdatumRecSet () const
virtual const char * name () const
 Name of the interaction. (Not necessarily the ClassName from the FOM.)

Static Public Member Functions

static DtInteractioncreate ()
 Create a DtAttributeChangeReqInter.
static void addCallback (DtExerciseConn *conn, DtAttributeChangeReqInterCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())
 Add (register)/Remove (deregister) function to be called when interaction occurs.
static void removeCallback (DtExerciseConn *conn, DtAttributeChangeReqInterCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())

Protected Attributes

DtGlobalObjectDesignatorList myObjectList
DtGlobalObjectDesignator myNthId
DtDatumRecordSet myRecordSet

Detailed Description

Instances of DtAttributeChangeReqInter are used to represent AttributeChangeRequest Interactions in the RPR FOM.


Constructor & Destructor Documentation

default constructor

destructor

copy constructor


Member Function Documentation

static void DtAttributeChangeReqInter::addCallback ( DtExerciseConn conn,
DtAttributeChangeReqInterCb  cb,
void *  usr,
DtDDMRegionSP  region = DtDDMRegionSP() 
) [static]

Add (register)/Remove (deregister) function to be called when interaction occurs.

virtual DtU32 DtAttributeChangeReqInter::attributeHandle ( DtU32  index) const [virtual]
virtual const char* DtAttributeChangeReqInter::attributeValue ( DtU32  index) const [virtual]
virtual DtU32 DtAttributeChangeReqInter::attributeValueLength ( DtU32  index) const [virtual]
virtual const RTI::AttributeHandleValuePairSet& DtAttributeChangeReqInter::avPairSet ( ) const [virtual]

Create a DtAttributeChangeReqInter.

Caller is responsible for deletion.

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* DtAttributeChangeReqInter::datumRecSet ( ) const [virtual]
const char * DtAttributeChangeReqInter::name ( ) const [inline, virtual]

Name of the interaction. (Not necessarily the ClassName from the FOM.)

Implements DtInteraction.

virtual const DtGlobalObjectDesignator& DtAttributeChangeReqInter::nthObjectId ( DtInt32  idIndex) const [virtual]
virtual DtU8 DtAttributeChangeReqInter::numIds ( ) const [virtual]
virtual DtU32 DtAttributeChangeReqInter::numPairs ( ) const [virtual]

Return the Object ID list.

DtAttributeChangeReqInter& DtAttributeChangeReqInter::operator= ( const DtAttributeChangeReqInter orig)

assignment operator

virtual void DtAttributeChangeReqInter::printData ( ) const [virtual]

Print the interaction's data to DtInfo.

Reimplemented from DtInteraction.

virtual void DtAttributeChangeReqInter::printDataToStream ( std::ostream &  stream) const [virtual]

Print the interaction's data to the specified stream.

Reimplemented from DtInteraction.

static void DtAttributeChangeReqInter::removeCallback ( DtExerciseConn conn,
DtAttributeChangeReqInterCb  cb,
void *  usr,
DtDDMRegionSP  region = DtDDMRegionSP() 
) [static]
virtual void DtAttributeChangeReqInter::setAttributeHandle ( DtU32  index,
DtU32  handle 
) [virtual]

Set/Get the attribute handle given an index.

virtual void DtAttributeChangeReqInter::setAttributeValue ( DtU32  index,
const char *  usr 
) [virtual]
virtual void DtAttributeChangeReqInter::setAttributeValueLength ( DtU32  index,
DtU32  length 
) [virtual]

Set/Get the attribute value length given and index.

virtual void DtAttributeChangeReqInter::setAvPairSet ( const RTI::AttributeHandleValuePairSet &  atts) [virtual]
virtual void DtAttributeChangeReqInter::setNthObjectId ( DtInt32  idIndex,
const DtGlobalObjectDesignator id 
) [virtual]

Set/Get the nth ObjectId.

virtual void DtAttributeChangeReqInter::setNumIds ( DtU8  numIds) [virtual]

Set/Get number of IDs.

virtual void DtAttributeChangeReqInter::setNumPairs ( DtU32  pairs) [virtual]

Set/Get the number of attribute/value pairs.


Member Data Documentation


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)