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 | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
DtReflectedExtAggregateList Class Reference

class DtReflectedExtAggregateList: More...

Inheritance diagram for DtReflectedExtAggregateList:
Inheritance graph
[legend]

Public Member Functions

 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. More...
 
 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. More...
 
 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. More...
 
virtual ~DtReflectedExtAggregateList ()
 Destructor. More...
 
virtual void setPropertyPrototypes (const DtRwProperties &stateProps, const DtRwProperties &paramProps)
 Sets the prototypes for state and parameter properties. More...
 
virtual DtReflectedExtAggregatelookupEA (RTI::ObjectHandle id)
 Look up aggregate by handle. More...
 
virtual DtReflectedExtAggregatelookupEA (const DtGlobalObjectDesignator &objName)
 Look up aggregate by name. More...
 
virtual DtReflectedExtAggregatefirstEA () const
 Get the first aggregate in the list. More...
 
virtual DtReflectedExtAggregatelastEA () const
 Get the last aggregate in the list. More...
 
virtual void addAggregateAdditionCallback (DtExtAggregateCallbackFunction cb, void *userData)
 Aggregate added callback registration. More...
 
virtual void removeAggregateAdditionCallback (DtExtAggregateCallbackFunction cb, void *userData)
 Aggregate added callback deregistration. More...
 
virtual void addAggregateRemovalCallback (DtExtAggregateCallbackFunction cb, void *userData)
 Aggregate removed callback registration. More...
 
virtual void removeAggregateRemovalCallback (DtExtAggregateCallbackFunction cb, void *userData)
 Aggregate removed callback deregistration. More...
 

Static Public Member Functions

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

Protected Member Functions

virtual void processDataInteraction (DtDataInteraction *i)
 
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 aggregateAdded (DtReflectedExtAggregate *)
 
virtual DtReflectedObjectnewReflectedObject (DtHlaObject *obj) const
 Create a new reflected aggregate. More...
 

Static Protected Member Functions

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. More...
 

Protected Attributes

DtRwProperties myStatePropertiesPrototype
 
DtRwProperties myParameterPropertiesPrototype
 

Static Protected Attributes

static
DtExtendedAttributesInitializerPtr 
theInitializer
 

Private Member Functions

 DtReflectedExtAggregateList (const DtReflectedExtAggregateList &orig)
 Not implemented. More...
 
DtReflectedExtAggregateListoperator= (const DtReflectedExtAggregateList &rhs)
 Not implemented. More...
 

Detailed Description

class DtReflectedExtAggregateList:

Instances of DtReflectedExtAggregateList will manage the list of remote aggregates in the exercise and process any extended VRF data that may be published for these objects.

Constructor & Destructor Documentation

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.

If state and parameter property prototypes are specified, calls setPropertyPrototypes. If not, properties will not be decoded until setPropertyPrototypes is called.

DtReflectedExtAggregateList::DtReflectedExtAggregateList ( DtExerciseConn *  exConn,
bool  smoothCapable,
const DtRwProperties stateProps = DtRwProperties::emptyProperties(),
const DtRwProperties paramProps = DtRwProperties::emptyProperties() 
)
DtReflectedExtAggregateList::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.

If state and parameter property prototypes are specified, calls setPropertyPrototypes. If not, properties will not be decoded until setPropertyPrototypes is called.

DtReflectedExtAggregateList::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.

If state and parameter property prototypes are specified, calls setPropertyPrototypes. If not, properties will not be decoded until setPropertyPrototypes is called.

virtual DtReflectedExtAggregateList::~DtReflectedExtAggregateList ( )
virtual

Destructor.

DtReflectedExtAggregateList::DtReflectedExtAggregateList ( const DtReflectedExtAggregateList orig)
private

Not implemented.

Member Function Documentation

virtual void DtReflectedExtAggregateList::setPropertyPrototypes ( const DtRwProperties stateProps,
const DtRwProperties paramProps 
)
virtual

Sets the prototypes for state and parameter properties.

Each reflected object will be initialized with this prototype and will therefore decode the included properties.

virtual DtReflectedExtAggregate* DtReflectedExtAggregateList::lookupEA ( RTI::ObjectHandle  id)
virtual

Look up aggregate by handle.

virtual DtReflectedExtAggregate* DtReflectedExtAggregateList::lookupEA ( const DtGlobalObjectDesignator objName)
virtual

Look up aggregate by name.

virtual DtReflectedExtAggregate* DtReflectedExtAggregateList::firstEA ( ) const
virtual

Get the first aggregate in the list.

virtual DtReflectedExtAggregate* DtReflectedExtAggregateList::lastEA ( ) const
virtual

Get the last aggregate in the list.

virtual void DtReflectedExtAggregateList::addAggregateAdditionCallback ( DtExtAggregateCallbackFunction  cb,
void *  userData 
)
virtual

Aggregate added callback registration.

virtual void DtReflectedExtAggregateList::removeAggregateAdditionCallback ( DtExtAggregateCallbackFunction  cb,
void *  userData 
)
virtual

Aggregate added callback deregistration.

virtual void DtReflectedExtAggregateList::addAggregateRemovalCallback ( DtExtAggregateCallbackFunction  cb,
void *  userData 
)
virtual

Aggregate removed callback registration.

virtual void DtReflectedExtAggregateList::removeAggregateRemovalCallback ( DtExtAggregateCallbackFunction  cb,
void *  userData 
)
virtual

Aggregate removed callback deregistration.

static void DtReflectedExtAggregateList::setInitializer ( DtExtendedAttributesInitializerPtr  init)
static

Set the initializer used by all reflected lists of this type.

static DtExtendedAttributesInitializerPtr DtReflectedExtAggregateList::initializer ( )
static

Returns the initializer used by all reflected lists of this type.

DtReflectedExtAggregateList& DtReflectedExtAggregateList::operator= ( const DtReflectedExtAggregateList rhs)
private

Not implemented.

static void DtReflectedExtAggregateList::dataInteractionCallback ( DtDataInteraction i,
void *  usr 
)
staticprotected
virtual void DtReflectedExtAggregateList::processDataInteraction ( DtDataInteraction i)
protectedvirtual
void DtReflectedExtAggregateList::initializeExtendedProperties ( )
protected

Determines whether or not extended properties available. Called from constructors.

virtual bool DtReflectedExtAggregateList::readyToAdd ( DtReflectedObject obj)
protectedvirtual

Overridden to make sure extended properties are updated before checking if the object is ready to add.

static void DtReflectedExtAggregateList::aggregateAddedCallback ( DtReflectedExtAggregate aggregate,
void *  userData 
)
staticprotected

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

virtual void DtReflectedExtAggregateList::aggregateAdded ( DtReflectedExtAggregate )
protectedvirtual

Reimplemented in DtReflectedVrfExtAggregateList.

virtual DtReflectedObject* DtReflectedExtAggregateList::newReflectedObject ( DtHlaObject *  obj) const
protectedvirtual

Create a new reflected aggregate.

Member Data Documentation

DtRwProperties DtReflectedExtAggregateList::myStatePropertiesPrototype
protected
DtRwProperties DtReflectedExtAggregateList::myParameterPropertiesPrototype
protected
DtExtendedAttributesInitializerPtr DtReflectedExtAggregateList::theInitializer
staticprotected

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)