![]() |
VR-Link API Documentation for HLA 1.3
|
class DtPointObjectPublisher: More...
Inheritance diagram for DtPointObjectPublisher:
Collaboration diagram for DtPointObjectPublisher:Public Types | |
| typedef DtPointObjectRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtEnvironmentObjectRepositories. | |
Public Member Functions | |
| DtPointObjectPublisher (DtPointObjectRepository *stateRepToUse, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor -- state rep must contain objectType. | |
| DtPointObjectPublisher (RTI::ObjectClassHandle h, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor. | |
| DtPointObjectPublisher (const DtSyntheticEnvironmentObjectType &type, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor. | |
| virtual | ~DtPointObjectPublisher () |
| destructor | |
| virtual DtPointObjectRepository * | pointObjectStateRep () |
| Returns a pointer to the DtPointObjectRepository - through which you can set or inspect current state information. | |
| virtual DtPointObjectRepository * | posr () |
| Synonym for pointObjectStateRep(). | |
Static Public Member Functions | |
| static DtStateRepCreator | setStateRepCreator (DtStateRepCreator creator) |
| Give us a function to be used for creating SRs. | |
Protected Member Functions | |
| DtPointObjectPublisher (const DtPointObjectPublisher &orig) | |
| copy constructor -- not implemented | |
| DtPointObjectPublisher & | operator= (const DtPointObjectPublisher &orig) |
| copy constructor -- not implemented | |
| const char * | objectClassNameFromType (const DtSyntheticEnvironmentObjectType &type) |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
class DtPointObjectPublisher:
Instances of DtPointObjectPublisher are used for local or source simulations of point objects. The type of point object published depends on the object type Object Type: BreachablePointObject -- Domain = 1 (land), Kind = 1 (obstacle) or 2 (prepared position), Category = 1 or 2 BurstPointObject -- Domain = 0 (other), Kind = 5 (tactical smoke), Category = 1 or 2 CraterObject -- Domain = 1 (land), Kind = 1 (obstacle), Category = 3 RibbonBridgeObject -- Domain = 1 (land), Kind = 4 (passageway), Category = 3 StructureObject -- Domain = 1 (land), Kind = 3 (cult. feature) or 4 (passageway), Category = 1 or 2 Object types not specified will be published as OtherPointObjects
Function prototype for functions that create DtEnvironmentObjectRepositories.
| DtPointObjectPublisher::DtPointObjectPublisher | ( | DtPointObjectRepository * | stateRepToUse, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor -- state rep must contain objectType.
| DtPointObjectPublisher::DtPointObjectPublisher | ( | RTI::ObjectClassHandle | h, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| DtPointObjectPublisher::DtPointObjectPublisher | ( | const DtSyntheticEnvironmentObjectType & | type, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| virtual DtPointObjectPublisher::~DtPointObjectPublisher | ( | ) | [virtual] |
destructor
| DtPointObjectPublisher::DtPointObjectPublisher | ( | const DtPointObjectPublisher & | orig | ) | [protected] |
copy constructor -- not implemented
| const char* DtPointObjectPublisher::objectClassNameFromType | ( | const DtSyntheticEnvironmentObjectType & | type | ) | [protected] |
| DtPointObjectPublisher& DtPointObjectPublisher::operator= | ( | const DtPointObjectPublisher & | orig | ) | [protected] |
copy constructor -- not implemented
| DtPointObjectRepository * DtPointObjectPublisher::pointObjectStateRep | ( | ) | [inline, virtual] |
Returns a pointer to the DtPointObjectRepository - through which you can set or inspect current state information.
References DtObjectPublisher::myStateRep.
| DtPointObjectRepository * DtPointObjectPublisher::posr | ( | ) | [inline, virtual] |
Synonym for pointObjectStateRep().
References DtObjectPublisher::myStateRep.
| static DtStateRepCreator DtPointObjectPublisher::setStateRepCreator | ( | DtStateRepCreator | creator | ) | [static] |
Give us a function to be used for creating SRs.
DtStateRepCreator DtPointObjectPublisher::theStateRepCreator [static, protected] |