![]() |
VR-Link API Documentation for HLA 1.3
|
class DtLinearObjectPublisher: More...
Inheritance diagram for DtLinearObjectPublisher:
Collaboration diagram for DtLinearObjectPublisher:Public Types | |
| typedef DtLinearObjectRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtLinearObjectRepositories. | |
Public Member Functions | |
| DtLinearObjectPublisher (DtLinearObjectRepository *stateRepToUse, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor -- state rep must contain objectType. | |
| DtLinearObjectPublisher (RTI::ObjectClassHandle h, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor. | |
| DtLinearObjectPublisher (const DtSyntheticEnvironmentObjectType &type, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| Constructor. | |
| virtual | ~DtLinearObjectPublisher () |
| destructor | |
| virtual DtLinearObjectRepository * | linearObjectStateRep () |
| Returns a pointer to the DtLinearObjectRepository - through which you can set or inspect current state information. | |
| virtual DtLinearObjectRepository * | losr () |
| Synonym for linearObjectStateRep(). | |
Static Public Member Functions | |
| static DtStateRepCreator | setStateRepCreator (DtStateRepCreator creator) |
| Give us a function to be used for creating SRs. | |
Protected Member Functions | |
| DtLinearObjectPublisher (const DtLinearObjectPublisher &orig) | |
| copy constructor -- not implemented | |
| DtLinearObjectPublisher & | operator= (const DtLinearObjectPublisher &orig) |
| copy constructor -- not implemented | |
| const char * | objectClassNameFromType (const DtSyntheticEnvironmentObjectType &type) |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
class DtLinearObjectPublisher:
Instances of DtLinearObjectPublisher are used for local or source simulations of linear objects. The type of Linear Object published depends on the object type Object type: Exhaust Smoke -- Domain = 0 (other), Kind = 5 (tactical smoke) Category = 1 Minefield Lane Marker -- Domain = 1 (land), Kind = 6 (obstacle), Category = 1 Breach Object -- Domain = 1 (land), Kind = 7 (obstacle breach), Category = 1 Breachable Linear Object -- Couldn't figure out Object type... currently not implemented in the mapper Any object types not specified will be published as OtherLinearObjects
Function prototype for functions that create DtLinearObjectRepositories.
| DtLinearObjectPublisher::DtLinearObjectPublisher | ( | DtLinearObjectRepository * | stateRepToUse, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor -- state rep must contain objectType.
| DtLinearObjectPublisher::DtLinearObjectPublisher | ( | RTI::ObjectClassHandle | h, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| DtLinearObjectPublisher::DtLinearObjectPublisher | ( | const DtSyntheticEnvironmentObjectType & | type, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor.
| virtual DtLinearObjectPublisher::~DtLinearObjectPublisher | ( | ) | [virtual] |
destructor
| DtLinearObjectPublisher::DtLinearObjectPublisher | ( | const DtLinearObjectPublisher & | orig | ) | [protected] |
copy constructor -- not implemented
| DtLinearObjectRepository * DtLinearObjectPublisher::linearObjectStateRep | ( | ) | [inline, virtual] |
Returns a pointer to the DtLinearObjectRepository - through which you can set or inspect current state information.
References DtObjectPublisher::myStateRep.
| DtLinearObjectRepository * DtLinearObjectPublisher::losr | ( | ) | [inline, virtual] |
Synonym for linearObjectStateRep().
References DtObjectPublisher::myStateRep.
| const char* DtLinearObjectPublisher::objectClassNameFromType | ( | const DtSyntheticEnvironmentObjectType & | type | ) | [protected] |
| DtLinearObjectPublisher& DtLinearObjectPublisher::operator= | ( | const DtLinearObjectPublisher & | orig | ) | [protected] |
copy constructor -- not implemented
| static DtStateRepCreator DtLinearObjectPublisher::setStateRepCreator | ( | DtStateRepCreator | creator | ) | [static] |
Give us a function to be used for creating SRs.
DtStateRepCreator DtLinearObjectPublisher::theStateRepCreator [static, protected] |