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=DtGlobalObjectDesignator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::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 (DtEnvironmentProcessRepository *sr, DtExerciseConn *conn, const DtObjectType &type, const DtGlobalObjectDesignator &id=DtGlobalObjectDesignator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId()) |
| | DtControlObjectPublisher (DtExerciseConn *conn, const DtObjectType &type, const DtDDMRegionSet *regionSetToUse, const DtGlobalObjectDesignator &id=DtVrfObjectIdGenerator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId()) |
| | DtControlObjectPublisher (DtEnvironmentProcessRepository *sr, DtExerciseConn *conn, const DtObjectType &type, const DtDDMRegionSet *regionSetToUse, const DtGlobalObjectDesignator &id=DtVrfObjectIdGenerator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::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().
|
| virtual DtCtrlPublisherDecoder * | decoder () |
| | Returns a pointer to the Decoder being used to decode PDUs that we send back into the asSeenByRemote ESR.
|
| virtual DtCtrlPublisherEncoder * | encoder () |
| | Returns a pointer to the Encoder being used to encode current state into an entity state PDU.
|
|
| virtual void | setExtendedData (const DtString &key, const DtString &value) |
| virtual void | clearExtendedData () |
| virtual void | removeExtendedData (const DtString &key) |
| virtual DtString | extendedData (const DtString &key) const |
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 = DtGlobalObjectDesignator::nullId(), |
|
|
const DtEntityIdentifier & |
entId = DtEntityIdentifier::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