![]() |
VR-Forces Developer's Guide
|
Decoder class for example embedded system network communication. Handles conversion of network attribute data into repository objects for local state management.

Public Member Functions | |
| DtExampleEmbeddedSystemDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| virtual | ~DtExampleEmbeddedSystemDecoder () |
| DtExampleEmbeddedSystemDecoder (const DtExampleEmbeddedSystemDecoder &orig) | |
| DtExampleEmbeddedSystemDecoder & | operator= (const DtExampleEmbeddedSystemDecoder &orig) |
Static Public Member Functions | |
| static DtExampleEmbeddedSystemDecoder * | create (DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
Static Protected Member Functions | |
| static void | decodeSystemId (DtExampleEmbeddedSystemRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| static void | decodeModelNumber (DtExampleEmbeddedSystemRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| DtExampleEmbeddedSystemDecoder::DtExampleEmbeddedSystemDecoder | ( | DtExerciseConn * | exConn, |
| DtObjClassDesc * | classDesc | ||
| ) |
Constructs a new embedded system decoder instance.
| exConn | Pointer to the exercise connection managing network communication |
| classDesc | Pointer to the object class description defining embedded system structure |
|
virtual |
Virtual destructor for proper cleanup of derived classes.
| DtExampleEmbeddedSystemDecoder::DtExampleEmbeddedSystemDecoder | ( | const DtExampleEmbeddedSystemDecoder & | orig | ) |
Copy constructor for creating a deep copy of another decoder.
| orig | The source decoder instance to copy from |
| DtExampleEmbeddedSystemDecoder& DtExampleEmbeddedSystemDecoder::operator= | ( | const DtExampleEmbeddedSystemDecoder & | orig | ) |
Assignment operator for copying decoder state.
| orig | The source decoder instance to copy from |
|
static |
Factory method for creating decoder instances.
| exConn | Pointer to the exercise connection for network communication |
| classDesc | Pointer to the object class description for embedded systems |
|
staticprotected |
Decodes System ID attribute from network data into repository.
| rep | Pointer to the repository object where the decoded System ID will be stored |
| attrs | Reference to the attribute handle-value pair set containing network data |
| pairSetIndex | Index within the attribute set identifying the System ID attribute |
|
staticprotected |
Decodes Model Number attribute from network data into repository.
| rep | Pointer to the repository object where the decoded Model Number will be stored |
| attrs | Reference to the attribute handle-value pair set containing network data |
| pairSetIndex | Index within the attribute set identifying the Model Number attribute |