Public Member Functions |
| | DtDataQueryInteraction () |
| | default constructor
|
| virtual | ~DtDataQueryInteraction () |
| | destructor
|
| | DtDataQueryInteraction (const DtDataQueryInteraction &orig) |
| | copy constructor
|
| DtDataQueryInteraction & | operator= (const DtDataQueryInteraction &orig) |
| | assignment operator
|
| 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 void | setSenderId (const DtEntityIdentifier &id) |
| | Set/Get sender ID.
|
| virtual const DtEntityIdentifier & | senderId () const |
| virtual void | setReceiverId (const DtEntityIdentifier &id) |
| | Set/Get receiver ID.
|
| virtual const DtEntityIdentifier & | receiverId () const |
| virtual void | setRequestId (unsigned long id) |
| | Set/Get request ID.
|
| virtual unsigned long | requestId () const |
| virtual void | setTimeInterval (DtTime seconds) |
| | Set/Get the time interval.
|
| virtual DtTime | timeInterval () const |
| virtual void | initDatumIds (unsigned long numFixedFields, unsigned long numVarFields) |
| | Initialize fixed and variable datum ids.
|
| virtual void | setNumFixedFields (unsigned long numFixedFields) |
| | Set/Get fixed fields.
|
| virtual unsigned long | numFixedFields () const |
| virtual int | setFixedDatumId (DtU32 index, DtDatumParam id) |
| virtual DtDatumParam | fixedDatumId (DtU32 index) const |
| virtual void | setNumVarFields (unsigned long numVarFields) |
| | Set/Get variable fields.
|
| virtual unsigned long | numVarFields () const |
| virtual int | setVarDatumId (DtU32 index, DtDatumParam id) |
| virtual DtDatumParam | varDatumId (DtU32 index) const |
| virtual void | setFixedDatumIDs (const void *data, DtInt32 numBytes) |
| | Set/Get the fixed field's memory block all at once.
|
| virtual const void * | fixedDatumIDs () const |
| virtual void | setVariableDatumIDs (const void *data, DtInt32 numBytes) |
| | Set/Get the variable field's memory block all at once.
|
| virtual const void * | variableDatumIDs () const |
| virtual void | changeFixedSize (DtU32 newSize) |
| | Change size of fixed or variable fields.
|
| virtual void | changeVariableSize (DtU32 newSize) |
| virtual const char * | name () const |
| | Name of the interaction. (Not necessarily the ClassName from the FOM.)
|
| | 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::ParameterHandleValuePairSet & | phvps () const |
| | Get the parameter handle value pair set for the interaction.
|
| virtual void | setFromPhvps (const RTI::ParameterHandleValuePairSet &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.
|
| | 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 DtString &a_tag) |
| | Set the user-defined tag.
|
| virtual void | setTag (const DtString &tag) |
| | Set the user-defined tag.
|
| virtual const DtString & | tag () const |
| | Get the user-defined tag.
|
| virtual const RTI::Region * | conveyedRegion () const |
| | Get & Set the conveyed region of the reflected state message.
|
| virtual void | setConveyedRegion (const RTI::Region *region) |
| virtual void | setProducingFederateHandle (RTI::FederateHandle federateHandle) |
| | HLA Evolved added an argument that provides the FederateHandle of the federate that produced the interaction being received.
|
| virtual RTI::FederateHandle | producingFederateHandle () const |
| | The producing federate handle. Invalid if not enabled (or could be from MOM).
|
| virtual const DtString & | producingFederateName () const |
| | The producing federate handle is used to get the federate name (cached after first access).
|
| 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::FedTime &ft) |
| | This is used for TSO interactions.
|
| virtual const RTI::FedTime * | fedTime () const |
| | When the interaction is received, if the federate sending the interaction had TSO set then the fedTime will be set.
|
| virtual void | setEventRetractionHandle (const RTI::EventRetractionHandle &handle) |
| | Get/Set the EventRetractionHandle.
|
| virtual RTI::EventRetractionHandle | eventRetractionHandle () const |
| | Get the event retraction handle. For more info see setEventRetractionHandle.
|
class DtDataQueryInteraction:
Instances of DtDataQueryInteraction are used to represent DataQuery Interactions in the RPR FOM.