VR-Forces Developer's Guide
 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:

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.

Inheritance diagram for DtReflectedExtAggregateList:
Inheritance graph
[legend]

Public Member Functions

 DtReflectedExtAggregateList (DtExerciseConn *exConn, const DtRwProperties &stateProps=DtRwProperties::emptyProperties(), const DtRwProperties &paramProps=DtRwProperties::emptyProperties())
 
 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())
 
 DtReflectedExtAggregateList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtRwProperties &stateProps=DtRwProperties::emptyProperties(), const DtRwProperties &paramProps=DtRwProperties::emptyProperties())
 
virtual ~DtReflectedExtAggregateList ()
 
virtual void setPropertyPrototypes (const DtRwProperties &stateProps, const DtRwProperties &paramProps)
 
virtual DtReflectedExtAggregatelookupEA (RTI::ObjectHandle id)
 
virtual DtReflectedExtAggregatelookupEA (const DtGlobalObjectDesignator &objName)
 
virtual DtReflectedExtAggregatefirstEA () const
 
virtual DtReflectedExtAggregatelastEA () const
 
virtual void addAggregateAdditionCallback (DtExtAggregateCallbackFunction cb, void *userData)
 
virtual void removeAggregateAdditionCallback (DtExtAggregateCallbackFunction cb, void *userData)
 
virtual void addAggregateRemovalCallback (DtExtAggregateCallbackFunction cb, void *userData)
 
virtual void removeAggregateRemovalCallback (DtExtAggregateCallbackFunction cb, void *userData)
 

Static Public Member Functions

static void setInitializer (DtExtendedAttributesInitializerPtr init)
 
static
DtExtendedAttributesInitializerPtr 
initializer ()
 

Protected Member Functions

virtual void processDataInteraction (DtDataInteraction *i)
 
void initializeExtendedProperties ()
 
virtual bool readyToAdd (DtReflectedObject *obj)
 
virtual void aggregateAdded (DtReflectedExtAggregate *)
 
virtual DtReflectedObjectnewReflectedObject (DtHlaObject *obj) const
 

Static Protected Member Functions

static void dataInteractionCallback (DtDataInteraction *i, void *usr)
 
static void aggregateAddedCallback (DtReflectedExtAggregate *aggregate, void *userData)
 

Protected Attributes

DtRwProperties myStatePropertiesPrototype
 
DtRwProperties myParameterPropertiesPrototype
 

Static Protected Attributes

static
DtExtendedAttributesInitializerPtr 
theInitializer
 

Private Member Functions

 DtReflectedExtAggregateList (const DtReflectedExtAggregateList &orig)
 
DtReflectedExtAggregateListoperator= (const DtReflectedExtAggregateList &rhs)
 

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 Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)