![]() |
VR-Link API Documentation for HLA 1.3
|
Inheritance diagram for DtJtidsVoiceCvsdRadioSignalInteraction:
Collaboration diagram for DtJtidsVoiceCvsdRadioSignalInteraction:Public Member Functions | |
| DtJtidsVoiceCvsdRadioSignalInteraction () | |
| Default constructor. | |
| virtual | ~DtJtidsVoiceCvsdRadioSignalInteraction () |
| Destructor. | |
| DtJtidsVoiceCvsdRadioSignalInteraction (const DtJtidsVoiceCvsdRadioSignalInteraction &orig) | |
| Copy constructor. | |
| DtJtidsVoiceCvsdRadioSignalInteraction & | operator= (const DtJtidsVoiceCvsdRadioSignalInteraction &orig) |
| Assignment operator. | |
| virtual const char * | name () const |
| Name of the interaction. (Not necessarily the ClassName from the FOM.) | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print the interaction's data to a stream. | |
| virtual const DtJtidsHeader & | jtidsHeader () const |
| Set/Get the JTIDS header. | |
| virtual void | setJtidsHeader (const DtJtidsHeader &data) |
| Set/Get the JTIDS header. | |
| virtual const DtJtidsHeaderStruct & | jtidsHeaderRawData () const |
| Set/Get the JTIDS header. | |
| virtual void | setJtidsHeaderRawData (const DtJtidsHeaderStruct &data) |
| Set/Get the JTIDS header. | |
| virtual const std::vector< DtU8 > & | interactionData () const |
| Set/Get the voice data. | |
| virtual void | setInteractionData (const std::vector< DtU8 > &data) |
| Set/Get the voice data. | |
Static Public Member Functions | |
| static DtInteraction * | create () |
| Create a DtSignalInteraction. | |
| static void | addCallback (DtExerciseConn *conn, DtJtidsVoiceCvsdRadioSignalInteractionCb cb, void *usr) |
| static void | removeCallback (DtExerciseConn *conn, DtJtidsVoiceCvsdRadioSignalInteractionCb cb, void *usr) |
Protected Member Functions | |
| virtual char * | interactionClassToUse (DtExerciseConn *exConn) const |
| Virtual function override. | |
| virtual DtInteractionDecoder * | createDecoder (DtExerciseConn *exConn) const |
| Virtual function override. | |
| virtual DtInteractionEncoder * | createEncoder (DtExerciseConn *exConn) const |
| Virtual function override. | |
Protected Attributes | |
| DtJtidsHeader | myJtidsHeader |
| The JTIDS header. | |
| std::vector< DtU8 > | myData |
| The voice data. | |
Default constructor.
| virtual DtJtidsVoiceCvsdRadioSignalInteraction::~DtJtidsVoiceCvsdRadioSignalInteraction | ( | ) | [virtual] |
Destructor.
| DtJtidsVoiceCvsdRadioSignalInteraction::DtJtidsVoiceCvsdRadioSignalInteraction | ( | const DtJtidsVoiceCvsdRadioSignalInteraction & | orig | ) |
Copy constructor.
| static void DtJtidsVoiceCvsdRadioSignalInteraction::addCallback | ( | DtExerciseConn * | conn, |
| DtJtidsVoiceCvsdRadioSignalInteractionCb | cb, | ||
| void * | usr | ||
| ) | [static] |
| static DtInteraction* DtJtidsVoiceCvsdRadioSignalInteraction::create | ( | ) | [static] |
Create a DtSignalInteraction.
Caller is responsible for deletion.
Reimplemented from DtL16RadioSignalInteraction.
| virtual DtInteractionDecoder* DtJtidsVoiceCvsdRadioSignalInteraction::createDecoder | ( | DtExerciseConn * | exConn | ) | const [protected, virtual] |
Virtual function override.
Creates and returns a decoder to be used by setFromPhvps to decode a ParameterHandleValuePairSet into this interaction. Implementing this function is required, unless you would like to rely on the default behavior - which is to obtain a new instance of the right decoder from the FOM Mapper. If you choose this option, you must configure the FOM Mapper so that it can correctly provide this object.
Reimplemented from DtL16RadioSignalInteraction.
| virtual DtInteractionEncoder* DtJtidsVoiceCvsdRadioSignalInteraction::createEncoder | ( | DtExerciseConn * | exConn | ) | const [protected, virtual] |
Virtual function override.
Creates and returns an encoder to be used by phvps to encode the data in this interaction into a ParameterHandleValuePairSet. Implementing this function is required, unless you would like to rely on the default behavior - which is to obtain a new instance of the right encoder from the FOM Mapper. If you choose this option, you must configure the FOM Mapper so that it can correctly provide this object.
Reimplemented from DtL16RadioSignalInteraction.
| virtual char* DtJtidsVoiceCvsdRadioSignalInteraction::interactionClassToUse | ( | DtExerciseConn * | exConn | ) | const [protected, virtual] |
Virtual function override.
Returns the name of the FOM class to use to represent this interaction when sending. It is called from within setExConn, when that function is called by DtExerciseConn::send. Implementing this function is required unless you would like to rely on the default behavior - which is to obtain the class to use from the FOM Mapper. If you choose this option, you must configure the FomMapper so that it can correctly provide this information.
Reimplemented from DtL16RadioSignalInteraction.
| virtual const std::vector<DtU8>& DtJtidsVoiceCvsdRadioSignalInteraction::interactionData | ( | ) | const [virtual] |
Set/Get the voice data.
| virtual const DtJtidsHeader& DtJtidsVoiceCvsdRadioSignalInteraction::jtidsHeader | ( | ) | const [virtual] |
Set/Get the JTIDS header.
| virtual const DtJtidsHeaderStruct& DtJtidsVoiceCvsdRadioSignalInteraction::jtidsHeaderRawData | ( | ) | const [virtual] |
Set/Get the JTIDS header.
| virtual const char* DtJtidsVoiceCvsdRadioSignalInteraction::name | ( | ) | const [virtual] |
Name of the interaction. (Not necessarily the ClassName from the FOM.)
Reimplemented from DtL16RadioSignalInteraction.
| DtJtidsVoiceCvsdRadioSignalInteraction& DtJtidsVoiceCvsdRadioSignalInteraction::operator= | ( | const DtJtidsVoiceCvsdRadioSignalInteraction & | orig | ) |
Assignment operator.
| virtual void DtJtidsVoiceCvsdRadioSignalInteraction::printDataToStream | ( | std::ostream & | stream | ) | const [virtual] |
Print the interaction's data to a stream.
Reimplemented from DtL16RadioSignalInteraction.
| static void DtJtidsVoiceCvsdRadioSignalInteraction::removeCallback | ( | DtExerciseConn * | conn, |
| DtJtidsVoiceCvsdRadioSignalInteractionCb | cb, | ||
| void * | usr | ||
| ) | [static] |
| virtual void DtJtidsVoiceCvsdRadioSignalInteraction::setInteractionData | ( | const std::vector< DtU8 > & | data | ) | [virtual] |
Set/Get the voice data.
| virtual void DtJtidsVoiceCvsdRadioSignalInteraction::setJtidsHeader | ( | const DtJtidsHeader & | data | ) | [virtual] |
Set/Get the JTIDS header.
| virtual void DtJtidsVoiceCvsdRadioSignalInteraction::setJtidsHeaderRawData | ( | const DtJtidsHeaderStruct & | data | ) | [virtual] |
Set/Get the JTIDS header.
std::vector<DtU8> DtJtidsVoiceCvsdRadioSignalInteraction::myData [protected] |
The voice data.
Reimplemented from DtInteractionWithEncDec.
The JTIDS header.