8 #include <vl/baseEmbeddedSystemEncoder.h>
22 DtExerciseConn* exConn,
23 DtObjClassDesc* classDesc);
66 RTI::AttributeHandleValuePairSet* attrs, RTI::AttributeHandle attrHandle);
73 RTI::AttributeHandleValuePairSet* attrs, RTI::AttributeHandle attrHandle);
Definition: exampleEmbeddedSystemRepository.h:25
static DtExampleEmbeddedSystemEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Factory method for creating encoder instances.
virtual ~DtExampleEmbeddedSystemEncoder()
Virtual destructor for proper cleanup.
static bool needSystemId(const DtExampleEmbeddedSystemRepository &stateRep, const DtExampleEmbeddedSystemRepository &asSeenByRemote)
Determines if SystemId attribute needs to be sent to network.
DtExampleEmbeddedSystemEncoder(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Constructor for the embedded system encoder.
static bool needModelNumber(const DtExampleEmbeddedSystemRepository &stateRep, const DtExampleEmbeddedSystemRepository &asSeenByRemote)
Determines if ModelNumber attribute needs to be sent to network.
static void encodeModelNumber(const DtExampleEmbeddedSystemRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
Encodes ModelNumber from repository into network attributes.
DtExampleEmbeddedSystemEncoder & operator=(const DtExampleEmbeddedSystemEncoder &orig)
Assignment operator.
Encoder class for example embedded system network communication. Handles conversion of repository dat...
Definition: exampleEmbeddedSystemEncoder.h:14
static void encodeSystemId(const DtExampleEmbeddedSystemRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
Encodes SystemId from repository into network attributes.