![]() |
VR-Link API Documentation for HLA 1.3
|
class DtDesignatorPublisher: More...
Inheritance diagram for DtDesignatorPublisher:
Collaboration diagram for DtDesignatorPublisher:Public Types | |
| typedef DtDesignatorRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtDesignatorRepositories. | |
Public Member Functions | |
| DtDesignatorPublisher (DtDesignatorRepository *stateRepToUse, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor. | |
| DtDesignatorPublisher (RTI::ObjectClassHandle h, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor. | |
| DtDesignatorPublisher (DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor. | |
| DtDesignatorPublisher (DtHlaObjectWithStateRep *obj, DtExerciseConn *conn) | |
| Constructor that creates a publisher for an existing DtHlaObject. | |
| virtual | ~DtDesignatorPublisher () |
| destructor | |
| virtual DtDesignatorRepository * | designatorStateRep () |
| Returns a pointer to the DtDesignatorRepository - through which you can set or inspect current state information. | |
| virtual DtDesignatorRepository * | dsr () |
| Synonym for designatorStateRep(). | |
| virtual const char * | classToUse () const |
| Returns the name of the FOM object class to use. | |
Static Public Member Functions | |
| static DtStateRepCreator | setStateRepCreator (DtStateRepCreator creator) |
| Give us a function to be used for creating SRs. | |
Protected Member Functions | |
| DtDesignatorPublisher (const DtDesignatorPublisher &orig) | |
| copy constructor -- not implemented | |
| DtDesignatorPublisher & | operator= (const DtDesignatorPublisher &orig) |
| copy constructor -- not implemented | |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
class DtDesignatorPublisher:
Instances of DtDesignatorPublisher are used for local or source simulations of designators, (i.e. these entities are not dependent on data being produced elsewhere on the network for their existence). These designators send data to the network.
Function prototype for functions that create DtDesignatorRepositories.
| DtDesignatorPublisher::DtDesignatorPublisher | ( | DtDesignatorRepository * | stateRepToUse, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| DtDesignatorPublisher::DtDesignatorPublisher | ( | RTI::ObjectClassHandle | h, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| DtDesignatorPublisher::DtDesignatorPublisher | ( | DtExerciseConn * | conn, |
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| DtDesignatorPublisher::DtDesignatorPublisher | ( | 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 DtDesignatorPublisher::~DtDesignatorPublisher | ( | ) | [virtual] |
destructor
| DtDesignatorPublisher::DtDesignatorPublisher | ( | const DtDesignatorPublisher & | orig | ) | [protected] |
copy constructor -- not implemented
| virtual const char* DtDesignatorPublisher::classToUse | ( | ) | const [virtual] |
Returns the name of the FOM object class to use.
Default implementation is to ask the FOM Mapper.
| DtDesignatorRepository * DtDesignatorPublisher::designatorStateRep | ( | ) | [inline, virtual] |
Returns a pointer to the DtDesignatorRepository - through which you can set or inspect current state information.
References DtObjectPublisher::myStateRep.
| DtDesignatorRepository * DtDesignatorPublisher::dsr | ( | ) | [inline, virtual] |
Synonym for designatorStateRep().
References DtObjectPublisher::myStateRep.
| DtDesignatorPublisher& DtDesignatorPublisher::operator= | ( | const DtDesignatorPublisher & | orig | ) | [protected] |
copy constructor -- not implemented
| static DtStateRepCreator DtDesignatorPublisher::setStateRepCreator | ( | DtStateRepCreator | creator | ) | [static] |
Give us a function to be used for creating SRs.
DtStateRepCreator DtDesignatorPublisher::theStateRepCreator [static, protected] |