VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes
DtReflectedVrfExtAggregateList Class Reference
Inheritance diagram for DtReflectedVrfExtAggregateList:
Inheritance graph
[legend]

Public Member Functions

 DtReflectedVrfExtAggregateList (DtExerciseConn *exConn, DtVrfParameterDb *pdb=0)
 Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper.
 DtReflectedVrfExtAggregateList (DtExerciseConn *exConn, bool smoothCapable, DtVrfParameterDb *pdb=0)
 DtReflectedVrfExtAggregateList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse, DtVrfParameterDb *pdb=0)
 Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper.
 DtReflectedVrfExtAggregateList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, DtVrfParameterDb *pdb=0)
 Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
virtual ~DtReflectedVrfExtAggregateList ()
 Destructor.
virtual void setParameterDatabase (DtVrfParameterDb *pdb)
 Sets the parameter database. Must be called whenever the SMS changes.
virtual DtVrfParameterDbparameterDatabase ()
 Returns the loaded parameter database.
virtual const DtVrfParameterDbparameterDatabase () const
- Public Member Functions inherited from DtReflectedExtAggregateList
 DtReflectedExtAggregateList (DtExerciseConn *exConn, const DtRwProperties &stateProps=DtRwProperties::emptyProperties(), const DtRwProperties &paramProps=DtRwProperties::emptyProperties())
 Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper.
 DtReflectedExtAggregateList (DtExerciseConn *exConn, bool smoothCapable, const DtRwProperties &stateProps=DtRwProperties::emptyProperties(), const DtRwProperties &paramProps=DtRwProperties::emptyProperties())
 DtReflectedExtAggregateList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse, const DtRwProperties &stateProps=DtRwProperties::emptyProperties(), const DtRwProperties &paramProps=DtRwProperties::emptyProperties())
 Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper.
 DtReflectedExtAggregateList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtRwProperties &stateProps=DtRwProperties::emptyProperties(), const DtRwProperties &paramProps=DtRwProperties::emptyProperties())
 Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
virtual ~DtReflectedExtAggregateList ()
 Destructor.
virtual void setPropertyPrototypes (const DtRwProperties &stateProps, const DtRwProperties &paramProps)
 Sets the prototypes for state and parameter properties.
virtual DtReflectedExtAggregatelookupEA (RTI::ObjectHandle id)
 Look up aggregate by handle.
virtual DtReflectedExtAggregatelookupEA (const DtGlobalObjectDesignator &objName)
 Look up aggregate by name.
virtual DtReflectedExtAggregatefirstEA () const
 Get the first aggregate in the list.
virtual DtReflectedExtAggregatelastEA () const
 Get the last aggregate in the list.
virtual void addAggregateAdditionCallback (DtExtAggregateCallbackFunction cb, void *userData)
 Aggregate added callback registration.
virtual void removeAggregateAdditionCallback (DtExtAggregateCallbackFunction cb, void *userData)
 Aggregate added callback deregistration.
virtual void addAggregateRemovalCallback (DtExtAggregateCallbackFunction cb, void *userData)
 Aggregate removed callback registration.
virtual void removeAggregateRemovalCallback (DtExtAggregateCallbackFunction cb, void *userData)
 Aggregate removed callback deregistration.

Protected Types

typedef std::map
< DtReflectedExtAggregate
*, DtObjectType
InitializedTypeMap

Protected Member Functions

virtual void aggregateAdded (DtReflectedExtAggregate *)
 When an aggregate is added initialize any extended properties (if supported and available) as well as add update callback for object.
virtual void aggregateUpdated (DtReflectedExtAggregate *)
virtual void aggregateRemoved (DtReflectedExtAggregate *)
- Protected Member Functions inherited from DtReflectedExtAggregateList
virtual void processDataInteraction (DtDataInteraction *i)
void initializeExtendedProperties ()
 Determines whether or not extended properties available. Called from constructors.
virtual bool readyToAdd (DtReflectedObject *obj)
 Overridden to make sure extended properties are updated before checking if the object is ready to add.
virtual DtReflectedObjectnewReflectedObject (DtHlaObject *obj) const
 Create a new reflected aggregate.

