![]() |
VR-Forces 4.0.4 Class Documentation
|
This class will wrap a VR-Link DtEnvironmentalProcessPublisher to allow for easier creation of a publisher that is compatible with VR-Forces. More...

Public Member Functions | |
| DtControlObjectPublisher (DtExerciseConn *conn, const DtObjectType &type, const DtGlobalObjectDesignator &id=DtVrfObjectIdGenerator::nullId()) | |
| Create a new instance of the control object publisher which will, in turn, create the environmental process publisher, given a object id (DIS) or name (HLA). | |
| DtControlObjectPublisher (DtExerciseConn *conn, const DtObjectType &type, const DtDDMRegionSet *regionSetToUse, const DtGlobalObjectDesignator &id=DtVrfObjectIdGenerator::nullId()) | |
| virtual | ~DtControlObjectPublisher () |
| Also destroys publisher. | |
| virtual void | tick () |
| Class method taken from publisher class for environmentals at VR-Link level. | |
| virtual DtControlObjectRepository * | cosr () |
| Synonym for environmentProcessStateRep(). | |
Static Public Member Functions | |
| static DtGlobalObjectDesignator | nextId (DtExerciseConn *) |
Private Member Functions | |
| DtControlObjectPublisher (const DtControlObjectPublisher &) | |
| Unimplemented. | |
| DtControlObjectPublisher & | operator= (const DtControlObjectPublisher &) |
This class will wrap a VR-Link DtEnvironmentalProcessPublisher to allow for easier creation of a publisher that is compatible with VR-Forces.
If you want to create and publish environmental objects that can be used by VR-Forces, you can use a publisher of this class to facilitate in that creation
| DtControlObjectPublisher::DtControlObjectPublisher | ( | DtExerciseConn * | conn, |
| const DtObjectType & | type, | ||
| const DtGlobalObjectDesignator & | id = DtVrfObjectIdGenerator::nullId() |
||
| ) |
Create a new instance of the control object publisher which will, in turn, create the environmental process publisher, given a object id (DIS) or name (HLA).
This class will use the default factory as supplied in the DtVrfObjectIdGenerator class
The state repository will initially be set to the DtControlObjectRepository class. You can change it in the global DtControlObjectPublisher class before calling this creator
| DtControlObjectPublisher::DtControlObjectPublisher | ( | DtExerciseConn * | conn, |
| const DtObjectType & | type, | ||
| const DtDDMRegionSet * | regionSetToUse, | ||
| const DtGlobalObjectDesignator & | id = DtVrfObjectIdGenerator::nullId() |
||
| ) |
| virtual DtControlObjectPublisher::~DtControlObjectPublisher | ( | ) | [virtual] |
Also destroys publisher.
| DtControlObjectPublisher::DtControlObjectPublisher | ( | const DtControlObjectPublisher & | ) | [private] |
Unimplemented.
| static DtGlobalObjectDesignator DtControlObjectPublisher::nextId | ( | DtExerciseConn * | ) | [static] |
| virtual void DtControlObjectPublisher::tick | ( | ) | [virtual] |
Class method taken from publisher class for environmentals at VR-Link level.
This will simply call down to the publisher to handle the method This function should be called once per frame for each environment process object. It determines if any data needs to be sent to the other exercise participants, and sends that data.
| virtual DtControlObjectRepository* DtControlObjectPublisher::cosr | ( | ) | [virtual] |
Synonym for environmentProcessStateRep().
| DtControlObjectPublisher& DtControlObjectPublisher::operator= | ( | const DtControlObjectPublisher & | ) | [private] |