![]() |
VR-Link API Documentation for HLA 1.3
|
class DtIffPublisher: More...
Inheritance diagram for DtIffPublisher:
Collaboration diagram for DtIffPublisher:Public Types | |
| typedef DtIffStateRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtEntityStateRepositories. | |
Public Member Functions | |
| DtIffPublisher (DtIffStateRepository *stateRepToUse, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor -- State Rep Must have the NavaidsSysType set. | |
| DtIffPublisher (RTI::ObjectClassHandle h, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor. | |
| DtIffPublisher (DtIffAtcNavaidsSysType type, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor. | |
| DtIffPublisher (DtHlaObjectWithStateRep *obj, DtExerciseConn *conn) | |
| Constructor that creates a publisher for an existing DtHlaObject. | |
| virtual | ~DtIffPublisher () |
| destructor | |
| virtual DtIffStateRepository * | iffStateRep () |
| Returns a pointer to the IffStateRepository - through which you can set current state information. | |
| virtual DtIffStateRepository * | isr () |
| Synonym for iffStateRep() | |
Static Public Member Functions | |
| static DtStateRepCreator | setStateRepCreator (DtStateRepCreator creator) |
| Give us a function to be used for creating SRs. | |
Protected Member Functions | |
| DtIffPublisher (const DtIffPublisher &orig) | |
| copy constructor -- not implemented | |
| DtIffPublisher & | operator= (const DtIffPublisher &orig) |
| assignment operator -- not implemented | |
| const char * | objectClassNameFromType (DtIffAtcNavaidsSysType type) |
| Non-virtual since called from constructor. | |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
class DtIffPublisher:
Instances of IffPublisher are used for local or source simulations of "Iff" objects. The publisher sends data to the network when necessary. This class is derived from DtObjectPublisher, which does most of the work. The derived class mostly exists to provide type safety, and to configure the base object.
| typedef DtIffStateRepository*(* DtIffPublisher::DtStateRepCreator)() |
Function prototype for functions that create DtEntityStateRepositories.
| DtIffPublisher::DtIffPublisher | ( | DtIffStateRepository * | stateRepToUse, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor -- State Rep Must have the NavaidsSysType set.
| DtIffPublisher::DtIffPublisher | ( | RTI::ObjectClassHandle | h, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| DtIffPublisher::DtIffPublisher | ( | DtIffAtcNavaidsSysType | type, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| DtIffPublisher::DtIffPublisher | ( | 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 DtIffPublisher::~DtIffPublisher | ( | ) | [virtual] |
destructor
| DtIffPublisher::DtIffPublisher | ( | const DtIffPublisher & | orig | ) | [protected] |
copy constructor -- not implemented
| DtIffStateRepository * DtIffPublisher::iffStateRep | ( | ) | [inline, virtual] |
Returns a pointer to the IffStateRepository - through which you can set current state information.
References DtObjectPublisher::myStateRep.
| DtIffStateRepository * DtIffPublisher::isr | ( | ) | [inline, virtual] |
Synonym for iffStateRep()
References DtObjectPublisher::myStateRep.
| const char* DtIffPublisher::objectClassNameFromType | ( | DtIffAtcNavaidsSysType | 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 handle you want to the constructor.
| DtIffPublisher& DtIffPublisher::operator= | ( | const DtIffPublisher & | orig | ) | [protected] |
assignment operator -- not implemented
| static DtStateRepCreator DtIffPublisher::setStateRepCreator | ( | DtStateRepCreator | creator | ) | [static] |
Give us a function to be used for creating SRs.
DtStateRepCreator DtIffPublisher::theStateRepCreator [static, protected] |