VR-Link API Documentation for HLA 1516
Public Member Functions | Protected Member Functions
DtUnknownHlaObject Class Reference

Instances of DtUnknownHlaObject are used to store attributes for HLA objects which are not known by our FOM. More...

+ Inheritance diagram for DtUnknownHlaObject:
+ Collaboration diagram for DtUnknownHlaObject:

List of all members.

Public Member Functions

 DtUnknownHlaObject (DtExerciseConn *exConn, const char *name, DtObjClassDesc &classDesc)
 Constructor for local objects.
 DtUnknownHlaObject (DtExerciseConn *exConn, RTI::ObjectInstanceHandle id, const char *name, DtObjClassDesc &classDesc)
 Constructor for reflected objects.
virtual ~DtUnknownHlaObject ()
 destructor
virtual void update ()
 Does nothing.
virtual void update (const RTI::AttributeHandleValueMap &ahvm)
 Sends the ahpvs through our DtExerciseConn.

Protected Member Functions

 DtUnknownHlaObject (const DtUnknownHlaObject &orig)
 copy constructor
DtUnknownHlaObjectoperator= (const DtUnknownHlaObject &orig)
 assignment operator
virtual void reflect (const DtStateMsg &stateMsg)
 Does nothing.

Detailed Description

Instances of DtUnknownHlaObject are used to store attributes for HLA objects which are not known by our FOM.


Constructor & Destructor Documentation

DtUnknownHlaObject::DtUnknownHlaObject ( DtExerciseConn exConn,
const char *  name,
DtObjClassDesc classDesc 
)

Constructor for local objects.

DtUnknownHlaObject::DtUnknownHlaObject ( DtExerciseConn exConn,
RTI::ObjectInstanceHandle  id,
const char *  name,
DtObjClassDesc classDesc 
)

Constructor for reflected objects.

destructor

copy constructor


Member Function Documentation

DtUnknownHlaObject& DtUnknownHlaObject::operator= ( const DtUnknownHlaObject orig) [protected]

assignment operator

virtual void DtUnknownHlaObject::reflect ( const DtStateMsg stateMsg) [protected, virtual]

Does nothing.

You can access information from incoming update messages by using DtHlaObject::addPostReflectCb to register a function that will be called whenever an update msg is received.

Implements DtHlaObject.

virtual void DtUnknownHlaObject::update ( ) [virtual]

Does nothing.

Use the version of update that takes an ahpvs to send data for a DtUnknownHlaObject.

Reimplemented from DtHlaObject.

virtual void DtUnknownHlaObject::update ( const RTI::AttributeHandleValueMap &  ahvm) [virtual]

Sends the ahpvs through our DtExerciseConn.

Does not look at the contents of ahvps. It is the caller's responsibility to insure that all attributes in the message are in the set of attributes needed by the federation (obtained using attributesNeededByFederation). It is also the responsibility of the user of DtUnknownHlaObject to insure that requested attributes (obtained via requestedAttributes) get updated in a timely manner. clearRequestedAttributes should be called after each time requested attributes are updated.


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)