![]() |
VR-Link API Documentation for HLA 1.3
|
Instances of DtAggregatePublisher are used for local or source simulations of aggregate entities, (i.e. More...
Inheritance diagram for DtAggregatePublisher:
Collaboration diagram for DtAggregatePublisher:Public Types | |
| typedef DtAggregateStateRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtAggregateStateRepositories. | |
Public Member Functions | |
| DtAggregatePublisher (DtAggregateStateRepository *stateRepToUse, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor -- stateRepToUse must have a valid entityType. | |
| DtAggregatePublisher (RTI::ObjectClassHandle h, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor. | |
| DtAggregatePublisher (const DtEntityType &type, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor. | |
| DtAggregatePublisher (const DtEntityType &type, DtExerciseConn *conn, DtDeadReckonTypes algorithm, DtForceType forceId, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor. | |
| DtAggregatePublisher (DtHlaObjectWithStateRep *obj, DtExerciseConn *conn) | |
| Constructor that creates a publisher for an existing DtHlaObject. | |
| virtual | ~DtAggregatePublisher () |
| destructor | |
| virtual DtAggregateStateRepository * | aggregateStateRep () |
| Returns a pointer to the AggregateStateRepository - through which you can set or inspect current state information. | |
| virtual DtAggregateStateRepository * | asr () |
| Synonym for aggregateStateRep(). | |
| virtual void | tick () |
| Tick (update) this object. | |
Static Public Member Functions | |
| static DtStateRepCreator | setStateRepCreator (DtStateRepCreator creator) |
| Give us a function to be used for creating SRs. | |
Protected Member Functions | |
| void | createGeographicRegion (DtExerciseConn *conn) |
| Creates the publishers region. | |
| DtAggregatePublisher (const DtAggregatePublisher &orig) | |
| copy constructor - not implemented. | |
| DtAggregatePublisher & | operator= (const DtAggregatePublisher &orig) |
| assignment operator - not implemented. | |
| const char * | objectClassNameFromType (const DtEntityType &type) |
| Non-virtual, since called from constructor. | |
Protected Attributes | |
| DtBoost::shared_ptr < DtGeodeticRegion > | myGeodeticPublishingRegion |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
Instances of DtAggregatePublisher are used for local or source simulations of aggregate entities, (i.e.
these entities are not dependent on data being produced elsewhere on the network for their existence). These entities send data to the network.
Function prototype for functions that create DtAggregateStateRepositories.
| DtAggregatePublisher::DtAggregatePublisher | ( | DtAggregateStateRepository * | stateRepToUse, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor -- stateRepToUse must have a valid entityType.
| DtAggregatePublisher::DtAggregatePublisher | ( | RTI::ObjectClassHandle | h, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| DtAggregatePublisher::DtAggregatePublisher | ( | const DtEntityType & | type, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| DtAggregatePublisher::DtAggregatePublisher | ( | const DtEntityType & | type, |
| DtExerciseConn * | conn, | ||
| DtDeadReckonTypes | algorithm, | ||
| DtForceType | forceId, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| DtAggregatePublisher::DtAggregatePublisher | ( | DtHlaObjectWithStateRep * | obj, |
| DtExerciseConn * | conn | ||
| ) |
Constructor that creates a publisher for an existing DtHlaObject.
(DtHlaObjectWithStateRep is derived from DtHlaObject.) Typically used in conjunction with ownership management, when you want to take ownership and begin updating some attributes of an object that you have already discovered.
| virtual DtAggregatePublisher::~DtAggregatePublisher | ( | ) | [virtual] |
destructor
| DtAggregatePublisher::DtAggregatePublisher | ( | const DtAggregatePublisher & | orig | ) | [protected] |
copy constructor - not implemented.
| DtAggregateStateRepository * DtAggregatePublisher::aggregateStateRep | ( | ) | [inline, virtual] |
Returns a pointer to the AggregateStateRepository - through which you can set or inspect current state information.
References DtObjectPublisher::myStateRep.
| DtAggregateStateRepository * DtAggregatePublisher::asr | ( | ) | [inline, virtual] |
Synonym for aggregateStateRep().
References DtObjectPublisher::myStateRep.
| void DtAggregatePublisher::createGeographicRegion | ( | DtExerciseConn * | conn | ) | [protected] |
Creates the publishers region.
Not virtual, since it is called from the constructor.
| DtException | if the region cannot be created |
| const char* DtAggregatePublisher::objectClassNameFromType | ( | const DtEntityType & | type | ) | [protected] |
Non-virtual, since called from constructor.
If you don't like the default mapping between entity type and object class, just pass the object class you want to the constructor.
| DtAggregatePublisher& DtAggregatePublisher::operator= | ( | const DtAggregatePublisher & | orig | ) | [protected] |
assignment operator - not implemented.
| static DtStateRepCreator DtAggregatePublisher::setStateRepCreator | ( | DtStateRepCreator | creator | ) | [static] |
Give us a function to be used for creating SRs.
| virtual void DtAggregatePublisher::tick | ( | ) | [virtual] |
Tick (update) this object.
Reimplemented from DtObjectPublisher.
DtBoost::shared_ptr<DtGeodeticRegion> DtAggregatePublisher::myGeodeticPublishingRegion [protected] |
DtStateRepCreator DtAggregatePublisher::theStateRepCreator [static, protected] |