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

Instances of DtAttributeChangeResInter are used to represent AttributeChangeResult Interactions in the RPR FOM. More...

+ Inheritance diagram for DtAttributeChangeResInter:
+ Collaboration diagram for DtAttributeChangeResInter:

List of all members.

Public Member Functions

 DtAttributeChangeResInter ()
 default constructor
virtual ~DtAttributeChangeResInter ()
 destructor
 DtAttributeChangeResInter (const DtAttributeChangeResInter &orig)
 copy constructor
DtAttributeChangeResInteroperator= (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 DtDatumRecordSetdatumRecSet ()
 Return the DtDatumRecordSet which an InteractionWithData uses to store its fixed and var records.
virtual const DtDatumRecordSetdatumRecSet () 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 DtInteractioncreate ()
 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

Detailed Description

Instances of DtAttributeChangeResInter are used to represent AttributeChangeResult Interactions in the RPR FOM.


Constructor & Destructor Documentation

default constructor

destructor

copy constructor


Member Function Documentation

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 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]

Create a DtAttributeChangeResInter.

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* 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]
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]

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.


Member Data Documentation

RTI::AttributeHandleValueMap DtAttributeChangeResInter::myMap [mutable, protected]

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)