VR-Forces 4.8 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
DtReflectedVrfControlObjectList Class Reference
Inheritance diagram for DtReflectedVrfControlObjectList:
Inheritance graph
[legend]

Public Member Functions

 DtReflectedVrfControlObjectList (DtExerciseConn *exConn, DtVrfParameterDb *pdb=0)
 Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper. More...
 
 DtReflectedVrfControlObjectList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse, DtVrfParameterDb *pdb=0)
 Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper. More...
 
 DtReflectedVrfControlObjectList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, DtVrfParameterDb *pdb=0)
 Constructor - only subscribe to the RTI::ObjectClassHandles in handleList. More...
 
virtual ~DtReflectedVrfControlObjectList ()
 Destructor. More...
 
virtual void setParameterDatabase (DtVrfParameterDb *pdb)
 Sets the parameter database. Must be called whenever the SMS changes. More...
 
virtual DtVrfParameterDbparameterDatabase ()
 Returns the loaded parameter database. More...
 
virtual const DtVrfParameterDbparameterDatabase () const
 
- Public Member Functions inherited from DtReflectedControlObjectList
 DtReflectedControlObjectList (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. More...
 
 DtReflectedControlObjectList (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. More...
 
 DtReflectedControlObjectList (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. More...
 
virtual ~DtReflectedControlObjectList ()
 Destructor. More...
 
virtual void setPropertyPrototypes (const DtRwProperties &stateProps, const DtRwProperties &paramProps)
 Sets the prototypes for state and parameter properties. More...
 
virtual DtReflectedControlObjectlookupCO (RTI::ObjectHandle id)
 Look up environmental process by handle. More...
 
virtual DtReflectedControlObjectfirstCO () const
 Get the first/last environmental process in the list. More...
 
virtual DtReflectedControlObjectlastCO () const
 
virtual DtReflectedControlObjectlookupCO (const DtGlobalObjectDesignator &designator)
 Look up an environmental process object by DtGlobalObjectDesignator. More...
 
virtual void addControlObjectAdditionCallback (DtControlObjectCallbackFunction cb, void *userData)
 Environmental process added callback registration. More...
 
virtual void removeControlObjectAdditionCallback (DtControlObjectCallbackFunction cb, void *userData)
 Environmental process added callback deregistration. More...
 
virtual void addControlObjectRemovalCallback (DtControlObjectCallbackFunction cb, void *userData)
 Environmental process removed callback registration. More...
 
virtual void removeControlObjectRemovalCallback (DtControlObjectCallbackFunction cb, void *userData)
 Environmental process removed callback deregistration. More...
 

Protected Types

typedef std::map
< DtReflectedControlObject
*, DtObjectType
InitializedTypeMap
 

Protected Member Functions

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

Static Protected Member Functions

static void controlObjectUpdatedCallback (DtReflectedControlObject *, void *usr)
 If not yet initialized, try to initialized the control object on update. More...
 
static void controlObjectRemovedCallback (DtReflectedControlObject *, void *usr)
 Remove entry in myInitializedWithType map. More...
 
- Static Protected Member Functions inherited from DtReflectedControlObjectList
static void dataInteractionCallback (DtDataInteraction *i, void *usr)
 
static void controlObjectAddedCallback (DtReflectedControlObject *controlObject, void *userData)
 When an control object is added initialize any extended properties (if supported and available) as well as add update callback for object. More...
 

Protected Attributes

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

Additional Inherited Members

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

Member Typedef Documentation

Constructor & Destructor Documentation

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

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

DtReflectedVrfControlObjectList::DtReflectedVrfControlObjectList ( DtExerciseConn *  exConn,
const DtDDMRegionSet *  regionSetToUse,
DtVrfParameterDb pdb = 0 
)

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

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

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

virtual DtReflectedVrfControlObjectList::~DtReflectedVrfControlObjectList ( )
virtual

Destructor.

Member Function Documentation

virtual void DtReflectedVrfControlObjectList::setParameterDatabase ( DtVrfParameterDb pdb)
virtual

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

virtual DtVrfParameterDb* DtReflectedVrfControlObjectList::parameterDatabase ( )
virtual

Returns the loaded parameter database.

virtual const DtVrfParameterDb* DtReflectedVrfControlObjectList::parameterDatabase ( ) const
virtual
virtual void DtReflectedVrfControlObjectList::controlObjectAdded ( DtReflectedControlObject )
protectedvirtual

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

Reimplemented from DtReflectedControlObjectList.

static void DtReflectedVrfControlObjectList::controlObjectUpdatedCallback ( DtReflectedControlObject ,
void *  usr 
)
staticprotected

If not yet initialized, try to initialized the control object on update.

virtual void DtReflectedVrfControlObjectList::controlObjectUpdated ( DtReflectedControlObject )
protectedvirtual
static void DtReflectedVrfControlObjectList::controlObjectRemovedCallback ( DtReflectedControlObject ,
void *  usr 
)
staticprotected

Remove entry in myInitializedWithType map.

virtual void DtReflectedVrfControlObjectList::controlObjectRemoved ( DtReflectedControlObject )
protectedvirtual

Member Data Documentation

DtVrfParameterDb* DtReflectedVrfControlObjectList::myParameterDb
protected
InitializedTypeMap DtReflectedVrfControlObjectList::myInitializedWithType
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)