VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Static Protected Member Functions
DtExampleEmbeddedSystemDecoder Class Reference

Decoder class for example embedded system network communication. Handles conversion of network attribute data into repository objects for local state management.

Inheritance diagram for DtExampleEmbeddedSystemDecoder:
Inheritance graph
[legend]

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)
 

Constructor & Destructor Documentation

DtExampleEmbeddedSystemDecoder::DtExampleEmbeddedSystemDecoder ( DtExerciseConn *  exConn,
DtObjClassDesc *  classDesc 
)

Constructs a new embedded system decoder instance.

Parameters
exConnPointer to the exercise connection managing network communication
classDescPointer to the object class description defining embedded system structure
virtual DtExampleEmbeddedSystemDecoder::~DtExampleEmbeddedSystemDecoder ( )
virtual

Virtual destructor for proper cleanup of derived classes.

DtExampleEmbeddedSystemDecoder::DtExampleEmbeddedSystemDecoder ( const DtExampleEmbeddedSystemDecoder &  orig)

Copy constructor for creating a deep copy of another decoder.

Parameters
origThe source decoder instance to copy from

Member Function Documentation

DtExampleEmbeddedSystemDecoder& DtExampleEmbeddedSystemDecoder::operator= ( const DtExampleEmbeddedSystemDecoder &  orig)

Assignment operator for copying decoder state.

Parameters
origThe source decoder instance to copy from
Returns
Reference to this decoder instance after assignment
static DtExampleEmbeddedSystemDecoder* DtExampleEmbeddedSystemDecoder::create ( DtExerciseConn *  exConn,
DtObjClassDesc *  classDesc 
)
static

Factory method for creating decoder instances.

Parameters
exConnPointer to the exercise connection for network communication
classDescPointer to the object class description for embedded systems
Returns
Pointer to a newly created decoder instance
static void DtExampleEmbeddedSystemDecoder::decodeSystemId ( DtExampleEmbeddedSystemRepository *  rep,
const RTI::AttributeHandleValuePairSet &  attrs,
int  pairSetIndex 
)
staticprotected

Decodes System ID attribute from network data into repository.

Parameters
repPointer to the repository object where the decoded System ID will be stored
attrsReference to the attribute handle-value pair set containing network data
pairSetIndexIndex within the attribute set identifying the System ID attribute
static void DtExampleEmbeddedSystemDecoder::decodeModelNumber ( DtExampleEmbeddedSystemRepository *  rep,
const RTI::AttributeHandleValuePairSet &  attrs,
int  pairSetIndex 
)
staticprotected

Decodes Model Number attribute from network data into repository.

Parameters
repPointer to the repository object where the decoded Model Number will be stored
attrsReference to the attribute handle-value pair set containing network data
pairSetIndexIndex within the attribute set identifying the Model Number attribute

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)