Static Protected Member Functions

static void aggregateUpdatedCallback (DtReflectedExtAggregate *, void *usr)
 If not yet initialized, try to initialized the aggregate on update.
static void aggregateRemovedCallback (DtReflectedExtAggregate *, void *usr)
 Remove entry in myInitializedWithType map.
- Static Protected Member Functions inherited from DtReflectedExtAggregateList
static void dataInteractionCallback (DtDataInteraction *i, void *usr)
static void aggregateAddedCallback (DtReflectedExtAggregate *aggregate, void *userData)
 When an aggregate is added initialize any extended properties (if supported and available) as well as add update callback for object.

Protected Attributes

DtVrfParameterDbmyParameterDb
InitializedTypeMap myInitializedWithType
- Protected Attributes inherited from DtReflectedExtAggregateList
DtRwProperties myStatePropertiesPrototype
DtRwProperties myParameterPropertiesPrototype

Additional Inherited Members

- Static Public Member Functions inherited from DtReflectedExtAggregateList
static void setInitializer (DtExtendedAttributesInitializerPtr init)
 Set the initializer used by all reflected lists of this type.
static
DtExtendedAttributesInitializerPtr 
initializer ()
 Returns the initializer used by all reflected lists of this type.
- Static Protected Attributes inherited from DtReflectedExtAggregateList
static
DtExtendedAttributesInitializerPtr 
theInitializer

Member Typedef Documentation

Constructor & Destructor Documentation

DtReflectedVrfExtAggregateList::DtReflectedVrfExtAggregateList ( DtExerciseConn *  exConn,
DtVrfParameterDb pdb = 0 
)

Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper.

DtReflectedVrfExtAggregateList::DtReflectedVrfExtAggregateList ( DtExerciseConn *  exConn,
bool  smoothCapable,
DtVrfParameterDb pdb = 0 
)
DtReflectedVrfExtAggregateList::DtReflectedVrfExtAggregateList ( DtExerciseConn *  exConn,
const DtDDMRegionSet *  regionSetToUse,
DtVrfParameterDb pdb = 0 
)

Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper.

DtReflectedVrfExtAggregateList::DtReflectedVrfExtAggregateList ( DtExerciseConn *  exConn,
const DtList *  handleList,
const DtDDMRegionSet *  regionSetToUse = 0,
DtVrfParameterDb pdb = 0 
)

Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.

virtual DtReflectedVrfExtAggregateList::~DtReflectedVrfExtAggregateList ( )
virtual

Destructor.

Member Function Documentation

virtual void DtReflectedVrfExtAggregateList::setParameterDatabase ( DtVrfParameterDb pdb)
virtual

Sets the parameter database. Must be called whenever the SMS changes.

virtual DtVrfParameterDb* DtReflectedVrfExtAggregateList::parameterDatabase ( )
virtual

Returns the loaded parameter database.

virtual const DtVrfParameterDb* DtReflectedVrfExtAggregateList::parameterDatabase ( ) const
virtual
virtual void DtReflectedVrfExtAggregateList::aggregateAdded ( DtReflectedExtAggregate )
protectedvirtual

When an aggregate is added initialize any extended properties (if supported and available) as well as add update callback for object.

Reimplemented from DtReflectedExtAggregateList.

static void DtReflectedVrfExtAggregateList::aggregateUpdatedCallback ( DtReflectedExtAggregate ,
void *  usr 
)
staticprotected

If not yet initialized, try to initialized the aggregate on update.

virtual void DtReflectedVrfExtAggregateList::aggregateUpdated ( DtReflectedExtAggregate )
protectedvirtual
static void DtReflectedVrfExtAggregateList::aggregateRemovedCallback ( DtReflectedExtAggregate ,
void *  usr 
)
staticprotected

Remove entry in myInitializedWithType map.

virtual void DtReflectedVrfExtAggregateList::aggregateRemoved ( DtReflectedExtAggregate )
protectedvirtual

Member Data Documentation

DtVrfParameterDb* DtReflectedVrfExtAggregateList::myParameterDb
protected
InitializedTypeMap DtReflectedVrfExtAggregateList::myInitializedWithType
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)