Public Member Functions |
| | DtLinearObjectTransaction () |
| virtual | ~DtLinearObjectTransaction () |
| | DtLinearObjectTransaction (const DtLinearObjectTransaction &orig) |
| DtLinearObjectTransaction & | operator= (const DtLinearObjectTransaction &orig) |
| virtual void | printData () const |
| | Print the interaction's data to DtInfo.
|
| virtual void | printDataToStream (std::ostream &stream) const |
| | Print the interaction's data to the specified stream.
|
| virtual bool | setNumOfBreachLinearSegments (int newNumber) |
| | Set/Get the number of BreachableLinearObject Segment Records.
|
| virtual int | numOfBreachLinearSegments () const |
| virtual bool | setBreachLinearSegment (int index, const DtBreachableSegmentRecord &record) |
| virtual bool | breachLinearSegment (int index, DtBreachableSegmentRecord &record) const |
| virtual bool | setNumOfBreachObjectSegments (int newNumber) |
| | Set/Get the number of BreachObject Segment Records.
|
| virtual int | numOfBreachObjectSegments () const |
| virtual bool | setBreachObjectSegment (int index, const DtLinearSegmentRecord &record) |
| virtual bool | breachObjectSegment (int index, DtLinearSegmentRecord &record) const |
| virtual bool | setNumOfExhaustSmokeSegments (int newNumber) |
| | Set/Get the number of ExhaustSmokeObject Segment Records.
|
| virtual int | numOfExhaustSmokeSegments () const |
| virtual bool | setExhaustSmokeSegment (int index, const DtExhaustSmokeRecord &record) |
| virtual bool | exhaustSmokeSegment (int index, DtExhaustSmokeRecord &record) const |
| virtual bool | setNumOfMinefldLaneMarkSegments (int newNumber) |
| | Set/Get the number of MinefieldLaneMarker Segment Records.
|
| virtual int | numOfMinefldLaneMarkSegments () const |
| virtual bool | setMinefldLaneMarkSegment (int index, const DtMinefieldLaneMarkerRecord &record) |
| virtual bool | minefldLaneMarkSegment (int index, DtMinefieldLaneMarkerRecord &record) const |
| virtual const char * | name () const |
| | Name of the interaction. (Not necessarily the ClassName from the FOM.)
|
| | DtEnvironmentObjectTransaction () |
| | default constructor
|
| virtual | ~DtEnvironmentObjectTransaction () |
| | destructor
|
| | DtEnvironmentObjectTransaction (const DtEnvironmentObjectTransaction &orig) |
| | copy constructor
|
| DtEnvironmentObjectTransaction & | operator= (const DtEnvironmentObjectTransaction &orig) |
| | assignment operator
|
| virtual void | setObjectId (const DtEntityIdentifier &identifier) |
| | Set/Get Environment Object ID.
|
| virtual const DtEntityIdentifier & | objectId () const |
| virtual void | setReferencedObjectId (const DtGlobalObjectDesignator &rtiObject) |
| | Set/Get Referenced Object ID.
|
virtual const
DtGlobalObjectDesignator & | referencedObjectId () const |
| virtual void | setForceId (const DtForceType value) |
| | Set/Get Force ID.
|
| virtual DtForceType | forceId () const |
| virtual void | setObjectType (const DtSyntheticEnvironmentObjectType &type) |
| | Set/Get Object Type.
|
virtual const
DtSyntheticEnvironmentObjectType & | objectType () const |
| virtual void | setRequestingId (const DtSimulationAddress &id) |
| | Set/Get Requesting ID.
|
| virtual const DtSimulationAddress & | requestingId () const |
| virtual void | setReceivingId (const DtSimulationAddress &id) |
| | Set/Get Receiving ID.
|
| virtual const DtSimulationAddress & | receivingId () const |
| | DtInteractionWithEncDec () |
| | default constructor
|
| virtual | ~DtInteractionWithEncDec () |
| | destructor
|
| | DtInteractionWithEncDec (const DtInteractionWithEncDec &orig) |
| | copy constructor
|
| DtInteractionWithEncDec & | operator= (const DtInteractionWithEncDec &orig) |
| | assignment operator
|
| virtual void | setExConn (DtExerciseConn *exConn, DtInterClassDesc *classDesc=NULL) |
| | Sets the interaction's ExerciseConn and class descriptor.
|
virtual const
RTI::ParameterHandleValueMap & | phvm () const |
| | Get the parameter handle value pair set for the interaction.
|
| virtual void | setFromPhvm (const RTI::ParameterHandleValueMap &pvList) |
| | Set contents from a parameter handle value pair set.
|
| virtual void | useThese (DtInteractionEncoder *enc, DtInteractionDecoder *dec, DtInteractionRep *data) |
| | Specify an encoder, decoder, and interaction data repository to use in encoding and decoding.
|
| virtual DtInteractionEncoder * | encoder () const |
| | Return the encoder we are using.
|
| virtual DtInteractionDecoder * | decoder () const |
| | Return the decoder we are using.
|
| virtual void | setParameterByHandle (const RTI::ParameterHandle &attrHdl, const char *attrValue, unsigned size) |
| | Set the Parameter with the given handle.
|
| virtual const char * | getParameterByHandle (const RTI::ParameterHandle &attrHdl, unsigned &size) const |
| | Get a pointer to Parameter value for the Parameter with the given handle.
|
| virtual void | setParameterByName (const DtString &name, const char *attrValue, unsigned size) |
| | Set the Parameter with the given name.
|
| virtual const char * | getParameterByName (const DtString &name, unsigned &size) const |
| | Get a pointer to Parameter value for the Parameter with the given name.
|
| | DtInteraction () |
| | default constructor
|
| virtual | ~DtInteraction () |
| | destructor
|
| | DtInteraction (const DtInteraction &orig) |
| | copy constructor
|
| DtInteraction & | operator= (const DtInteraction &orig) |
| | assignment operator
|
| virtual RTI::InteractionClassHandle | interactionClassHandle () const |
| | Get the interaction class handle. Returns 0 if no classDesc.
|
| virtual char * | interactionClassName () const |
| | Get the interaction class name. Returns NULL if no classDesc.
|
| virtual int | numParameters () const |
| | Get the number of parameters. Returns 0 if no classDesc.
|
| virtual bool | neededByFederation () const |
| | Returns true if the interaction class is needed by the federation false otherwise.
|
| virtual void | print () const |
| | Print the interaction's host rep data, including header.
|
| virtual void | printToStream (std::ostream &stream) const |
| | Print the interaction to a stream.
|
| virtual void | printHeader () const |
| | Print the header info.
|
| virtual void | printHeaderToStream (std::ostream &stream) const |
| | Print the header info to a stream.
|
| virtual void | printDataToString (DtString &buff) const |
| | Print the interaction's data to the string provided.
|
| virtual void | printParams (bool withHex) const |
| | Print the header followed by the interaction's parameters.
|
| virtual void | printParamsToStream (std::ostream &stream, bool withHex) const |
| | Print the header followed by the interaction's parameters to a stream.
|
| virtual DtExerciseConn * | exerciseConn () const |
| | Get the current exercise connection.
|
| virtual DtInterClassDesc * | classDesc () const |
| | Get the current class descriptor we're using for this interaction.
|
| virtual bool | customTagSet () const |
| | Get whether a custom tag has been set on the interaction or not.
|
| virtual void | setCustomTag (const RTI::VariableLengthData &a_tag) |
| | Set the user-defined tag.
|
| virtual void | setTag (const RTI::VariableLengthData &tag) |
| | Set the user-defined tag.
|
virtual const
RTI::VariableLengthData & | tag () const |
| | Get the user-defined tag.
|
virtual const
RTI::RegionHandleSet * | conveyedRegion () const |
| | Get & Set the conveyed region of the reflected state message.
|
| virtual void | setConveyedRegion (const RTI::RegionHandleSet *sentRegionHandleSet) |
| virtual void | setTimeStamp (DtTime time, DtTimeStampType type=DtTimeStampRelative) |
| | Set the time of validity of the message, and whether this represents relative or absolute time.
|
| virtual DtTime | timeStamp () const |
| | Return the time of validity of the message (in seconds past an hour) as set by setTimeStamp.
|
| virtual DtTimeStampType | timeStampType () const |
| | Return the type of the time stamp.
|
| virtual DtTime | guessTimeValid (DtTime referenceTime) const |
| | Since timestamp only represents number of seconds past the hour, guessTimeValid chooses the hour that would make the timestamp closest to reference time, and returns a time that is timestamp seconds past that hour.
|
| virtual void | setFedTime (const RTI::LogicalTime &ft) |
| | This is used for TSO interactions.
|
| virtual const RTI::LogicalTime * | fedTime () const |
| | When the interaction is received, if the federate sending the interaction had TSO set then the fedTime will be set.
|
| virtual void | setMessageRetractionHandle (const RTI::MessageRetractionHandle &handle) |
| | Get/Set the MessageRetractionHandle.
|
virtual
RTI::MessageRetractionHandle | messageRetractionHandle () const |
| | Get the message retraction handle. For more info see setMessageRetractionHandle.
|
class DtLinearObjectTransaction
Instances of DtLinearObjectTransaction are used to implement Linear Object Transaction interactions in the RPR FOM
The type of Linear Object Transaction sent 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 sent as OtherLinearObjectTransacitons