[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi/libCERTI M_Classes.cc M_Classes.hh
From: |
certi-cvs |
Subject: |
[certi-cvs] certi/libCERTI M_Classes.cc M_Classes.hh |
Date: |
Sat, 06 Feb 2010 21:02:04 +0000 |
CVSROOT: /sources/certi
Module name: certi
Changes by: Eric NOULARD <erk> 10/02/06 21:02:03
Modified files:
libCERTI : M_Classes.cc M_Classes.hh
Log message:
Freshly generated M_Classes* files with update generator
and minor manual update
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/M_Classes.cc?cvsroot=certi&r1=3.1&r2=3.2
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/M_Classes.hh?cvsroot=certi&r1=3.1&r2=3.2
Patches:
Index: M_Classes.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/M_Classes.cc,v
retrieving revision 3.1
retrieving revision 3.2
diff -u -b -r3.1 -r3.2
--- M_Classes.cc 30 Jan 2010 18:41:37 -0000 3.1
+++ M_Classes.cc 6 Feb 2010 21:02:03 -0000 3.2
@@ -1,4 +1,4 @@
-// Generated on 2010 January Sat, 30 at 19:13:24 by the CERTI message generator
+// Generated on 2010 February Sat, 06 at 19:58:21 by the CERTI message
generator
#include <vector>
#include <string>
#include "M_Classes.hh"
@@ -27,49 +27,149 @@
// The messages related classes will be placed in the certi package
namespace certi {
+ M_Close_Connexion::M_Close_Connexion() {
+ this->name = "M_Close_Connexion";
+ this->type = Message:: CLOSE_CONNEXION;
+ }
+
+ M_Close_Connexion::~M_Close_Connexion() {
+ }
+
M_Create_Federation_Execution::M_Create_Federation_Execution() {
this->name = "M_Create_Federation_Execution";
- this->type = CREATE_FEDERATION_EXECUTION;
+ this->type = Message:: CREATE_FEDERATION_EXECUTION;
+ //federationName= <no default value in message spec using builtin>
+ //FEDid= <no default value in message spec using builtin>
}
M_Create_Federation_Execution::~M_Create_Federation_Execution() {
}
+ void M_Create_Federation_Execution::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_string(federationName);
+ msgBuffer.write_string(FEDid);
+ }
+
+ void M_Create_Federation_Execution::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ msgBuffer.read_string(federationName);
+ msgBuffer.read_string(FEDid);
+ }
+
M_Destroy_Federation_Execution::M_Destroy_Federation_Execution() {
this->name = "M_Destroy_Federation_Execution";
- this->type = DESTROY_FEDERATION_EXECUTION;
+ this->type = Message:: DESTROY_FEDERATION_EXECUTION;
+ //federationName= <no default value in message spec using builtin>
}
M_Destroy_Federation_Execution::~M_Destroy_Federation_Execution() {
}
+ void M_Destroy_Federation_Execution::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_string(federationName);
+ }
+
+ void M_Destroy_Federation_Execution::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ msgBuffer.read_string(federationName);
+ }
+
M_Join_Federation_Execution::M_Join_Federation_Execution() {
this->name = "M_Join_Federation_Execution";
- this->type = JOIN_FEDERATION_EXECUTION;
+ this->type = Message:: JOIN_FEDERATION_EXECUTION;
+ //federate= <no default value in message spec using builtin>
+ //federationName= <no default value in message spec using builtin>
+ //federateName= <no default value in message spec using builtin>
}
M_Join_Federation_Execution::~M_Join_Federation_Execution() {
}
+ void M_Join_Federation_Execution::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(federate);
+ msgBuffer.write_string(federationName);
+ msgBuffer.write_string(federateName);
+ }
+
+ void M_Join_Federation_Execution::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ federate = static_cast<FederateHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(federationName);
+ msgBuffer.read_string(federateName);
+ }
+
M_Resign_Federation_Execution::M_Resign_Federation_Execution() {
this->name = "M_Resign_Federation_Execution";
- this->type = RESIGN_FEDERATION_EXECUTION;
+ this->type = Message:: RESIGN_FEDERATION_EXECUTION;
+ //resignAction= <no default value in message spec using builtin>
}
M_Resign_Federation_Execution::~M_Resign_Federation_Execution() {
}
+ void M_Resign_Federation_Execution::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint16(resignAction);
+ }
+
+ void M_Resign_Federation_Execution::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ resignAction = static_cast<ResignAction>(msgBuffer.read_uint16());
+ }
+
M_Register_Federation_Synchronization_Point::M_Register_Federation_Synchronization_Point()
{
this->name = "M_Register_Federation_Synchronization_Point";
- this->type = REGISTER_FEDERATION_SYNCHRONIZATION_POINT;
+ this->type = Message:: REGISTER_FEDERATION_SYNCHRONIZATION_POINT;
+ //federateSet= <no default value in message spec using builtin>
}
M_Register_Federation_Synchronization_Point::~M_Register_Federation_Synchronization_Point()
{
}
+ void M_Register_Federation_Synchronization_Point::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ uint32_t federateSetSize = federateSet.size();
+ msgBuffer.write_uint32(federateSetSize);
+ for (uint32_t i = 0; i < federateSetSize; ++i) {
+ msgBuffer.write_uint32(federateSet[i]);
+ }
+ }
+
+ void
M_Register_Federation_Synchronization_Point::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ uint32_t federateSetSize = msgBuffer.read_uint32();
+ federateSet.resize(federateSetSize);
+ for (uint32_t i = 0; i < federateSetSize; ++i) {
+ federateSet[i] = static_cast<FederateHandle>(msgBuffer.read_uint32());
+ }
+ }
+
M_Synchronization_Point_Registration_Failed::M_Synchronization_Point_Registration_Failed()
{
this->name = "M_Synchronization_Point_Registration_Failed";
- this->type = SYNCHRONIZATION_POINT_REGISTRATION_FAILED;
+ this->type = Message:: SYNCHRONIZATION_POINT_REGISTRATION_FAILED;
}
M_Synchronization_Point_Registration_Failed::~M_Synchronization_Point_Registration_Failed()
{
@@ -77,7 +177,7 @@
M_Synchronization_Point_Registration_Succeeded::M_Synchronization_Point_Registration_Succeeded()
{
this->name = "M_Synchronization_Point_Registration_Succeeded";
- this->type = SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED;
+ this->type = Message:: SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED;
}
M_Synchronization_Point_Registration_Succeeded::~M_Synchronization_Point_Registration_Succeeded()
{
@@ -85,7 +185,7 @@
M_Announce_Synchronization_Point::M_Announce_Synchronization_Point() {
this->name = "M_Announce_Synchronization_Point";
- this->type = ANNOUNCE_SYNCHRONIZATION_POINT;
+ this->type = Message:: ANNOUNCE_SYNCHRONIZATION_POINT;
}
M_Announce_Synchronization_Point::~M_Announce_Synchronization_Point() {
@@ -93,7 +193,7 @@
M_Synchronization_Point_Achieved::M_Synchronization_Point_Achieved() {
this->name = "M_Synchronization_Point_Achieved";
- this->type = SYNCHRONIZATION_POINT_ACHIEVED;
+ this->type = Message:: SYNCHRONIZATION_POINT_ACHIEVED;
}
M_Synchronization_Point_Achieved::~M_Synchronization_Point_Achieved() {
@@ -101,7 +201,7 @@
M_Federation_Synchronized::M_Federation_Synchronized() {
this->name = "M_Federation_Synchronized";
- this->type = FEDERATION_SYNCHRONIZED;
+ this->type = Message:: FEDERATION_SYNCHRONIZED;
}
M_Federation_Synchronized::~M_Federation_Synchronized() {
@@ -109,7 +209,7 @@
M_Request_Federation_Save::M_Request_Federation_Save() {
this->name = "M_Request_Federation_Save";
- this->type = REQUEST_FEDERATION_SAVE;
+ this->type = Message:: REQUEST_FEDERATION_SAVE;
}
M_Request_Federation_Save::~M_Request_Federation_Save() {
@@ -117,7 +217,7 @@
M_Initiate_Federate_Save::M_Initiate_Federate_Save() {
this->name = "M_Initiate_Federate_Save";
- this->type = INITIATE_FEDERATE_SAVE;
+ this->type = Message:: INITIATE_FEDERATE_SAVE;
}
M_Initiate_Federate_Save::~M_Initiate_Federate_Save() {
@@ -125,7 +225,7 @@
M_Federate_Save_Begun::M_Federate_Save_Begun() {
this->name = "M_Federate_Save_Begun";
- this->type = FEDERATE_SAVE_BEGUN;
+ this->type = Message:: FEDERATE_SAVE_BEGUN;
}
M_Federate_Save_Begun::~M_Federate_Save_Begun() {
@@ -133,7 +233,7 @@
M_Federate_Save_Complete::M_Federate_Save_Complete() {
this->name = "M_Federate_Save_Complete";
- this->type = FEDERATE_SAVE_COMPLETE;
+ this->type = Message:: FEDERATE_SAVE_COMPLETE;
}
M_Federate_Save_Complete::~M_Federate_Save_Complete() {
@@ -141,7 +241,7 @@
M_Federate_Save_Not_Complete::M_Federate_Save_Not_Complete() {
this->name = "M_Federate_Save_Not_Complete";
- this->type = FEDERATE_SAVE_NOT_COMPLETE;
+ this->type = Message:: FEDERATE_SAVE_NOT_COMPLETE;
}
M_Federate_Save_Not_Complete::~M_Federate_Save_Not_Complete() {
@@ -149,7 +249,7 @@
M_Federation_Saved::M_Federation_Saved() {
this->name = "M_Federation_Saved";
- this->type = FEDERATION_SAVED;
+ this->type = Message:: FEDERATION_SAVED;
}
M_Federation_Saved::~M_Federation_Saved() {
@@ -157,7 +257,7 @@
M_Federation_Not_Saved::M_Federation_Not_Saved() {
this->name = "M_Federation_Not_Saved";
- this->type = FEDERATION_NOT_SAVED;
+ this->type = Message:: FEDERATION_NOT_SAVED;
}
M_Federation_Not_Saved::~M_Federation_Not_Saved() {
@@ -165,7 +265,7 @@
M_Request_Federation_Restore::M_Request_Federation_Restore() {
this->name = "M_Request_Federation_Restore";
- this->type = REQUEST_FEDERATION_RESTORE;
+ this->type = Message:: REQUEST_FEDERATION_RESTORE;
}
M_Request_Federation_Restore::~M_Request_Federation_Restore() {
@@ -173,7 +273,7 @@
M_Request_Federation_Restore_Failed::M_Request_Federation_Restore_Failed() {
this->name = "M_Request_Federation_Restore_Failed";
- this->type = REQUEST_FEDERATION_RESTORE_FAILED;
+ this->type = Message:: REQUEST_FEDERATION_RESTORE_FAILED;
}
M_Request_Federation_Restore_Failed::~M_Request_Federation_Restore_Failed()
{
@@ -181,7 +281,7 @@
M_Request_Federation_Restore_Succeeded::M_Request_Federation_Restore_Succeeded()
{
this->name = "M_Request_Federation_Restore_Succeeded";
- this->type = REQUEST_FEDERATION_RESTORE_SUCCEEDED;
+ this->type = Message:: REQUEST_FEDERATION_RESTORE_SUCCEEDED;
}
M_Request_Federation_Restore_Succeeded::~M_Request_Federation_Restore_Succeeded()
{
@@ -189,15 +289,30 @@
M_Initiate_Federate_Restore::M_Initiate_Federate_Restore() {
this->name = "M_Initiate_Federate_Restore";
- this->type = INITIATE_FEDERATE_RESTORE;
+ this->type = Message:: INITIATE_FEDERATE_RESTORE;
+ //federate= <no default value in message spec using builtin>
}
M_Initiate_Federate_Restore::~M_Initiate_Federate_Restore() {
}
+ void M_Initiate_Federate_Restore::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(federate);
+ }
+
+ void M_Initiate_Federate_Restore::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ federate = static_cast<FederateHandle>(msgBuffer.read_uint32());
+ }
+
M_Federate_Restore_Complete::M_Federate_Restore_Complete() {
this->name = "M_Federate_Restore_Complete";
- this->type = FEDERATE_RESTORE_COMPLETE;
+ this->type = Message:: FEDERATE_RESTORE_COMPLETE;
}
M_Federate_Restore_Complete::~M_Federate_Restore_Complete() {
@@ -205,7 +320,7 @@
M_Federate_Restore_Not_Complete::M_Federate_Restore_Not_Complete() {
this->name = "M_Federate_Restore_Not_Complete";
- this->type = FEDERATE_RESTORE_NOT_COMPLETE;
+ this->type = Message:: FEDERATE_RESTORE_NOT_COMPLETE;
}
M_Federate_Restore_Not_Complete::~M_Federate_Restore_Not_Complete() {
@@ -213,7 +328,7 @@
M_Federation_Restored::M_Federation_Restored() {
this->name = "M_Federation_Restored";
- this->type = FEDERATION_RESTORED;
+ this->type = Message:: FEDERATION_RESTORED;
}
M_Federation_Restored::~M_Federation_Restored() {
@@ -221,7 +336,7 @@
M_Federation_Not_Restored::M_Federation_Not_Restored() {
this->name = "M_Federation_Not_Restored";
- this->type = FEDERATION_NOT_RESTORED;
+ this->type = Message:: FEDERATION_NOT_RESTORED;
}
M_Federation_Not_Restored::~M_Federation_Not_Restored() {
@@ -229,7 +344,7 @@
M_Federation_Restore_Begun::M_Federation_Restore_Begun() {
this->name = "M_Federation_Restore_Begun";
- this->type = FEDERATION_RESTORE_BEGUN;
+ this->type = Message:: FEDERATION_RESTORE_BEGUN;
}
M_Federation_Restore_Begun::~M_Federation_Restore_Begun() {
@@ -237,159 +352,602 @@
M_Publish_Object_Class::M_Publish_Object_Class() {
this->name = "M_Publish_Object_Class";
- this->type = PUBLISH_OBJECT_CLASS;
+ this->type = Message:: PUBLISH_OBJECT_CLASS;
+ //objectClass= <no default value in message spec using builtin>
+ //handles= <no default value in message spec using builtin>
}
M_Publish_Object_Class::~M_Publish_Object_Class() {
}
+ void M_Publish_Object_Class::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ uint32_t handlesSize = handles.size();
+ msgBuffer.write_uint32(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ msgBuffer.write_uint64(handles[i]);
+ }
+ }
+
+ void M_Publish_Object_Class::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ uint32_t handlesSize = msgBuffer.read_uint32();
+ handles.resize(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ handles[i] = static_cast<Handle>(msgBuffer.read_uint64());
+ }
+ }
+
M_Unpublish_Object_Class::M_Unpublish_Object_Class() {
this->name = "M_Unpublish_Object_Class";
- this->type = UNPUBLISH_OBJECT_CLASS;
+ this->type = Message:: UNPUBLISH_OBJECT_CLASS;
+ //objectClass= <no default value in message spec using builtin>
}
M_Unpublish_Object_Class::~M_Unpublish_Object_Class() {
}
+ void M_Unpublish_Object_Class::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ }
+
+ void M_Unpublish_Object_Class::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ }
+
M_Publish_Interaction_Class::M_Publish_Interaction_Class() {
this->name = "M_Publish_Interaction_Class";
- this->type = PUBLISH_INTERACTION_CLASS;
+ this->type = Message:: PUBLISH_INTERACTION_CLASS;
+ //interactionClass= <no default value in message spec using builtin>
}
M_Publish_Interaction_Class::~M_Publish_Interaction_Class() {
}
+ void M_Publish_Interaction_Class::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ }
+
+ void M_Publish_Interaction_Class::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ }
+
M_Unpublish_Interaction_Class::M_Unpublish_Interaction_Class() {
this->name = "M_Unpublish_Interaction_Class";
- this->type = UNPUBLISH_INTERACTION_CLASS;
+ this->type = Message:: UNPUBLISH_INTERACTION_CLASS;
+ //interactionClass= <no default value in message spec using builtin>
}
M_Unpublish_Interaction_Class::~M_Unpublish_Interaction_Class() {
}
+ void M_Unpublish_Interaction_Class::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ }
+
+ void M_Unpublish_Interaction_Class::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ }
+
M_Subscribe_Object_Class_Attributes::M_Subscribe_Object_Class_Attributes() {
this->name = "M_Subscribe_Object_Class_Attributes";
- this->type = SUBSCRIBE_OBJECT_CLASS_ATTRIBUTES;
+ this->type = Message:: SUBSCRIBE_OBJECT_CLASS_ATTRIBUTES;
+ //objectClass= <no default value in message spec using builtin>
+ //handles= <no default value in message spec using builtin>
}
M_Subscribe_Object_Class_Attributes::~M_Subscribe_Object_Class_Attributes()
{
}
+ void M_Subscribe_Object_Class_Attributes::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ uint32_t handlesSize = handles.size();
+ msgBuffer.write_uint32(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ msgBuffer.write_uint64(handles[i]);
+ }
+ }
+
+ void M_Subscribe_Object_Class_Attributes::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ uint32_t handlesSize = msgBuffer.read_uint32();
+ handles.resize(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ handles[i] = static_cast<Handle>(msgBuffer.read_uint64());
+ }
+ }
+
M_Unsubscribe_Object_Class::M_Unsubscribe_Object_Class() {
this->name = "M_Unsubscribe_Object_Class";
- this->type = UNSUBSCRIBE_OBJECT_CLASS;
+ this->type = Message:: UNSUBSCRIBE_OBJECT_CLASS;
+ //objectClass= <no default value in message spec using builtin>
}
M_Unsubscribe_Object_Class::~M_Unsubscribe_Object_Class() {
}
+ void M_Unsubscribe_Object_Class::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ }
+
+ void M_Unsubscribe_Object_Class::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ }
+
M_Subscribe_Interaction_Class::M_Subscribe_Interaction_Class() {
this->name = "M_Subscribe_Interaction_Class";
- this->type = SUBSCRIBE_INTERACTION_CLASS;
+ this->type = Message:: SUBSCRIBE_INTERACTION_CLASS;
+ //interactionClass= <no default value in message spec using builtin>
}
M_Subscribe_Interaction_Class::~M_Subscribe_Interaction_Class() {
}
+ void M_Subscribe_Interaction_Class::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ }
+
+ void M_Subscribe_Interaction_Class::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ }
+
M_Unsubscribe_Interaction_Class::M_Unsubscribe_Interaction_Class() {
this->name = "M_Unsubscribe_Interaction_Class";
- this->type = UNSUBSCRIBE_INTERACTION_CLASS;
+ this->type = Message:: UNSUBSCRIBE_INTERACTION_CLASS;
+ //interactionClass= <no default value in message spec using builtin>
}
M_Unsubscribe_Interaction_Class::~M_Unsubscribe_Interaction_Class() {
}
+ void M_Unsubscribe_Interaction_Class::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ }
+
+ void M_Unsubscribe_Interaction_Class::deserialize(MessageBuffer& msgBuffer)
{
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ }
+
M_Start_Registration_For_Object_Class::M_Start_Registration_For_Object_Class() {
this->name = "M_Start_Registration_For_Object_Class";
- this->type = START_REGISTRATION_FOR_OBJECT_CLASS;
+ this->type = Message:: START_REGISTRATION_FOR_OBJECT_CLASS;
+ //objectClass= <no default value in message spec using builtin>
}
M_Start_Registration_For_Object_Class::~M_Start_Registration_For_Object_Class()
{
}
+ void M_Start_Registration_For_Object_Class::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ }
+
+ void M_Start_Registration_For_Object_Class::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ }
+
M_Stop_Registration_For_Object_Class::M_Stop_Registration_For_Object_Class() {
this->name = "M_Stop_Registration_For_Object_Class";
- this->type = STOP_REGISTRATION_FOR_OBJECT_CLASS;
+ this->type = Message:: STOP_REGISTRATION_FOR_OBJECT_CLASS;
+ //objectClass= <no default value in message spec using builtin>
}
M_Stop_Registration_For_Object_Class::~M_Stop_Registration_For_Object_Class() {
}
+ void M_Stop_Registration_For_Object_Class::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ }
+
+ void M_Stop_Registration_For_Object_Class::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ }
+
M_Turn_Interactions_On::M_Turn_Interactions_On() {
this->name = "M_Turn_Interactions_On";
- this->type = TURN_INTERACTIONS_ON;
+ this->type = Message:: TURN_INTERACTIONS_ON;
+ //interactionClass= <no default value in message spec using builtin>
}
M_Turn_Interactions_On::~M_Turn_Interactions_On() {
}
+ void M_Turn_Interactions_On::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ }
+
+ void M_Turn_Interactions_On::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ }
+
M_Turn_Interactions_Off::M_Turn_Interactions_Off() {
this->name = "M_Turn_Interactions_Off";
- this->type = TURN_INTERACTIONS_OFF;
+ this->type = Message:: TURN_INTERACTIONS_OFF;
+ //interactionClass= <no default value in message spec using builtin>
}
M_Turn_Interactions_Off::~M_Turn_Interactions_Off() {
}
+ void M_Turn_Interactions_Off::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ }
+
+ void M_Turn_Interactions_Off::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ }
+
M_Register_Object_Instance::M_Register_Object_Instance() {
this->name = "M_Register_Object_Instance";
- this->type = REGISTER_OBJECT_INSTANCE;
+ this->type = Message:: REGISTER_OBJECT_INSTANCE;
+ //objectClass= <no default value in message spec using builtin>
+ //object= <no default value in message spec using builtin>
+ //objectName= <no default value in message spec using builtin>
}
M_Register_Object_Instance::~M_Register_Object_Instance() {
}
+ void M_Register_Object_Instance::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_uint32(object);
+ msgBuffer.write_string(objectName);
+ }
+
+ void M_Register_Object_Instance::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(objectName);
+ }
+
M_Update_Attribute_Values::M_Update_Attribute_Values() {
this->name = "M_Update_Attribute_Values";
- this->type = UPDATE_ATTRIBUTE_VALUES;
+ this->type = Message:: UPDATE_ATTRIBUTE_VALUES;
+ //objectClass= <no default value in message spec using builtin>
+ //object= <no default value in message spec using builtin>
+ //handle= <no default value in message spec using builtin>
+ //attributeValues= <no default value in message spec using builtin>
+ //resignAction= <no default value in message spec using builtin>
}
M_Update_Attribute_Values::~M_Update_Attribute_Values() {
}
+ void M_Update_Attribute_Values::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_uint32(object);
+ uint32_t handleSize = handle.size();
+ msgBuffer.write_uint32(handleSize);
+ for (uint32_t i = 0; i < handleSize; ++i) {
+ msgBuffer.write_uint64(handle[i]);
+ }
+ uint32_t attributeValuesSize = attributeValues.size();
+ msgBuffer.write_uint32(attributeValuesSize);
+ for (uint32_t i = 0; i < attributeValuesSize; ++i) {
+ msgBuffer.write_string(attributeValues[i]);
+ }
+ msgBuffer.write_uint16(resignAction);
+ }
+
+ void M_Update_Attribute_Values::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ uint32_t handleSize = msgBuffer.read_uint32();
+ handle.resize(handleSize);
+ for (uint32_t i = 0; i < handleSize; ++i) {
+ handle[i] = static_cast<Handle>(msgBuffer.read_uint64());
+ }
+ uint32_t attributeValuesSize = msgBuffer.read_uint32();
+ attributeValues.resize(attributeValuesSize);
+ for (uint32_t i = 0; i < attributeValuesSize; ++i) {
+ msgBuffer.read_string(attributeValues[i]);
+ }
+ resignAction = static_cast<ResignAction>(msgBuffer.read_uint16());
+ }
+
M_Discover_Object_Instance::M_Discover_Object_Instance() {
this->name = "M_Discover_Object_Instance";
- this->type = DISCOVER_OBJECT_INSTANCE;
+ this->type = Message:: DISCOVER_OBJECT_INSTANCE;
+ //objectClass= <no default value in message spec using builtin>
+ //object= <no default value in message spec using builtin>
+ //objectName= <no default value in message spec using builtin>
+ //resignAction= <no default value in message spec using builtin>
}
M_Discover_Object_Instance::~M_Discover_Object_Instance() {
}
+ void M_Discover_Object_Instance::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_uint32(object);
+ msgBuffer.write_string(objectName);
+ msgBuffer.write_uint16(resignAction);
+ }
+
+ void M_Discover_Object_Instance::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(objectName);
+ resignAction = static_cast<ResignAction>(msgBuffer.read_uint16());
+ }
+
M_Reflect_Attribute_Values::M_Reflect_Attribute_Values() {
this->name = "M_Reflect_Attribute_Values";
- this->type = REFLECT_ATTRIBUTE_VALUES;
+ this->type = Message:: REFLECT_ATTRIBUTE_VALUES;
+ //objectClass= <no default value in message spec using builtin>
+ //object= <no default value in message spec using builtin>
+ //handle= <no default value in message spec using builtin>
+ //attributeValues= <no default value in message spec using builtin>
+ //resignAction= <no default value in message spec using builtin>
}
M_Reflect_Attribute_Values::~M_Reflect_Attribute_Values() {
}
+ void M_Reflect_Attribute_Values::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_uint32(object);
+ uint32_t handleSize = handle.size();
+ msgBuffer.write_uint32(handleSize);
+ for (uint32_t i = 0; i < handleSize; ++i) {
+ msgBuffer.write_uint64(handle[i]);
+ }
+ uint32_t attributeValuesSize = attributeValues.size();
+ msgBuffer.write_uint32(attributeValuesSize);
+ for (uint32_t i = 0; i < attributeValuesSize; ++i) {
+ msgBuffer.write_string(attributeValues[i]);
+ }
+ msgBuffer.write_uint16(resignAction);
+ }
+
+ void M_Reflect_Attribute_Values::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ uint32_t handleSize = msgBuffer.read_uint32();
+ handle.resize(handleSize);
+ for (uint32_t i = 0; i < handleSize; ++i) {
+ handle[i] = static_cast<Handle>(msgBuffer.read_uint64());
+ }
+ uint32_t attributeValuesSize = msgBuffer.read_uint32();
+ attributeValues.resize(attributeValuesSize);
+ for (uint32_t i = 0; i < attributeValuesSize; ++i) {
+ msgBuffer.read_string(attributeValues[i]);
+ }
+ resignAction = static_cast<ResignAction>(msgBuffer.read_uint16());
+ }
+
M_Send_Interaction::M_Send_Interaction() {
this->name = "M_Send_Interaction";
- this->type = SEND_INTERACTION;
+ this->type = Message:: SEND_INTERACTION;
+ //interactionClass= <no default value in message spec using builtin>
+ //handles= <no default value in message spec using builtin>
+ //values= <no default value in message spec using builtin>
+ //region= <no default value in message spec using builtin>
+ //resignAction= <no default value in message spec using builtin>
}
M_Send_Interaction::~M_Send_Interaction() {
}
+ void M_Send_Interaction::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ uint32_t handlesSize = handles.size();
+ msgBuffer.write_uint32(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ msgBuffer.write_uint64(handles[i]);
+ }
+ uint32_t valuesSize = values.size();
+ msgBuffer.write_uint32(valuesSize);
+ for (uint32_t i = 0; i < valuesSize; ++i) {
+ msgBuffer.write_string(values[i]);
+ }
+ msgBuffer.write_uint32(region);
+ msgBuffer.write_uint16(resignAction);
+ }
+
+ void M_Send_Interaction::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ uint32_t handlesSize = msgBuffer.read_uint32();
+ handles.resize(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ handles[i] = static_cast<Handle>(msgBuffer.read_uint64());
+ }
+ uint32_t valuesSize = msgBuffer.read_uint32();
+ values.resize(valuesSize);
+ for (uint32_t i = 0; i < valuesSize; ++i) {
+ msgBuffer.read_string(values[i]);
+ }
+ region = static_cast<RegionHandle>(msgBuffer.read_uint32());
+ resignAction = static_cast<ResignAction>(msgBuffer.read_uint16());
+ }
+
M_Receive_Interaction::M_Receive_Interaction() {
this->name = "M_Receive_Interaction";
- this->type = RECEIVE_INTERACTION;
+ this->type = Message:: RECEIVE_INTERACTION;
+ //interactionClass= <no default value in message spec using builtin>
+ //handles= <no default value in message spec using builtin>
+ //values= <no default value in message spec using builtin>
+ //region= <no default value in message spec using builtin>
+ //resignAction= <no default value in message spec using builtin>
}
M_Receive_Interaction::~M_Receive_Interaction() {
}
+ void M_Receive_Interaction::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ uint32_t handlesSize = handles.size();
+ msgBuffer.write_uint32(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ msgBuffer.write_uint64(handles[i]);
+ }
+ uint32_t valuesSize = values.size();
+ msgBuffer.write_uint32(valuesSize);
+ for (uint32_t i = 0; i < valuesSize; ++i) {
+ msgBuffer.write_string(values[i]);
+ }
+ msgBuffer.write_uint32(region);
+ msgBuffer.write_uint16(resignAction);
+ }
+
+ void M_Receive_Interaction::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ uint32_t handlesSize = msgBuffer.read_uint32();
+ handles.resize(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ handles[i] = static_cast<Handle>(msgBuffer.read_uint64());
+ }
+ uint32_t valuesSize = msgBuffer.read_uint32();
+ values.resize(valuesSize);
+ for (uint32_t i = 0; i < valuesSize; ++i) {
+ msgBuffer.read_string(values[i]);
+ }
+ region = static_cast<RegionHandle>(msgBuffer.read_uint32());
+ resignAction = static_cast<ResignAction>(msgBuffer.read_uint16());
+ }
+
M_Delete_Object_Instance::M_Delete_Object_Instance() {
this->name = "M_Delete_Object_Instance";
- this->type = DELETE_OBJECT_INSTANCE;
+ this->type = Message:: DELETE_OBJECT_INSTANCE;
+ //objectClass= <no default value in message spec using builtin>
+ //object= <no default value in message spec using builtin>
+ //objectName= <no default value in message spec using builtin>
+ //resignAction= <no default value in message spec using builtin>
}
M_Delete_Object_Instance::~M_Delete_Object_Instance() {
}
+ void M_Delete_Object_Instance::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_uint32(object);
+ msgBuffer.write_string(objectName);
+ msgBuffer.write_uint16(resignAction);
+ }
+
+ void M_Delete_Object_Instance::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(objectName);
+ resignAction = static_cast<ResignAction>(msgBuffer.read_uint16());
+ }
+
M_Local_Delete_Object_Instance::M_Local_Delete_Object_Instance() {
this->name = "M_Local_Delete_Object_Instance";
- this->type = LOCAL_DELETE_OBJECT_INSTANCE;
+ this->type = Message:: LOCAL_DELETE_OBJECT_INSTANCE;
}
M_Local_Delete_Object_Instance::~M_Local_Delete_Object_Instance() {
@@ -397,55 +955,210 @@
M_Remove_Object_Instance::M_Remove_Object_Instance() {
this->name = "M_Remove_Object_Instance";
- this->type = REMOVE_OBJECT_INSTANCE;
+ this->type = Message:: REMOVE_OBJECT_INSTANCE;
+ //objectClass= <no default value in message spec using builtin>
+ //object= <no default value in message spec using builtin>
+ //objectName= <no default value in message spec using builtin>
+ //resignAction= <no default value in message spec using builtin>
}
M_Remove_Object_Instance::~M_Remove_Object_Instance() {
}
+ void M_Remove_Object_Instance::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_uint32(object);
+ msgBuffer.write_string(objectName);
+ msgBuffer.write_uint16(resignAction);
+ }
+
+ void M_Remove_Object_Instance::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(objectName);
+ resignAction = static_cast<ResignAction>(msgBuffer.read_uint16());
+ }
+
M_Change_Attribute_Transportation_Type::M_Change_Attribute_Transportation_Type()
{
this->name = "M_Change_Attribute_Transportation_Type";
- this->type = CHANGE_ATTRIBUTE_TRANSPORTATION_TYPE;
+ this->type = Message:: CHANGE_ATTRIBUTE_TRANSPORTATION_TYPE;
+ //transport= <no default value in message spec using builtin>
+ //order= <no default value in message spec using builtin>
+ //object= <no default value in message spec using builtin>
+ //handles= <no default value in message spec using builtin>
}
M_Change_Attribute_Transportation_Type::~M_Change_Attribute_Transportation_Type()
{
}
+ void M_Change_Attribute_Transportation_Type::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint8(transport);
+ msgBuffer.write_uint8(order);
+ msgBuffer.write_uint32(object);
+ uint32_t handlesSize = handles.size();
+ msgBuffer.write_uint32(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ msgBuffer.write_uint64(handles[i]);
+ }
+ }
+
+ void M_Change_Attribute_Transportation_Type::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ transport = static_cast<TransportType>(msgBuffer.read_uint8());
+ order = static_cast<OrderType>(msgBuffer.read_uint8());
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ uint32_t handlesSize = msgBuffer.read_uint32();
+ handles.resize(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ handles[i] = static_cast<Handle>(msgBuffer.read_uint64());
+ }
+ }
+
M_Change_Interaction_Transportation_Type::M_Change_Interaction_Transportation_Type()
{
this->name = "M_Change_Interaction_Transportation_Type";
- this->type = CHANGE_INTERACTION_TRANSPORTATION_TYPE;
+ this->type = Message:: CHANGE_INTERACTION_TRANSPORTATION_TYPE;
+ //interactionClass= <no default value in message spec using builtin>
+ //transport= <no default value in message spec using builtin>
+ //order= <no default value in message spec using builtin>
}
M_Change_Interaction_Transportation_Type::~M_Change_Interaction_Transportation_Type()
{
}
+ void M_Change_Interaction_Transportation_Type::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ msgBuffer.write_uint8(transport);
+ msgBuffer.write_uint8(order);
+ }
+
+ void M_Change_Interaction_Transportation_Type::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ transport = static_cast<TransportType>(msgBuffer.read_uint8());
+ order = static_cast<OrderType>(msgBuffer.read_uint8());
+ }
+
M_Request_Object_Attribute_Value_Update::M_Request_Object_Attribute_Value_Update()
{
this->name = "M_Request_Object_Attribute_Value_Update";
- this->type = REQUEST_OBJECT_ATTRIBUTE_VALUE_UPDATE;
+ this->type = Message:: REQUEST_OBJECT_ATTRIBUTE_VALUE_UPDATE;
+ //object= <no default value in message spec using builtin>
+ //handles= <no default value in message spec using builtin>
}
M_Request_Object_Attribute_Value_Update::~M_Request_Object_Attribute_Value_Update()
{
}
+ void M_Request_Object_Attribute_Value_Update::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ uint32_t handlesSize = handles.size();
+ msgBuffer.write_uint32(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ msgBuffer.write_uint64(handles[i]);
+ }
+ }
+
+ void M_Request_Object_Attribute_Value_Update::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ uint32_t handlesSize = msgBuffer.read_uint32();
+ handles.resize(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ handles[i] = static_cast<Handle>(msgBuffer.read_uint64());
+ }
+ }
+
M_Request_Class_Attribute_Value_Update::M_Request_Class_Attribute_Value_Update()
{
this->name = "M_Request_Class_Attribute_Value_Update";
- this->type = REQUEST_CLASS_ATTRIBUTE_VALUE_UPDATE;
+ this->type = Message:: REQUEST_CLASS_ATTRIBUTE_VALUE_UPDATE;
+ //objectClass= <no default value in message spec using builtin>
+ //handles= <no default value in message spec using builtin>
}
M_Request_Class_Attribute_Value_Update::~M_Request_Class_Attribute_Value_Update()
{
}
+ void M_Request_Class_Attribute_Value_Update::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ uint32_t handlesSize = handles.size();
+ msgBuffer.write_uint32(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ msgBuffer.write_uint64(handles[i]);
+ }
+ }
+
+ void M_Request_Class_Attribute_Value_Update::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ uint32_t handlesSize = msgBuffer.read_uint32();
+ handles.resize(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ handles[i] = static_cast<Handle>(msgBuffer.read_uint64());
+ }
+ }
+
M_Provide_Attribute_Value_Update::M_Provide_Attribute_Value_Update() {
this->name = "M_Provide_Attribute_Value_Update";
- this->type = PROVIDE_ATTRIBUTE_VALUE_UPDATE;
+ this->type = Message:: PROVIDE_ATTRIBUTE_VALUE_UPDATE;
+ //object= <no default value in message spec using builtin>
+ //handles= <no default value in message spec using builtin>
}
M_Provide_Attribute_Value_Update::~M_Provide_Attribute_Value_Update() {
}
+ void M_Provide_Attribute_Value_Update::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ uint32_t handlesSize = handles.size();
+ msgBuffer.write_uint32(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ msgBuffer.write_uint64(handles[i]);
+ }
+ }
+
+ void M_Provide_Attribute_Value_Update::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ uint32_t handlesSize = msgBuffer.read_uint32();
+ handles.resize(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ handles[i] = static_cast<Handle>(msgBuffer.read_uint64());
+ }
+ }
+
M_Attributes_In_Scope::M_Attributes_In_Scope() {
this->name = "M_Attributes_In_Scope";
- this->type = ATTRIBUTES_IN_SCOPE;
+ this->type = Message:: ATTRIBUTES_IN_SCOPE;
}
M_Attributes_In_Scope::~M_Attributes_In_Scope() {
@@ -453,7 +1166,7 @@
M_Attributes_Out_Of_Scope::M_Attributes_Out_Of_Scope() {
this->name = "M_Attributes_Out_Of_Scope";
- this->type = ATTRIBUTES_OUT_OF_SCOPE;
+ this->type = Message:: ATTRIBUTES_OUT_OF_SCOPE;
}
M_Attributes_Out_Of_Scope::~M_Attributes_Out_Of_Scope() {
@@ -461,7 +1174,7 @@
M_Turn_Updates_On_For_Object_Instance::M_Turn_Updates_On_For_Object_Instance() {
this->name = "M_Turn_Updates_On_For_Object_Instance";
- this->type = TURN_UPDATES_ON_FOR_OBJECT_INSTANCE;
+ this->type = Message:: TURN_UPDATES_ON_FOR_OBJECT_INSTANCE;
}
M_Turn_Updates_On_For_Object_Instance::~M_Turn_Updates_On_For_Object_Instance()
{
@@ -469,7 +1182,7 @@
M_Turn_Updates_Off_For_Object_Instance::M_Turn_Updates_Off_For_Object_Instance()
{
this->name = "M_Turn_Updates_Off_For_Object_Instance";
- this->type = TURN_UPDATES_OFF_FOR_OBJECT_INSTANCE;
+ this->type = Message:: TURN_UPDATES_OFF_FOR_OBJECT_INSTANCE;
}
M_Turn_Updates_Off_For_Object_Instance::~M_Turn_Updates_Off_For_Object_Instance()
{
@@ -477,7 +1190,7 @@
M_Request_Attribute_Ownership_Divestiture::M_Request_Attribute_Ownership_Divestiture()
{
this->name = "M_Request_Attribute_Ownership_Divestiture";
- this->type = REQUEST_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
+ this->type = Message:: REQUEST_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
}
M_Request_Attribute_Ownership_Divestiture::~M_Request_Attribute_Ownership_Divestiture()
{
@@ -485,23 +1198,75 @@
M_Request_Attribute_Ownership_Assumption::M_Request_Attribute_Ownership_Assumption()
{
this->name = "M_Request_Attribute_Ownership_Assumption";
- this->type = REQUEST_ATTRIBUTE_OWNERSHIP_ASSUMPTION;
+ this->type = Message:: REQUEST_ATTRIBUTE_OWNERSHIP_ASSUMPTION;
+ //object= <no default value in message spec using builtin>
+ //attributes= <no default value in message spec using builtin>
+ }
+
+
M_Request_Attribute_Ownership_Assumption::~M_Request_Attribute_Ownership_Assumption()
{
+ }
+
+ void M_Request_Attribute_Ownership_Assumption::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ uint32_t attributesSize = attributes.size();
+ msgBuffer.write_uint32(attributesSize);
+ for (uint32_t i = 0; i < attributesSize; ++i) {
+ msgBuffer.write_uint32(attributes[i]);
+ }
}
-
M_Request_Attribute_Ownership_Assumption::~M_Request_Attribute_Ownership_Assumption()
{
+ void M_Request_Attribute_Ownership_Assumption::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ uint32_t attributesSize = msgBuffer.read_uint32();
+ attributes.resize(attributesSize);
+ for (uint32_t i = 0; i < attributesSize; ++i) {
+ attributes[i] = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ }
}
M_Negotiated_Attribute_Ownership_Divestiture::M_Negotiated_Attribute_Ownership_Divestiture()
{
this->name = "M_Negotiated_Attribute_Ownership_Divestiture";
- this->type = NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
+ this->type = Message:: NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
+ //object= <no default value in message spec using builtin>
+ //attributes= <no default value in message spec using builtin>
}
M_Negotiated_Attribute_Ownership_Divestiture::~M_Negotiated_Attribute_Ownership_Divestiture()
{
}
+ void M_Negotiated_Attribute_Ownership_Divestiture::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ uint32_t attributesSize = attributes.size();
+ msgBuffer.write_uint32(attributesSize);
+ for (uint32_t i = 0; i < attributesSize; ++i) {
+ msgBuffer.write_uint32(attributes[i]);
+ }
+ }
+
+ void
M_Negotiated_Attribute_Ownership_Divestiture::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ uint32_t attributesSize = msgBuffer.read_uint32();
+ attributes.resize(attributesSize);
+ for (uint32_t i = 0; i < attributesSize; ++i) {
+ attributes[i] = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ }
+ }
+
M_Attribute_Ownership_Divestiture_Notification::M_Attribute_Ownership_Divestiture_Notification()
{
this->name = "M_Attribute_Ownership_Divestiture_Notification";
- this->type = ATTRIBUTE_OWNERSHIP_DIVESTITURE_NOTIFICATION;
+ this->type = Message:: ATTRIBUTE_OWNERSHIP_DIVESTITURE_NOTIFICATION;
}
M_Attribute_Ownership_Divestiture_Notification::~M_Attribute_Ownership_Divestiture_Notification()
{
@@ -509,7 +1274,7 @@
M_Attribute_Ownership_Acquisition_Notification::M_Attribute_Ownership_Acquisition_Notification()
{
this->name = "M_Attribute_Ownership_Acquisition_Notification";
- this->type = ATTRIBUTE_OWNERSHIP_ACQUISITION_NOTIFICATION;
+ this->type = Message:: ATTRIBUTE_OWNERSHIP_ACQUISITION_NOTIFICATION;
}
M_Attribute_Ownership_Acquisition_Notification::~M_Attribute_Ownership_Acquisition_Notification()
{
@@ -517,55 +1282,185 @@
M_Request_Attribute_Ownership_Acquisition::M_Request_Attribute_Ownership_Acquisition()
{
this->name = "M_Request_Attribute_Ownership_Acquisition";
- this->type = REQUEST_ATTRIBUTE_OWNERSHIP_ACQUISITION;
+ this->type = Message:: REQUEST_ATTRIBUTE_OWNERSHIP_ACQUISITION;
+ //object= <no default value in message spec using builtin>
+ //attributes= <no default value in message spec using builtin>
}
M_Request_Attribute_Ownership_Acquisition::~M_Request_Attribute_Ownership_Acquisition()
{
}
+ void M_Request_Attribute_Ownership_Acquisition::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ uint32_t attributesSize = attributes.size();
+ msgBuffer.write_uint32(attributesSize);
+ for (uint32_t i = 0; i < attributesSize; ++i) {
+ msgBuffer.write_uint32(attributes[i]);
+ }
+ }
+
+ void M_Request_Attribute_Ownership_Acquisition::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ uint32_t attributesSize = msgBuffer.read_uint32();
+ attributes.resize(attributesSize);
+ for (uint32_t i = 0; i < attributesSize; ++i) {
+ attributes[i] = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ }
+ }
+
M_Request_Attribute_Ownership_Release::M_Request_Attribute_Ownership_Release() {
this->name = "M_Request_Attribute_Ownership_Release";
- this->type = REQUEST_ATTRIBUTE_OWNERSHIP_RELEASE;
+ this->type = Message:: REQUEST_ATTRIBUTE_OWNERSHIP_RELEASE;
+ //object= <no default value in message spec using builtin>
+ //attributes= <no default value in message spec using builtin>
}
M_Request_Attribute_Ownership_Release::~M_Request_Attribute_Ownership_Release()
{
}
+ void M_Request_Attribute_Ownership_Release::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ uint32_t attributesSize = attributes.size();
+ msgBuffer.write_uint32(attributesSize);
+ for (uint32_t i = 0; i < attributesSize; ++i) {
+ msgBuffer.write_uint32(attributes[i]);
+ }
+ }
+
+ void M_Request_Attribute_Ownership_Release::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ uint32_t attributesSize = msgBuffer.read_uint32();
+ attributes.resize(attributesSize);
+ for (uint32_t i = 0; i < attributesSize; ++i) {
+ attributes[i] = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ }
+ }
+
M_Query_Attribute_Ownership::M_Query_Attribute_Ownership() {
this->name = "M_Query_Attribute_Ownership";
- this->type = QUERY_ATTRIBUTE_OWNERSHIP;
+ this->type = Message:: QUERY_ATTRIBUTE_OWNERSHIP;
+ //object= <no default value in message spec using builtin>
+ //attribute= <no default value in message spec using builtin>
}
M_Query_Attribute_Ownership::~M_Query_Attribute_Ownership() {
}
+ void M_Query_Attribute_Ownership::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ msgBuffer.write_uint32(attribute);
+ }
+
+ void M_Query_Attribute_Ownership::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ attribute = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ }
+
M_Inform_Attribute_Ownership::M_Inform_Attribute_Ownership() {
this->name = "M_Inform_Attribute_Ownership";
- this->type = INFORM_ATTRIBUTE_OWNERSHIP;
+ this->type = Message:: INFORM_ATTRIBUTE_OWNERSHIP;
+ //object= <no default value in message spec using builtin>
+ //attribute= <no default value in message spec using builtin>
+ //federate= <no default value in message spec using builtin>
}
M_Inform_Attribute_Ownership::~M_Inform_Attribute_Ownership() {
}
+ void M_Inform_Attribute_Ownership::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ msgBuffer.write_uint32(attribute);
+ msgBuffer.write_uint32(federate);
+ }
+
+ void M_Inform_Attribute_Ownership::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ attribute = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ federate = static_cast<FederateHandle>(msgBuffer.read_uint32());
+ }
+
M_Is_Attribute_Owned_By_Federate::M_Is_Attribute_Owned_By_Federate() {
this->name = "M_Is_Attribute_Owned_By_Federate";
- this->type = IS_ATTRIBUTE_OWNED_BY_FEDERATE;
+ this->type = Message:: IS_ATTRIBUTE_OWNED_BY_FEDERATE;
+ //object= <no default value in message spec using builtin>
+ //attribute= <no default value in message spec using builtin>
}
M_Is_Attribute_Owned_By_Federate::~M_Is_Attribute_Owned_By_Federate() {
}
+ void M_Is_Attribute_Owned_By_Federate::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ msgBuffer.write_uint32(attribute);
+ }
+
+ void M_Is_Attribute_Owned_By_Federate::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ attribute = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ }
+
M_Attribute_Is_Not_Owned::M_Attribute_Is_Not_Owned() {
this->name = "M_Attribute_Is_Not_Owned";
- this->type = ATTRIBUTE_IS_NOT_OWNED;
+ this->type = Message:: ATTRIBUTE_IS_NOT_OWNED;
+ //object= <no default value in message spec using builtin>
+ //attribute= <no default value in message spec using builtin>
+ //federate= <no default value in message spec using builtin>
}
M_Attribute_Is_Not_Owned::~M_Attribute_Is_Not_Owned() {
}
+ void M_Attribute_Is_Not_Owned::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ msgBuffer.write_uint32(attribute);
+ msgBuffer.write_uint32(federate);
+ }
+
+ void M_Attribute_Is_Not_Owned::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ attribute = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ federate = static_cast<FederateHandle>(msgBuffer.read_uint32());
+ }
+
M_Attribute_Owned_By_Rti::M_Attribute_Owned_By_Rti() {
this->name = "M_Attribute_Owned_By_Rti";
- this->type = ATTRIBUTE_OWNED_BY_RTI;
+ this->type = Message:: ATTRIBUTE_OWNED_BY_RTI;
}
M_Attribute_Owned_By_Rti::~M_Attribute_Owned_By_Rti() {
@@ -573,7 +1468,7 @@
M_Attribute_Ownership_Acquisition_If_Available::M_Attribute_Ownership_Acquisition_If_Available()
{
this->name = "M_Attribute_Ownership_Acquisition_If_Available";
- this->type = ATTRIBUTE_OWNERSHIP_ACQUISITION_IF_AVAILABLE;
+ this->type = Message:: ATTRIBUTE_OWNERSHIP_ACQUISITION_IF_AVAILABLE;
}
M_Attribute_Ownership_Acquisition_If_Available::~M_Attribute_Ownership_Acquisition_If_Available()
{
@@ -581,7 +1476,7 @@
M_Attribute_Ownership_Unavailable::M_Attribute_Ownership_Unavailable() {
this->name = "M_Attribute_Ownership_Unavailable";
- this->type = ATTRIBUTE_OWNERSHIP_UNAVAILABLE;
+ this->type = Message:: ATTRIBUTE_OWNERSHIP_UNAVAILABLE;
}
M_Attribute_Ownership_Unavailable::~M_Attribute_Ownership_Unavailable() {
@@ -589,7 +1484,7 @@
M_Unconditional_Attribute_Ownership_Divestiture::M_Unconditional_Attribute_Ownership_Divestiture()
{
this->name = "M_Unconditional_Attribute_Ownership_Divestiture";
- this->type = UNCONDITIONAL_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
+ this->type = Message:: UNCONDITIONAL_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
}
M_Unconditional_Attribute_Ownership_Divestiture::~M_Unconditional_Attribute_Ownership_Divestiture()
{
@@ -597,7 +1492,7 @@
M_Attribute_Ownership_Acquisition::M_Attribute_Ownership_Acquisition() {
this->name = "M_Attribute_Ownership_Acquisition";
- this->type = ATTRIBUTE_OWNERSHIP_ACQUISITION;
+ this->type = Message:: ATTRIBUTE_OWNERSHIP_ACQUISITION;
}
M_Attribute_Ownership_Acquisition::~M_Attribute_Ownership_Acquisition() {
@@ -605,15 +1500,41 @@
M_Cancel_Negotiated_Attribute_Ownership_Divestiture::M_Cancel_Negotiated_Attribute_Ownership_Divestiture()
{
this->name = "M_Cancel_Negotiated_Attribute_Ownership_Divestiture";
- this->type = CANCEL_NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
+ this->type = Message:: CANCEL_NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
+ //object= <no default value in message spec using builtin>
+ //attributes= <no default value in message spec using builtin>
}
M_Cancel_Negotiated_Attribute_Ownership_Divestiture::~M_Cancel_Negotiated_Attribute_Ownership_Divestiture()
{
}
+ void
M_Cancel_Negotiated_Attribute_Ownership_Divestiture::serialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ uint32_t attributesSize = attributes.size();
+ msgBuffer.write_uint32(attributesSize);
+ for (uint32_t i = 0; i < attributesSize; ++i) {
+ msgBuffer.write_uint32(attributes[i]);
+ }
+ }
+
+ void
M_Cancel_Negotiated_Attribute_Ownership_Divestiture::deserialize(MessageBuffer&
msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ uint32_t attributesSize = msgBuffer.read_uint32();
+ attributes.resize(attributesSize);
+ for (uint32_t i = 0; i < attributesSize; ++i) {
+ attributes[i] = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ }
+ }
+
M_Attribute_Ownership_Release_Response::M_Attribute_Ownership_Release_Response()
{
this->name = "M_Attribute_Ownership_Release_Response";
- this->type = ATTRIBUTE_OWNERSHIP_RELEASE_RESPONSE;
+ this->type = Message:: ATTRIBUTE_OWNERSHIP_RELEASE_RESPONSE;
}
M_Attribute_Ownership_Release_Response::~M_Attribute_Ownership_Release_Response()
{
@@ -621,7 +1542,7 @@
M_Cancel_Attribute_Ownership_Acquisition::M_Cancel_Attribute_Ownership_Acquisition()
{
this->name = "M_Cancel_Attribute_Ownership_Acquisition";
- this->type = CANCEL_ATTRIBUTE_OWNERSHIP_ACQUISITION;
+ this->type = Message:: CANCEL_ATTRIBUTE_OWNERSHIP_ACQUISITION;
}
M_Cancel_Attribute_Ownership_Acquisition::~M_Cancel_Attribute_Ownership_Acquisition()
{
@@ -629,7 +1550,7 @@
M_Confirm_Attribute_Ownership_Acquisition_Cancellation::M_Confirm_Attribute_Ownership_Acquisition_Cancellation()
{
this->name = "M_Confirm_Attribute_Ownership_Acquisition_Cancellation";
- this->type = CONFIRM_ATTRIBUTE_OWNERSHIP_ACQUISITION_CANCELLATION;
+ this->type = Message::
CONFIRM_ATTRIBUTE_OWNERSHIP_ACQUISITION_CANCELLATION;
}
M_Confirm_Attribute_Ownership_Acquisition_Cancellation::~M_Confirm_Attribute_Ownership_Acquisition_Cancellation()
{
@@ -637,24 +1558,77 @@
M_Change_Attribute_Order_Type::M_Change_Attribute_Order_Type() {
this->name = "M_Change_Attribute_Order_Type";
- this->type = CHANGE_ATTRIBUTE_ORDER_TYPE;
+ this->type = Message:: CHANGE_ATTRIBUTE_ORDER_TYPE;
+ //transport= <no default value in message spec using builtin>
+ //order= <no default value in message spec using builtin>
+ //object= <no default value in message spec using builtin>
+ //handles= <no default value in message spec using builtin>
}
M_Change_Attribute_Order_Type::~M_Change_Attribute_Order_Type() {
}
+ void M_Change_Attribute_Order_Type::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint8(transport);
+ msgBuffer.write_uint8(order);
+ msgBuffer.write_uint32(object);
+ uint32_t handlesSize = handles.size();
+ msgBuffer.write_uint32(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ msgBuffer.write_uint64(handles[i]);
+ }
+ }
+
+ void M_Change_Attribute_Order_Type::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ transport = static_cast<TransportType>(msgBuffer.read_uint8());
+ order = static_cast<OrderType>(msgBuffer.read_uint8());
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ uint32_t handlesSize = msgBuffer.read_uint32();
+ handles.resize(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ handles[i] = static_cast<Handle>(msgBuffer.read_uint64());
+ }
+ }
+
M_Change_Interaction_Order_Type::M_Change_Interaction_Order_Type() {
this->name = "M_Change_Interaction_Order_Type";
- this->type = CHANGE_INTERACTION_ORDER_TYPE;
+ this->type = Message:: CHANGE_INTERACTION_ORDER_TYPE;
+ //interactionClass= <no default value in message spec using builtin>
+ //transport= <no default value in message spec using builtin>
+ //order= <no default value in message spec using builtin>
}
M_Change_Interaction_Order_Type::~M_Change_Interaction_Order_Type() {
}
+ void M_Change_Interaction_Order_Type::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ msgBuffer.write_uint8(transport);
+ msgBuffer.write_uint8(order);
+ }
+
+ void M_Change_Interaction_Order_Type::deserialize(MessageBuffer& msgBuffer)
{
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ transport = static_cast<TransportType>(msgBuffer.read_uint8());
+ order = static_cast<OrderType>(msgBuffer.read_uint8());
+ }
+
M_Enable_Time_Regulation::M_Enable_Time_Regulation() {
this->name = "M_Enable_Time_Regulation";
- this->type = ENABLE_TIME_REGULATION;
- //fedTime= <no default value in message spec using builtin>
+ this->type = Message:: ENABLE_TIME_REGULATION;
+ //enable= <no default value in message spec using builtin>
//lookahead= <no default value in message spec using builtin>
}
@@ -665,7 +1639,7 @@
//Call mother class
Super::serialize(msgBuffer);
//Specific serialization code
- msgBuffer.write_double(fedTime);
+ msgBuffer.write_bool(enable);
msgBuffer.write_double(lookahead);
}
@@ -673,37 +1647,91 @@
//Call mother class
Super::deserialize(msgBuffer);
//Specific deserialization code
- fedTime = msgBuffer.read_double();
+ enable = msgBuffer.read_bool();
lookahead = msgBuffer.read_double();
}
M_Disable_Time_Regulation::M_Disable_Time_Regulation() {
this->name = "M_Disable_Time_Regulation";
- this->type = DISABLE_TIME_REGULATION;
+ this->type = Message:: DISABLE_TIME_REGULATION;
+ //enable= <no default value in message spec using builtin>
+ //lookahead= <no default value in message spec using builtin>
}
M_Disable_Time_Regulation::~M_Disable_Time_Regulation() {
}
+ void M_Disable_Time_Regulation::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_bool(enable);
+ msgBuffer.write_double(lookahead);
+ }
+
+ void M_Disable_Time_Regulation::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ enable = msgBuffer.read_bool();
+ lookahead = msgBuffer.read_double();
+ }
+
M_Enable_Time_Constrained::M_Enable_Time_Constrained() {
this->name = "M_Enable_Time_Constrained";
- this->type = ENABLE_TIME_CONSTRAINED;
+ this->type = Message:: ENABLE_TIME_CONSTRAINED;
+ //enable= <no default value in message spec using builtin>
+ //lookahead= <no default value in message spec using builtin>
}
M_Enable_Time_Constrained::~M_Enable_Time_Constrained() {
}
+ void M_Enable_Time_Constrained::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_bool(enable);
+ msgBuffer.write_double(lookahead);
+ }
+
+ void M_Enable_Time_Constrained::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ enable = msgBuffer.read_bool();
+ lookahead = msgBuffer.read_double();
+ }
+
M_Disable_Time_Constrained::M_Disable_Time_Constrained() {
this->name = "M_Disable_Time_Constrained";
- this->type = DISABLE_TIME_CONSTRAINED;
+ this->type = Message:: DISABLE_TIME_CONSTRAINED;
+ //enable= <no default value in message spec using builtin>
+ //lookahead= <no default value in message spec using builtin>
}
M_Disable_Time_Constrained::~M_Disable_Time_Constrained() {
}
+ void M_Disable_Time_Constrained::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_bool(enable);
+ msgBuffer.write_double(lookahead);
+ }
+
+ void M_Disable_Time_Constrained::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ enable = msgBuffer.read_bool();
+ lookahead = msgBuffer.read_double();
+ }
+
M_Query_Lbts::M_Query_Lbts() {
this->name = "M_Query_Lbts";
- this->type = QUERY_LBTS;
+ this->type = Message:: QUERY_LBTS;
}
M_Query_Lbts::~M_Query_Lbts() {
@@ -711,7 +1739,7 @@
M_Query_Federate_Time::M_Query_Federate_Time() {
this->name = "M_Query_Federate_Time";
- this->type = QUERY_FEDERATE_TIME;
+ this->type = Message:: QUERY_FEDERATE_TIME;
}
M_Query_Federate_Time::~M_Query_Federate_Time() {
@@ -719,7 +1747,7 @@
M_Query_Min_Next_Event_Time::M_Query_Min_Next_Event_Time() {
this->name = "M_Query_Min_Next_Event_Time";
- this->type = QUERY_MIN_NEXT_EVENT_TIME;
+ this->type = Message:: QUERY_MIN_NEXT_EVENT_TIME;
}
M_Query_Min_Next_Event_Time::~M_Query_Min_Next_Event_Time() {
@@ -727,23 +1755,53 @@
M_Modify_Lookahead::M_Modify_Lookahead() {
this->name = "M_Modify_Lookahead";
- this->type = MODIFY_LOOKAHEAD;
+ this->type = Message:: MODIFY_LOOKAHEAD;
+ //lookahead= <no default value in message spec using builtin>
}
M_Modify_Lookahead::~M_Modify_Lookahead() {
}
+ void M_Modify_Lookahead::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_double(lookahead);
+ }
+
+ void M_Modify_Lookahead::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ lookahead = msgBuffer.read_double();
+ }
+
M_Query_Lookahead::M_Query_Lookahead() {
this->name = "M_Query_Lookahead";
- this->type = QUERY_LOOKAHEAD;
+ this->type = Message:: QUERY_LOOKAHEAD;
+ //lookahead= <no default value in message spec using builtin>
}
M_Query_Lookahead::~M_Query_Lookahead() {
}
+ void M_Query_Lookahead::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_double(lookahead);
+ }
+
+ void M_Query_Lookahead::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ lookahead = msgBuffer.read_double();
+ }
+
M_Retract::M_Retract() {
this->name = "M_Retract";
- this->type = RETRACT;
+ this->type = Message:: RETRACT;
}
M_Retract::~M_Retract() {
@@ -751,7 +1809,7 @@
M_Request_Retraction::M_Request_Retraction() {
this->name = "M_Request_Retraction";
- this->type = REQUEST_RETRACTION;
+ this->type = Message:: REQUEST_RETRACTION;
}
M_Request_Retraction::~M_Request_Retraction() {
@@ -759,7 +1817,7 @@
M_Time_Advance_Request::M_Time_Advance_Request() {
this->name = "M_Time_Advance_Request";
- this->type = TIME_ADVANCE_REQUEST;
+ this->type = Message:: TIME_ADVANCE_REQUEST;
}
M_Time_Advance_Request::~M_Time_Advance_Request() {
@@ -767,7 +1825,7 @@
M_Time_Advance_Request_Available::M_Time_Advance_Request_Available() {
this->name = "M_Time_Advance_Request_Available";
- this->type = TIME_ADVANCE_REQUEST_AVAILABLE;
+ this->type = Message:: TIME_ADVANCE_REQUEST_AVAILABLE;
}
M_Time_Advance_Request_Available::~M_Time_Advance_Request_Available() {
@@ -775,7 +1833,7 @@
M_Next_Event_Request::M_Next_Event_Request() {
this->name = "M_Next_Event_Request";
- this->type = NEXT_EVENT_REQUEST;
+ this->type = Message:: NEXT_EVENT_REQUEST;
}
M_Next_Event_Request::~M_Next_Event_Request() {
@@ -783,7 +1841,7 @@
M_Next_Event_Request_Available::M_Next_Event_Request_Available() {
this->name = "M_Next_Event_Request_Available";
- this->type = NEXT_EVENT_REQUEST_AVAILABLE;
+ this->type = Message:: NEXT_EVENT_REQUEST_AVAILABLE;
}
M_Next_Event_Request_Available::~M_Next_Event_Request_Available() {
@@ -791,7 +1849,7 @@
M_Flush_Queue_Request::M_Flush_Queue_Request() {
this->name = "M_Flush_Queue_Request";
- this->type = FLUSH_QUEUE_REQUEST;
+ this->type = Message:: FLUSH_QUEUE_REQUEST;
}
M_Flush_Queue_Request::~M_Flush_Queue_Request() {
@@ -799,7 +1857,7 @@
M_Time_Advance_Grant::M_Time_Advance_Grant() {
this->name = "M_Time_Advance_Grant";
- this->type = TIME_ADVANCE_GRANT;
+ this->type = Message:: TIME_ADVANCE_GRANT;
}
M_Time_Advance_Grant::~M_Time_Advance_Grant() {
@@ -807,7 +1865,7 @@
M_Enable_Asynchronous_Delivery::M_Enable_Asynchronous_Delivery() {
this->name = "M_Enable_Asynchronous_Delivery";
- this->type = ENABLE_ASYNCHRONOUS_DELIVERY;
+ this->type = Message:: ENABLE_ASYNCHRONOUS_DELIVERY;
}
M_Enable_Asynchronous_Delivery::~M_Enable_Asynchronous_Delivery() {
@@ -815,7 +1873,7 @@
M_Disable_Asynchronous_Delivery::M_Disable_Asynchronous_Delivery() {
this->name = "M_Disable_Asynchronous_Delivery";
- this->type = DISABLE_ASYNCHRONOUS_DELIVERY;
+ this->type = Message:: DISABLE_ASYNCHRONOUS_DELIVERY;
}
M_Disable_Asynchronous_Delivery::~M_Disable_Asynchronous_Delivery() {
@@ -823,7 +1881,7 @@
M_Time_Regulation_Enabled::M_Time_Regulation_Enabled() {
this->name = "M_Time_Regulation_Enabled";
- this->type = TIME_REGULATION_ENABLED;
+ this->type = Message:: TIME_REGULATION_ENABLED;
}
M_Time_Regulation_Enabled::~M_Time_Regulation_Enabled() {
@@ -831,7 +1889,7 @@
M_Time_Constrained_Enabled::M_Time_Constrained_Enabled() {
this->name = "M_Time_Constrained_Enabled";
- this->type = TIME_CONSTRAINED_ENABLED;
+ this->type = Message:: TIME_CONSTRAINED_ENABLED;
}
M_Time_Constrained_Enabled::~M_Time_Constrained_Enabled() {
@@ -839,87 +1897,295 @@
M_Ddm_Create_Region::M_Ddm_Create_Region() {
this->name = "M_Ddm_Create_Region";
- this->type = DDM_CREATE_REGION;
+ this->type = Message:: DDM_CREATE_REGION;
+ //space= <no default value in message spec using builtin>
+ //nbExtent= <no default value in message spec using builtin>
+ //region= <no default value in message spec using builtin>
}
M_Ddm_Create_Region::~M_Ddm_Create_Region() {
}
+ void M_Ddm_Create_Region::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(space);
+ msgBuffer.write_uint32(nbExtent);
+ msgBuffer.write_uint32(region);
+ }
+
+ void M_Ddm_Create_Region::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ space = static_cast<SpaceHandle>(msgBuffer.read_uint32());
+ nbExtent = msgBuffer.read_uint32();
+ region = static_cast<RegionHandle>(msgBuffer.read_uint32());
+ }
+
M_Ddm_Modify_Region::M_Ddm_Modify_Region() {
this->name = "M_Ddm_Modify_Region";
- this->type = DDM_MODIFY_REGION;
+ this->type = Message:: DDM_MODIFY_REGION;
+ //region= <no default value in message spec using builtin>
}
M_Ddm_Modify_Region::~M_Ddm_Modify_Region() {
}
+ void M_Ddm_Modify_Region::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(region);
+ }
+
+ void M_Ddm_Modify_Region::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ region = static_cast<RegionHandle>(msgBuffer.read_uint32());
+ }
+
M_Ddm_Delete_Region::M_Ddm_Delete_Region() {
this->name = "M_Ddm_Delete_Region";
- this->type = DDM_DELETE_REGION;
+ this->type = Message:: DDM_DELETE_REGION;
+ //region= <no default value in message spec using builtin>
}
M_Ddm_Delete_Region::~M_Ddm_Delete_Region() {
}
+ void M_Ddm_Delete_Region::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(region);
+ }
+
+ void M_Ddm_Delete_Region::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ region = static_cast<RegionHandle>(msgBuffer.read_uint32());
+ }
+
M_Ddm_Register_Object::M_Ddm_Register_Object() {
this->name = "M_Ddm_Register_Object";
- this->type = DDM_REGISTER_OBJECT;
+ this->type = Message:: DDM_REGISTER_OBJECT;
+ //objectClass= <no default value in message spec using builtin>
+ //object= <no default value in message spec using builtin>
+ //handles= <no default value in message spec using builtin>
}
M_Ddm_Register_Object::~M_Ddm_Register_Object() {
}
+ void M_Ddm_Register_Object::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_uint32(object);
+ uint32_t handlesSize = handles.size();
+ msgBuffer.write_uint32(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ msgBuffer.write_uint32(handles[i]);
+ }
+ }
+
+ void M_Ddm_Register_Object::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ uint32_t handlesSize = msgBuffer.read_uint32();
+ handles.resize(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ handles[i] = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ }
+ }
+
M_Ddm_Associate_Region::M_Ddm_Associate_Region() {
this->name = "M_Ddm_Associate_Region";
- this->type = DDM_ASSOCIATE_REGION;
+ this->type = Message:: DDM_ASSOCIATE_REGION;
+ //object= <no default value in message spec using builtin>
+ //region= <no default value in message spec using builtin>
}
M_Ddm_Associate_Region::~M_Ddm_Associate_Region() {
}
+ void M_Ddm_Associate_Region::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ msgBuffer.write_uint32(region);
+ }
+
+ void M_Ddm_Associate_Region::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ region = static_cast<RegionHandle>(msgBuffer.read_uint32());
+ }
+
M_Ddm_Unassociate_Region::M_Ddm_Unassociate_Region() {
this->name = "M_Ddm_Unassociate_Region";
- this->type = DDM_UNASSOCIATE_REGION;
+ this->type = Message:: DDM_UNASSOCIATE_REGION;
+ //object= <no default value in message spec using builtin>
+ //region= <no default value in message spec using builtin>
}
M_Ddm_Unassociate_Region::~M_Ddm_Unassociate_Region() {
}
+ void M_Ddm_Unassociate_Region::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ msgBuffer.write_uint32(region);
+ }
+
+ void M_Ddm_Unassociate_Region::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ region = static_cast<RegionHandle>(msgBuffer.read_uint32());
+ }
+
M_Ddm_Subscribe_Attributes::M_Ddm_Subscribe_Attributes() {
this->name = "M_Ddm_Subscribe_Attributes";
- this->type = DDM_SUBSCRIBE_ATTRIBUTES;
+ this->type = Message:: DDM_SUBSCRIBE_ATTRIBUTES;
+ //objectClass= <no default value in message spec using builtin>
+ //region= <no default value in message spec using builtin>
+ //passive= <no default value in message spec using builtin>
+ //handles= <no default value in message spec using builtin>
+ }
+
+ M_Ddm_Subscribe_Attributes::~M_Ddm_Subscribe_Attributes() {
+ }
+
+ void M_Ddm_Subscribe_Attributes::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_uint32(region);
+ msgBuffer.write_bool(passive);
+ uint32_t handlesSize = handles.size();
+ msgBuffer.write_uint32(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ msgBuffer.write_uint32(handles[i]);
+ }
+ }
+
+ void M_Ddm_Subscribe_Attributes::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ region = static_cast<RegionHandle>(msgBuffer.read_uint32());
+ passive = msgBuffer.read_bool();
+ uint32_t handlesSize = msgBuffer.read_uint32();
+ handles.resize(handlesSize);
+ for (uint32_t i = 0; i < handlesSize; ++i) {
+ handles[i] = static_cast<AttributeHandle>(msgBuffer.read_uint32());
}
-
- M_Ddm_Subscribe_Attributes::~M_Ddm_Subscribe_Attributes() {
}
M_Ddm_Unsubscribe_Attributes::M_Ddm_Unsubscribe_Attributes() {
this->name = "M_Ddm_Unsubscribe_Attributes";
- this->type = DDM_UNSUBSCRIBE_ATTRIBUTES;
+ this->type = Message:: DDM_UNSUBSCRIBE_ATTRIBUTES;
+ //objectClass= <no default value in message spec using builtin>
+ //region= <no default value in message spec using builtin>
}
M_Ddm_Unsubscribe_Attributes::~M_Ddm_Unsubscribe_Attributes() {
}
+ void M_Ddm_Unsubscribe_Attributes::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_uint32(region);
+ }
+
+ void M_Ddm_Unsubscribe_Attributes::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ region = static_cast<RegionHandle>(msgBuffer.read_uint32());
+ }
+
M_Ddm_Subscribe_Interaction::M_Ddm_Subscribe_Interaction() {
this->name = "M_Ddm_Subscribe_Interaction";
- this->type = DDM_SUBSCRIBE_INTERACTION;
+ this->type = Message:: DDM_SUBSCRIBE_INTERACTION;
+ //interactionClass= <no default value in message spec using builtin>
+ //region= <no default value in message spec using builtin>
+ //passive= <no default value in message spec using builtin>
}
M_Ddm_Subscribe_Interaction::~M_Ddm_Subscribe_Interaction() {
}
+ void M_Ddm_Subscribe_Interaction::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ msgBuffer.write_uint32(region);
+ msgBuffer.write_bool(passive);
+ }
+
+ void M_Ddm_Subscribe_Interaction::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ region = static_cast<RegionHandle>(msgBuffer.read_uint32());
+ passive = msgBuffer.read_bool();
+ }
+
M_Ddm_Unsubscribe_Interaction::M_Ddm_Unsubscribe_Interaction() {
this->name = "M_Ddm_Unsubscribe_Interaction";
- this->type = DDM_UNSUBSCRIBE_INTERACTION;
+ this->type = Message:: DDM_UNSUBSCRIBE_INTERACTION;
+ //interactionClass= <no default value in message spec using builtin>
+ //region= <no default value in message spec using builtin>
+ //passive= <no default value in message spec using builtin>
}
M_Ddm_Unsubscribe_Interaction::~M_Ddm_Unsubscribe_Interaction() {
}
+ void M_Ddm_Unsubscribe_Interaction::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ msgBuffer.write_uint32(region);
+ msgBuffer.write_bool(passive);
+ }
+
+ void M_Ddm_Unsubscribe_Interaction::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ region = static_cast<RegionHandle>(msgBuffer.read_uint32());
+ passive = msgBuffer.read_bool();
+ }
+
M_Ddm_Request_Update::M_Ddm_Request_Update() {
this->name = "M_Ddm_Request_Update";
- this->type = DDM_REQUEST_UPDATE;
+ this->type = Message:: DDM_REQUEST_UPDATE;
}
M_Ddm_Request_Update::~M_Ddm_Request_Update() {
@@ -927,175 +2193,586 @@
M_Get_Object_Class_Handle::M_Get_Object_Class_Handle() {
this->name = "M_Get_Object_Class_Handle";
- this->type = GET_OBJECT_CLASS_HANDLE;
+ this->type = Message:: GET_OBJECT_CLASS_HANDLE;
+ //objectClass= <no default value in message spec using builtin>
+ //name= <no default value in message spec using builtin>
+ //attribute= <no default value in message spec using builtin>
}
M_Get_Object_Class_Handle::~M_Get_Object_Class_Handle() {
}
+ void M_Get_Object_Class_Handle::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint32(attribute);
+ }
+
+ void M_Get_Object_Class_Handle::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(name);
+ attribute = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Object_Class_Name::M_Get_Object_Class_Name() {
this->name = "M_Get_Object_Class_Name";
- this->type = GET_OBJECT_CLASS_NAME;
+ this->type = Message:: GET_OBJECT_CLASS_NAME;
+ //objectClass= <no default value in message spec using builtin>
+ //name= <no default value in message spec using builtin>
+ //attribute= <no default value in message spec using builtin>
}
M_Get_Object_Class_Name::~M_Get_Object_Class_Name() {
}
+ void M_Get_Object_Class_Name::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint32(attribute);
+ }
+
+ void M_Get_Object_Class_Name::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(name);
+ attribute = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Attribute_Handle::M_Get_Attribute_Handle() {
this->name = "M_Get_Attribute_Handle";
- this->type = GET_ATTRIBUTE_HANDLE;
+ this->type = Message:: GET_ATTRIBUTE_HANDLE;
+ //objectClass= <no default value in message spec using builtin>
+ //name= <no default value in message spec using builtin>
+ //attribute= <no default value in message spec using builtin>
}
M_Get_Attribute_Handle::~M_Get_Attribute_Handle() {
}
+ void M_Get_Attribute_Handle::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint32(attribute);
+ }
+
+ void M_Get_Attribute_Handle::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(name);
+ attribute = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Attribute_Name::M_Get_Attribute_Name() {
this->name = "M_Get_Attribute_Name";
- this->type = GET_ATTRIBUTE_NAME;
+ this->type = Message:: GET_ATTRIBUTE_NAME;
+ //objectClass= <no default value in message spec using builtin>
+ //name= <no default value in message spec using builtin>
+ //attribute= <no default value in message spec using builtin>
}
M_Get_Attribute_Name::~M_Get_Attribute_Name() {
}
+ void M_Get_Attribute_Name::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint32(attribute);
+ }
+
+ void M_Get_Attribute_Name::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(name);
+ attribute = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Interaction_Class_Handle::M_Get_Interaction_Class_Handle() {
this->name = "M_Get_Interaction_Class_Handle";
- this->type = GET_INTERACTION_CLASS_HANDLE;
+ this->type = Message:: GET_INTERACTION_CLASS_HANDLE;
+ //interactionClass= <no default value in message spec using builtin>
+ //name= <no default value in message spec using builtin>
+ //parameter= <no default value in message spec using builtin>
}
M_Get_Interaction_Class_Handle::~M_Get_Interaction_Class_Handle() {
}
+ void M_Get_Interaction_Class_Handle::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint32(parameter);
+ }
+
+ void M_Get_Interaction_Class_Handle::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(name);
+ parameter = static_cast<ParameterHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Interaction_Class_Name::M_Get_Interaction_Class_Name() {
this->name = "M_Get_Interaction_Class_Name";
- this->type = GET_INTERACTION_CLASS_NAME;
+ this->type = Message:: GET_INTERACTION_CLASS_NAME;
+ //interactionClass= <no default value in message spec using builtin>
+ //name= <no default value in message spec using builtin>
+ //parameter= <no default value in message spec using builtin>
}
M_Get_Interaction_Class_Name::~M_Get_Interaction_Class_Name() {
}
+ void M_Get_Interaction_Class_Name::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint32(parameter);
+ }
+
+ void M_Get_Interaction_Class_Name::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(name);
+ parameter = static_cast<ParameterHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Parameter_Handle::M_Get_Parameter_Handle() {
this->name = "M_Get_Parameter_Handle";
- this->type = GET_PARAMETER_HANDLE;
+ this->type = Message:: GET_PARAMETER_HANDLE;
+ //interactionClass= <no default value in message spec using builtin>
+ //name= <no default value in message spec using builtin>
+ //parameter= <no default value in message spec using builtin>
}
M_Get_Parameter_Handle::~M_Get_Parameter_Handle() {
}
+ void M_Get_Parameter_Handle::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint32(parameter);
+ }
+
+ void M_Get_Parameter_Handle::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(name);
+ parameter = static_cast<ParameterHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Parameter_Name::M_Get_Parameter_Name() {
this->name = "M_Get_Parameter_Name";
- this->type = GET_PARAMETER_NAME;
+ this->type = Message:: GET_PARAMETER_NAME;
+ //interactionClass= <no default value in message spec using builtin>
+ //name= <no default value in message spec using builtin>
+ //parameter= <no default value in message spec using builtin>
}
M_Get_Parameter_Name::~M_Get_Parameter_Name() {
}
+ void M_Get_Parameter_Name::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint32(parameter);
+ }
+
+ void M_Get_Parameter_Name::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(name);
+ parameter = static_cast<ParameterHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Object_Instance_Handle::M_Get_Object_Instance_Handle() {
this->name = "M_Get_Object_Instance_Handle";
- this->type = GET_OBJECT_INSTANCE_HANDLE;
+ this->type = Message:: GET_OBJECT_INSTANCE_HANDLE;
+ //object= <no default value in message spec using builtin>
+ //name= <no default value in message spec using builtin>
}
M_Get_Object_Instance_Handle::~M_Get_Object_Instance_Handle() {
}
+ void M_Get_Object_Instance_Handle::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ msgBuffer.write_string(name);
+ }
+
+ void M_Get_Object_Instance_Handle::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(name);
+ }
+
M_Get_Object_Instance_Name::M_Get_Object_Instance_Name() {
this->name = "M_Get_Object_Instance_Name";
- this->type = GET_OBJECT_INSTANCE_NAME;
+ this->type = Message:: GET_OBJECT_INSTANCE_NAME;
+ //object= <no default value in message spec using builtin>
+ //name= <no default value in message spec using builtin>
}
M_Get_Object_Instance_Name::~M_Get_Object_Instance_Name() {
}
+ void M_Get_Object_Instance_Name::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(object);
+ msgBuffer.write_string(name);
+ }
+
+ void M_Get_Object_Instance_Name::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ msgBuffer.read_string(name);
+ }
+
M_Get_Space_Handle::M_Get_Space_Handle() {
this->name = "M_Get_Space_Handle";
- this->type = GET_SPACE_HANDLE;
+ this->type = Message:: GET_SPACE_HANDLE;
+ //name= <no default value in message spec using builtin>
+ //space= <no default value in message spec using builtin>
}
M_Get_Space_Handle::~M_Get_Space_Handle() {
}
+ void M_Get_Space_Handle::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint32(space);
+ }
+
+ void M_Get_Space_Handle::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ msgBuffer.read_string(name);
+ space = static_cast<SpaceHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Space_Name::M_Get_Space_Name() {
this->name = "M_Get_Space_Name";
- this->type = GET_SPACE_NAME;
+ this->type = Message:: GET_SPACE_NAME;
+ //name= <no default value in message spec using builtin>
+ //space= <no default value in message spec using builtin>
}
M_Get_Space_Name::~M_Get_Space_Name() {
}
+ void M_Get_Space_Name::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint32(space);
+ }
+
+ void M_Get_Space_Name::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ msgBuffer.read_string(name);
+ space = static_cast<SpaceHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Dimension_Handle::M_Get_Dimension_Handle() {
this->name = "M_Get_Dimension_Handle";
- this->type = GET_DIMENSION_HANDLE;
+ this->type = Message:: GET_DIMENSION_HANDLE;
+ //name= <no default value in message spec using builtin>
+ //space= <no default value in message spec using builtin>
+ //dimension= <no default value in message spec using builtin>
}
M_Get_Dimension_Handle::~M_Get_Dimension_Handle() {
}
+ void M_Get_Dimension_Handle::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint32(space);
+ msgBuffer.write_uint32(dimension);
+ }
+
+ void M_Get_Dimension_Handle::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ msgBuffer.read_string(name);
+ space = static_cast<SpaceHandle>(msgBuffer.read_uint32());
+ dimension = static_cast<DimensionHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Dimension_Name::M_Get_Dimension_Name() {
this->name = "M_Get_Dimension_Name";
- this->type = GET_DIMENSION_NAME;
+ this->type = Message:: GET_DIMENSION_NAME;
+ //name= <no default value in message spec using builtin>
+ //space= <no default value in message spec using builtin>
+ //dimension= <no default value in message spec using builtin>
}
M_Get_Dimension_Name::~M_Get_Dimension_Name() {
}
+ void M_Get_Dimension_Name::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint32(space);
+ msgBuffer.write_uint32(dimension);
+ }
+
+ void M_Get_Dimension_Name::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ msgBuffer.read_string(name);
+ space = static_cast<SpaceHandle>(msgBuffer.read_uint32());
+ dimension = static_cast<DimensionHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Attribute_Space_Handle::M_Get_Attribute_Space_Handle() {
this->name = "M_Get_Attribute_Space_Handle";
- this->type = GET_ATTRIBUTE_SPACE_HANDLE;
+ this->type = Message:: GET_ATTRIBUTE_SPACE_HANDLE;
+ //objectClass= <no default value in message spec using builtin>
+ //attribute= <no default value in message spec using builtin>
+ //space= <no default value in message spec using builtin>
}
M_Get_Attribute_Space_Handle::~M_Get_Attribute_Space_Handle() {
}
+ void M_Get_Attribute_Space_Handle::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_uint32(attribute);
+ msgBuffer.write_uint32(space);
+ }
+
+ void M_Get_Attribute_Space_Handle::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ attribute = static_cast<AttributeHandle>(msgBuffer.read_uint32());
+ space = static_cast<SpaceHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Object_Class::M_Get_Object_Class() {
this->name = "M_Get_Object_Class";
- this->type = GET_OBJECT_CLASS;
+ this->type = Message:: GET_OBJECT_CLASS;
+ //objectClass= <no default value in message spec using builtin>
+ //object= <no default value in message spec using builtin>
}
M_Get_Object_Class::~M_Get_Object_Class() {
}
+ void M_Get_Object_Class::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(objectClass);
+ msgBuffer.write_uint32(object);
+ }
+
+ void M_Get_Object_Class::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ objectClass = static_cast<ObjectClassHandle>(msgBuffer.read_uint32());
+ object = static_cast<ObjectHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Interaction_Space_Handle::M_Get_Interaction_Space_Handle() {
this->name = "M_Get_Interaction_Space_Handle";
- this->type = GET_INTERACTION_SPACE_HANDLE;
+ this->type = Message:: GET_INTERACTION_SPACE_HANDLE;
+ //interactionClass= <no default value in message spec using builtin>
+ //space= <no default value in message spec using builtin>
}
M_Get_Interaction_Space_Handle::~M_Get_Interaction_Space_Handle() {
}
+ void M_Get_Interaction_Space_Handle::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_uint32(interactionClass);
+ msgBuffer.write_uint32(space);
+ }
+
+ void M_Get_Interaction_Space_Handle::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ interactionClass =
static_cast<InteractionClassHandle>(msgBuffer.read_uint32());
+ space = static_cast<SpaceHandle>(msgBuffer.read_uint32());
+ }
+
M_Get_Transportation_Handle::M_Get_Transportation_Handle() {
this->name = "M_Get_Transportation_Handle";
- this->type = GET_TRANSPORTATION_HANDLE;
+ this->type = Message:: GET_TRANSPORTATION_HANDLE;
+ //name= <no default value in message spec using builtin>
+ //transport= <no default value in message spec using builtin>
}
M_Get_Transportation_Handle::~M_Get_Transportation_Handle() {
}
+ void M_Get_Transportation_Handle::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint8(transport);
+ }
+
+ void M_Get_Transportation_Handle::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ msgBuffer.read_string(name);
+ transport = static_cast<TransportType>(msgBuffer.read_uint8());
+ }
+
M_Get_Transportation_Name::M_Get_Transportation_Name() {
this->name = "M_Get_Transportation_Name";
- this->type = GET_TRANSPORTATION_NAME;
+ this->type = Message:: GET_TRANSPORTATION_NAME;
+ //name= <no default value in message spec using builtin>
+ //transport= <no default value in message spec using builtin>
}
M_Get_Transportation_Name::~M_Get_Transportation_Name() {
}
+ void M_Get_Transportation_Name::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint8(transport);
+ }
+
+ void M_Get_Transportation_Name::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ msgBuffer.read_string(name);
+ transport = static_cast<TransportType>(msgBuffer.read_uint8());
+ }
+
M_Get_Ordering_Handle::M_Get_Ordering_Handle() {
this->name = "M_Get_Ordering_Handle";
- this->type = GET_ORDERING_HANDLE;
+ this->type = Message:: GET_ORDERING_HANDLE;
+ //name= <no default value in message spec using builtin>
+ //order= <no default value in message spec using builtin>
}
M_Get_Ordering_Handle::~M_Get_Ordering_Handle() {
}
+ void M_Get_Ordering_Handle::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint8(order);
+ }
+
+ void M_Get_Ordering_Handle::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ msgBuffer.read_string(name);
+ order = static_cast<OrderType>(msgBuffer.read_uint8());
+ }
+
M_Get_Ordering_Name::M_Get_Ordering_Name() {
this->name = "M_Get_Ordering_Name";
- this->type = GET_ORDERING_NAME;
+ this->type = Message:: GET_ORDERING_NAME;
+ //name= <no default value in message spec using builtin>
+ //order= <no default value in message spec using builtin>
}
M_Get_Ordering_Name::~M_Get_Ordering_Name() {
}
+ void M_Get_Ordering_Name::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_string(name);
+ msgBuffer.write_uint8(order);
+ }
+
+ void M_Get_Ordering_Name::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ msgBuffer.read_string(name);
+ order = static_cast<OrderType>(msgBuffer.read_uint8());
+ }
+
M_Enable_Class_Relevance_Advisory_Switch::M_Enable_Class_Relevance_Advisory_Switch()
{
this->name = "M_Enable_Class_Relevance_Advisory_Switch";
- this->type = ENABLE_CLASS_RELEVANCE_ADVISORY_SWITCH;
+ this->type = Message:: ENABLE_CLASS_RELEVANCE_ADVISORY_SWITCH;
}
M_Enable_Class_Relevance_Advisory_Switch::~M_Enable_Class_Relevance_Advisory_Switch()
{
@@ -1103,7 +2780,7 @@
M_Disable_Class_Relevance_Advisory_Switch::M_Disable_Class_Relevance_Advisory_Switch()
{
this->name = "M_Disable_Class_Relevance_Advisory_Switch";
- this->type = DISABLE_CLASS_RELEVANCE_ADVISORY_SWITCH;
+ this->type = Message:: DISABLE_CLASS_RELEVANCE_ADVISORY_SWITCH;
}
M_Disable_Class_Relevance_Advisory_Switch::~M_Disable_Class_Relevance_Advisory_Switch()
{
@@ -1111,7 +2788,7 @@
M_Enable_Attribute_Relevance_Advisory_Switch::M_Enable_Attribute_Relevance_Advisory_Switch()
{
this->name = "M_Enable_Attribute_Relevance_Advisory_Switch";
- this->type = ENABLE_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH;
+ this->type = Message:: ENABLE_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH;
}
M_Enable_Attribute_Relevance_Advisory_Switch::~M_Enable_Attribute_Relevance_Advisory_Switch()
{
@@ -1119,7 +2796,7 @@
M_Disable_Attribute_Relevance_Advisory_Switch::M_Disable_Attribute_Relevance_Advisory_Switch()
{
this->name = "M_Disable_Attribute_Relevance_Advisory_Switch";
- this->type = DISABLE_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH;
+ this->type = Message:: DISABLE_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH;
}
M_Disable_Attribute_Relevance_Advisory_Switch::~M_Disable_Attribute_Relevance_Advisory_Switch()
{
@@ -1127,7 +2804,7 @@
M_Enable_Attribute_Scope_Advisory_Switch::M_Enable_Attribute_Scope_Advisory_Switch()
{
this->name = "M_Enable_Attribute_Scope_Advisory_Switch";
- this->type = ENABLE_ATTRIBUTE_SCOPE_ADVISORY_SWITCH;
+ this->type = Message:: ENABLE_ATTRIBUTE_SCOPE_ADVISORY_SWITCH;
}
M_Enable_Attribute_Scope_Advisory_Switch::~M_Enable_Attribute_Scope_Advisory_Switch()
{
@@ -1135,7 +2812,7 @@
M_Disable_Attribute_Scope_Advisory_Switch::M_Disable_Attribute_Scope_Advisory_Switch()
{
this->name = "M_Disable_Attribute_Scope_Advisory_Switch";
- this->type = DISABLE_ATTRIBUTE_SCOPE_ADVISORY_SWITCH;
+ this->type = Message:: DISABLE_ATTRIBUTE_SCOPE_ADVISORY_SWITCH;
}
M_Disable_Attribute_Scope_Advisory_Switch::~M_Disable_Attribute_Scope_Advisory_Switch()
{
@@ -1143,7 +2820,7 @@
M_Enable_Interaction_Relevance_Advisory_Switch::M_Enable_Interaction_Relevance_Advisory_Switch()
{
this->name = "M_Enable_Interaction_Relevance_Advisory_Switch";
- this->type = ENABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH;
+ this->type = Message:: ENABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH;
}
M_Enable_Interaction_Relevance_Advisory_Switch::~M_Enable_Interaction_Relevance_Advisory_Switch()
{
@@ -1151,7 +2828,7 @@
M_Disable_Interaction_Relevance_Advisory_Switch::M_Disable_Interaction_Relevance_Advisory_Switch()
{
this->name = "M_Disable_Interaction_Relevance_Advisory_Switch";
- this->type = DISABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH;
+ this->type = Message:: DISABLE_INTERACTION_RELEVANCE_ADVISORY_SWITCH;
}
M_Disable_Interaction_Relevance_Advisory_Switch::~M_Disable_Interaction_Relevance_Advisory_Switch()
{
@@ -1159,15 +2836,36 @@
M_Tick_Request::M_Tick_Request() {
this->name = "M_Tick_Request";
- this->type = TICK_REQUEST;
+ this->type = Message:: TICK_REQUEST;
+ //multiple= <no default value in message spec using builtin>
+ //minTickTime= <no default value in message spec using builtin>
+ //maxTickTime= <no default value in message spec using builtin>
}
M_Tick_Request::~M_Tick_Request() {
}
+ void M_Tick_Request::serialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::serialize(msgBuffer);
+ //Specific serialization code
+ msgBuffer.write_bool(multiple);
+ msgBuffer.write_double(minTickTime);
+ msgBuffer.write_double(maxTickTime);
+ }
+
+ void M_Tick_Request::deserialize(MessageBuffer& msgBuffer) {
+ //Call mother class
+ Super::deserialize(msgBuffer);
+ //Specific deserialization code
+ multiple = msgBuffer.read_bool();
+ minTickTime = msgBuffer.read_double();
+ maxTickTime = msgBuffer.read_double();
+ }
+
M_Tick_Request_Next::M_Tick_Request_Next() {
this->name = "M_Tick_Request_Next";
- this->type = TICK_REQUEST_NEXT;
+ this->type = Message:: TICK_REQUEST_NEXT;
}
M_Tick_Request_Next::~M_Tick_Request_Next() {
@@ -1175,7 +2873,7 @@
M_Tick_Request_Stop::M_Tick_Request_Stop() {
this->name = "M_Tick_Request_Stop";
- this->type = TICK_REQUEST_STOP;
+ this->type = Message:: TICK_REQUEST_STOP;
}
M_Tick_Request_Stop::~M_Tick_Request_Stop() {
@@ -1188,6 +2886,9 @@
case Message::NOT_USED:
throw RTIinternalError("NOT_USED message type should not be
used!!");
break;
+ case Message::CLOSE_CONNEXION:
+ msg = new M_Close_Connexion();
+ break;
case Message::CREATE_FEDERATION_EXECUTION:
msg = new M_Create_Federation_Execution();
break;
@@ -1618,7 +3319,8 @@
throw RTIinternalError("LAST message type should not be used!!");
break;
} // end if switch (type)
- }
+ return msg;
+ } /* end of M_Factory::create */
Message* M_Factory::receive(StreamType stream) throw (RTIinternalError) {
// FIXME This is not thread safe
@@ -1633,6 +3335,6 @@
msgBuffer.assumeSizeFromReservedBytes();
msg->deserialize(msgBuffer);
return msg;
- }
+ } /* end of M_Factory::receive */
} // end of namespace certi
Index: M_Classes.hh
===================================================================
RCS file: /sources/certi/certi/libCERTI/M_Classes.hh,v
retrieving revision 3.1
retrieving revision 3.2
diff -u -b -r3.1 -r3.2
--- M_Classes.hh 30 Jan 2010 18:41:37 -0000 3.1
+++ M_Classes.hh 6 Feb 2010 21:02:03 -0000 3.2
@@ -1,15 +1,20 @@
-// Generated on 2010 January Sat, 30 at 19:11:55 by the CERTI message generator
+// Generated on 2010 February Sat, 06 at 19:51:15 by the CERTI message
generator
#ifndef M_CLASSES_HH
#define M_CLASSES_HH
// ****-**** Global System includes ****-****
#include <vector>
#include <string>
// ****-**** Includes coming from native types ****-****
-// Message is the base class
-// for message exchanged between RTIA and Federate (libRTI)
-// AKA CERTI Message
+// Message is the base class for
+// message exchanged between RTIA and Federate (libRTI) AKA CERTI Message.
+// Every message which is a merge from Message will first include the content
+// of a Message
#include "Message.hh"
+#include "RTItypes.hh"
+
+#include "certi.hh"
+
#include "SocketUN.hh"
// ----------------------------------------------------------------------------
// CERTI - HLA RunTime Infrastructure
@@ -40,12 +45,15 @@
// - by included headers (see above)
// - with typedef (see below [if any])
+ typedef RTI::ResignAction ResignAction;
+
typedef SocketUN* StreamType;
typedef Message::Type M_Type;
typedef enum CERTI_Message_MessageType {
NOT_USED = 0,
+ M_CLOSE_CONNEXION,
M_CREATE_FEDERATION_EXECUTION,
M_DESTROY_FEDERATION_EXECUTION,
M_JOIN_FEDERATION_EXECUTION,
@@ -190,13 +198,31 @@
M_TICK_REQUEST_STOP,
LAST
} CERTI_Message_MessageType_t; //end of enum CERTI_Message_MessageType
+ // Closing connexion message
+ class CERTI_EXPORT M_Close_Connexion : public Message {
+ public:
+ typedef Message Super;
+ M_Close_Connexion();
+ virtual ~M_Close_Connexion();
+ protected:
+ private:
+ };
class CERTI_EXPORT M_Create_Federation_Execution : public Message {
public:
typedef Message Super;
M_Create_Federation_Execution();
virtual ~M_Create_Federation_Execution();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const std::string& getFederationName() const {return federationName;}
+ void setFederationName(const std::string& newFederationName)
{federationName=newFederationName;}
+ const std::string& getFEDid() const {return FEDid;}
+ void setFEDid(const std::string& newFEDid) {FEDid=newFEDid;}
protected:
+ std::string federationName;// the federation name
+ std::string FEDid;// the Federation ID which is in fact a filename
private:
};
@@ -205,7 +231,13 @@
typedef Message Super;
M_Destroy_Federation_Execution();
virtual ~M_Destroy_Federation_Execution();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const std::string& getFederationName() const {return federationName;}
+ void setFederationName(const std::string& newFederationName)
{federationName=newFederationName;}
protected:
+ std::string federationName;
private:
};
@@ -214,7 +246,19 @@
typedef Message Super;
M_Join_Federation_Execution();
virtual ~M_Join_Federation_Execution();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const FederateHandle& getFederate() const {return federate;}
+ void setFederate(const FederateHandle& newFederate)
{federate=newFederate;}
+ const std::string& getFederationName() const {return federationName;}
+ void setFederationName(const std::string& newFederationName)
{federationName=newFederationName;}
+ const std::string& getFederateName() const {return federateName;}
+ void setFederateName(const std::string& newFederateName)
{federateName=newFederateName;}
+ protected:
+ FederateHandle federate;
+ std::string federationName;
+ std::string federateName;
private:
};
@@ -223,7 +267,13 @@
typedef Message Super;
M_Resign_Federation_Execution();
virtual ~M_Resign_Federation_Execution();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ResignAction& getResignAction() const {return resignAction;}
+ void setResignAction(const ResignAction& newResignAction)
{resignAction=newResignAction;}
protected:
+ ResignAction resignAction;
private:
};
@@ -232,7 +282,16 @@
typedef Message Super;
M_Register_Federation_Synchronization_Point();
virtual ~M_Register_Federation_Synchronization_Point();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ uint32_t getNumFederateSet() const {return federateSet.size();}
+ void setNumFederateSet(uint32_t num) {federateSet.resize(num);}
+ const FederateHandle& getFederateSet(uint32_t rank) const {return
federateSet[rank];}
+ FederateHandle& getFederateSet(uint32_t rank) {return
federateSet[rank];}
+ void setFederateSet(const FederateHandle& newFederateSet, uint32_t
rank) {federateSet[rank]=newFederateSet;}
protected:
+ std::vector<FederateHandle> federateSet;// the set of Federate which
will participate to this sync point.
private:
};
@@ -376,7 +435,13 @@
typedef Message Super;
M_Initiate_Federate_Restore();
virtual ~M_Initiate_Federate_Restore();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const FederateHandle& getFederate() const {return federate;}
+ void setFederate(const FederateHandle& newFederate)
{federate=newFederate;}
protected:
+ FederateHandle federate;
private:
};
@@ -430,7 +495,19 @@
typedef Message Super;
M_Publish_Object_Class();
virtual ~M_Publish_Object_Class();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ uint32_t getNumHandles() const {return handles.size();}
+ void setNumHandles(uint32_t num) {handles.resize(num);}
+ const Handle& getHandles(uint32_t rank) const {return handles[rank];}
+ Handle& getHandles(uint32_t rank) {return handles[rank];}
+ void setHandles(const Handle& newHandles, uint32_t rank)
{handles[rank]=newHandles;}
protected:
+ ObjectClassHandle objectClass;
+ std::vector<Handle> handles;
private:
};
@@ -439,7 +516,13 @@
typedef Message Super;
M_Unpublish_Object_Class();
virtual ~M_Unpublish_Object_Class();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
protected:
+ ObjectClassHandle objectClass;
private:
};
@@ -448,7 +531,13 @@
typedef Message Super;
M_Publish_Interaction_Class();
virtual ~M_Publish_Interaction_Class();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
protected:
+ InteractionClassHandle interactionClass;
private:
};
@@ -457,7 +546,13 @@
typedef Message Super;
M_Unpublish_Interaction_Class();
virtual ~M_Unpublish_Interaction_Class();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
protected:
+ InteractionClassHandle interactionClass;
private:
};
@@ -466,7 +561,19 @@
typedef Message Super;
M_Subscribe_Object_Class_Attributes();
virtual ~M_Subscribe_Object_Class_Attributes();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ uint32_t getNumHandles() const {return handles.size();}
+ void setNumHandles(uint32_t num) {handles.resize(num);}
+ const Handle& getHandles(uint32_t rank) const {return handles[rank];}
+ Handle& getHandles(uint32_t rank) {return handles[rank];}
+ void setHandles(const Handle& newHandles, uint32_t rank)
{handles[rank]=newHandles;}
protected:
+ ObjectClassHandle objectClass;
+ std::vector<Handle> handles;
private:
};
@@ -475,7 +582,13 @@
typedef Message Super;
M_Unsubscribe_Object_Class();
virtual ~M_Unsubscribe_Object_Class();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
protected:
+ ObjectClassHandle objectClass;
private:
};
@@ -484,7 +597,13 @@
typedef Message Super;
M_Subscribe_Interaction_Class();
virtual ~M_Subscribe_Interaction_Class();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
protected:
+ InteractionClassHandle interactionClass;
private:
};
@@ -493,7 +612,13 @@
typedef Message Super;
M_Unsubscribe_Interaction_Class();
virtual ~M_Unsubscribe_Interaction_Class();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
protected:
+ InteractionClassHandle interactionClass;
private:
};
@@ -502,7 +627,13 @@
typedef Message Super;
M_Start_Registration_For_Object_Class();
virtual ~M_Start_Registration_For_Object_Class();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
protected:
+ ObjectClassHandle objectClass;
private:
};
@@ -511,7 +642,13 @@
typedef Message Super;
M_Stop_Registration_For_Object_Class();
virtual ~M_Stop_Registration_For_Object_Class();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
protected:
+ ObjectClassHandle objectClass;
private:
};
@@ -520,7 +657,13 @@
typedef Message Super;
M_Turn_Interactions_On();
virtual ~M_Turn_Interactions_On();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
protected:
+ InteractionClassHandle interactionClass;
private:
};
@@ -529,7 +672,13 @@
typedef Message Super;
M_Turn_Interactions_Off();
virtual ~M_Turn_Interactions_Off();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
protected:
+ InteractionClassHandle interactionClass;
private:
};
// Object
@@ -538,7 +687,19 @@
typedef Message Super;
M_Register_Object_Instance();
virtual ~M_Register_Object_Instance();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ const std::string& getObjectName() const {return objectName;}
+ void setObjectName(const std::string& newObjectName)
{objectName=newObjectName;}
+ protected:
+ ObjectClassHandle objectClass;
+ ObjectHandle object;
+ std::string objectName;
private:
};
@@ -547,7 +708,31 @@
typedef Message Super;
M_Update_Attribute_Values();
virtual ~M_Update_Attribute_Values();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ uint32_t getNumHandle() const {return handle.size();}
+ void setNumHandle(uint32_t num) {handle.resize(num);}
+ const Handle& getHandle(uint32_t rank) const {return handle[rank];}
+ Handle& getHandle(uint32_t rank) {return handle[rank];}
+ void setHandle(const Handle& newHandle, uint32_t rank)
{handle[rank]=newHandle;}
+ uint32_t getNumAttributeValues() const {return
attributeValues.size();}
+ void setNumAttributeValues(uint32_t num)
{attributeValues.resize(num);}
+ const std::string& getAttributeValues(uint32_t rank) const {return
attributeValues[rank];}
+ std::string& getAttributeValues(uint32_t rank) {return
attributeValues[rank];}
+ void setAttributeValues(const std::string& newAttributeValues,
uint32_t rank) {attributeValues[rank]=newAttributeValues;}
+ const ResignAction& getResignAction() const {return resignAction;}
+ void setResignAction(const ResignAction& newResignAction)
{resignAction=newResignAction;}
+ protected:
+ ObjectClassHandle objectClass;
+ ObjectHandle object;
+ std::vector<Handle> handle;
+ std::vector<std::string> attributeValues;// FIXME check this one
+ ResignAction resignAction;
private:
};
@@ -556,7 +741,22 @@
typedef Message Super;
M_Discover_Object_Instance();
virtual ~M_Discover_Object_Instance();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ const std::string& getObjectName() const {return objectName;}
+ void setObjectName(const std::string& newObjectName)
{objectName=newObjectName;}
+ const ResignAction& getResignAction() const {return resignAction;}
+ void setResignAction(const ResignAction& newResignAction)
{resignAction=newResignAction;}
+ protected:
+ ObjectClassHandle objectClass;
+ ObjectHandle object;
+ std::string objectName;
+ ResignAction resignAction;
private:
};
@@ -565,7 +765,31 @@
typedef Message Super;
M_Reflect_Attribute_Values();
virtual ~M_Reflect_Attribute_Values();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ uint32_t getNumHandle() const {return handle.size();}
+ void setNumHandle(uint32_t num) {handle.resize(num);}
+ const Handle& getHandle(uint32_t rank) const {return handle[rank];}
+ Handle& getHandle(uint32_t rank) {return handle[rank];}
+ void setHandle(const Handle& newHandle, uint32_t rank)
{handle[rank]=newHandle;}
+ uint32_t getNumAttributeValues() const {return
attributeValues.size();}
+ void setNumAttributeValues(uint32_t num)
{attributeValues.resize(num);}
+ const std::string& getAttributeValues(uint32_t rank) const {return
attributeValues[rank];}
+ std::string& getAttributeValues(uint32_t rank) {return
attributeValues[rank];}
+ void setAttributeValues(const std::string& newAttributeValues,
uint32_t rank) {attributeValues[rank]=newAttributeValues;}
+ const ResignAction& getResignAction() const {return resignAction;}
+ void setResignAction(const ResignAction& newResignAction)
{resignAction=newResignAction;}
+ protected:
+ ObjectClassHandle objectClass;
+ ObjectHandle object;
+ std::vector<Handle> handle;
+ std::vector<std::string> attributeValues;// FIXME check this one
+ ResignAction resignAction;
private:
};
@@ -574,7 +798,31 @@
typedef Message Super;
M_Send_Interaction();
virtual ~M_Send_Interaction();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
+ uint32_t getNumHandles() const {return handles.size();}
+ void setNumHandles(uint32_t num) {handles.resize(num);}
+ const Handle& getHandles(uint32_t rank) const {return handles[rank];}
+ Handle& getHandles(uint32_t rank) {return handles[rank];}
+ void setHandles(const Handle& newHandles, uint32_t rank)
{handles[rank]=newHandles;}
+ uint32_t getNumValues() const {return values.size();}
+ void setNumValues(uint32_t num) {values.resize(num);}
+ const std::string& getValues(uint32_t rank) const {return
values[rank];}
+ std::string& getValues(uint32_t rank) {return values[rank];}
+ void setValues(const std::string& newValues, uint32_t rank)
{values[rank]=newValues;}
+ const RegionHandle& getRegion() const {return region;}
+ void setRegion(const RegionHandle& newRegion) {region=newRegion;}
+ const ResignAction& getResignAction() const {return resignAction;}
+ void setResignAction(const ResignAction& newResignAction)
{resignAction=newResignAction;}
+ protected:
+ InteractionClassHandle interactionClass;
+ std::vector<Handle> handles;
+ std::vector<std::string> values;
+ RegionHandle region;
+ ResignAction resignAction;
private:
};
@@ -583,7 +831,31 @@
typedef Message Super;
M_Receive_Interaction();
virtual ~M_Receive_Interaction();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
+ uint32_t getNumHandles() const {return handles.size();}
+ void setNumHandles(uint32_t num) {handles.resize(num);}
+ const Handle& getHandles(uint32_t rank) const {return handles[rank];}
+ Handle& getHandles(uint32_t rank) {return handles[rank];}
+ void setHandles(const Handle& newHandles, uint32_t rank)
{handles[rank]=newHandles;}
+ uint32_t getNumValues() const {return values.size();}
+ void setNumValues(uint32_t num) {values.resize(num);}
+ const std::string& getValues(uint32_t rank) const {return
values[rank];}
+ std::string& getValues(uint32_t rank) {return values[rank];}
+ void setValues(const std::string& newValues, uint32_t rank)
{values[rank]=newValues;}
+ const RegionHandle& getRegion() const {return region;}
+ void setRegion(const RegionHandle& newRegion) {region=newRegion;}
+ const ResignAction& getResignAction() const {return resignAction;}
+ void setResignAction(const ResignAction& newResignAction)
{resignAction=newResignAction;}
+ protected:
+ InteractionClassHandle interactionClass;
+ std::vector<Handle> handles;
+ std::vector<std::string> values;
+ RegionHandle region;
+ ResignAction resignAction;
private:
};
@@ -592,7 +864,22 @@
typedef Message Super;
M_Delete_Object_Instance();
virtual ~M_Delete_Object_Instance();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ const std::string& getObjectName() const {return objectName;}
+ void setObjectName(const std::string& newObjectName)
{objectName=newObjectName;}
+ const ResignAction& getResignAction() const {return resignAction;}
+ void setResignAction(const ResignAction& newResignAction)
{resignAction=newResignAction;}
+ protected:
+ ObjectClassHandle objectClass;
+ ObjectHandle object;
+ std::string objectName;
+ ResignAction resignAction;
private:
};
@@ -610,7 +897,22 @@
typedef Message Super;
M_Remove_Object_Instance();
virtual ~M_Remove_Object_Instance();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ const std::string& getObjectName() const {return objectName;}
+ void setObjectName(const std::string& newObjectName)
{objectName=newObjectName;}
+ const ResignAction& getResignAction() const {return resignAction;}
+ void setResignAction(const ResignAction& newResignAction)
{resignAction=newResignAction;}
+ protected:
+ ObjectClassHandle objectClass;
+ ObjectHandle object;
+ std::string objectName;
+ ResignAction resignAction;
private:
};
@@ -619,7 +921,25 @@
typedef Message Super;
M_Change_Attribute_Transportation_Type();
virtual ~M_Change_Attribute_Transportation_Type();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const TransportType& getTransport() const {return transport;}
+ void setTransport(const TransportType& newTransport)
{transport=newTransport;}
+ const OrderType& getOrder() const {return order;}
+ void setOrder(const OrderType& newOrder) {order=newOrder;}
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ uint32_t getNumHandles() const {return handles.size();}
+ void setNumHandles(uint32_t num) {handles.resize(num);}
+ const Handle& getHandles(uint32_t rank) const {return handles[rank];}
+ Handle& getHandles(uint32_t rank) {return handles[rank];}
+ void setHandles(const Handle& newHandles, uint32_t rank)
{handles[rank]=newHandles;}
+ protected:
+ TransportType transport;
+ OrderType order;
+ ObjectHandle object;
+ std::vector<Handle> handles;
private:
};
@@ -628,7 +948,19 @@
typedef Message Super;
M_Change_Interaction_Transportation_Type();
virtual ~M_Change_Interaction_Transportation_Type();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
+ const TransportType& getTransport() const {return transport;}
+ void setTransport(const TransportType& newTransport)
{transport=newTransport;}
+ const OrderType& getOrder() const {return order;}
+ void setOrder(const OrderType& newOrder) {order=newOrder;}
+ protected:
+ InteractionClassHandle interactionClass;
+ TransportType transport;
+ OrderType order;
private:
};
@@ -637,7 +969,19 @@
typedef Message Super;
M_Request_Object_Attribute_Value_Update();
virtual ~M_Request_Object_Attribute_Value_Update();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ uint32_t getNumHandles() const {return handles.size();}
+ void setNumHandles(uint32_t num) {handles.resize(num);}
+ const Handle& getHandles(uint32_t rank) const {return handles[rank];}
+ Handle& getHandles(uint32_t rank) {return handles[rank];}
+ void setHandles(const Handle& newHandles, uint32_t rank)
{handles[rank]=newHandles;}
protected:
+ ObjectHandle object;
+ std::vector<Handle> handles;
private:
};
@@ -646,7 +990,19 @@
typedef Message Super;
M_Request_Class_Attribute_Value_Update();
virtual ~M_Request_Class_Attribute_Value_Update();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ uint32_t getNumHandles() const {return handles.size();}
+ void setNumHandles(uint32_t num) {handles.resize(num);}
+ const Handle& getHandles(uint32_t rank) const {return handles[rank];}
+ Handle& getHandles(uint32_t rank) {return handles[rank];}
+ void setHandles(const Handle& newHandles, uint32_t rank)
{handles[rank]=newHandles;}
protected:
+ ObjectClassHandle objectClass;
+ std::vector<Handle> handles;
private:
};
@@ -655,7 +1011,19 @@
typedef Message Super;
M_Provide_Attribute_Value_Update();
virtual ~M_Provide_Attribute_Value_Update();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ uint32_t getNumHandles() const {return handles.size();}
+ void setNumHandles(uint32_t num) {handles.resize(num);}
+ const Handle& getHandles(uint32_t rank) const {return handles[rank];}
+ Handle& getHandles(uint32_t rank) {return handles[rank];}
+ void setHandles(const Handle& newHandles, uint32_t rank)
{handles[rank]=newHandles;}
protected:
+ ObjectHandle object;
+ std::vector<Handle> handles;
private:
};
@@ -694,7 +1062,7 @@
protected:
private:
};
- // Ownership
+ // Ownership management
class CERTI_EXPORT M_Request_Attribute_Ownership_Divestiture : public
Message {
public:
typedef Message Super;
@@ -709,7 +1077,19 @@
typedef Message Super;
M_Request_Attribute_Ownership_Assumption();
virtual ~M_Request_Attribute_Ownership_Assumption();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ uint32_t getNumAttributes() const {return attributes.size();}
+ void setNumAttributes(uint32_t num) {attributes.resize(num);}
+ const AttributeHandle& getAttributes(uint32_t rank) const {return
attributes[rank];}
+ AttributeHandle& getAttributes(uint32_t rank) {return
attributes[rank];}
+ void setAttributes(const AttributeHandle& newAttributes, uint32_t
rank) {attributes[rank]=newAttributes;}
protected:
+ ObjectHandle object;
+ std::vector<AttributeHandle> attributes;
private:
};
@@ -718,7 +1098,19 @@
typedef Message Super;
M_Negotiated_Attribute_Ownership_Divestiture();
virtual ~M_Negotiated_Attribute_Ownership_Divestiture();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ uint32_t getNumAttributes() const {return attributes.size();}
+ void setNumAttributes(uint32_t num) {attributes.resize(num);}
+ const AttributeHandle& getAttributes(uint32_t rank) const {return
attributes[rank];}
+ AttributeHandle& getAttributes(uint32_t rank) {return
attributes[rank];}
+ void setAttributes(const AttributeHandle& newAttributes, uint32_t
rank) {attributes[rank]=newAttributes;}
protected:
+ ObjectHandle object;
+ std::vector<AttributeHandle> attributes;
private:
};
@@ -745,7 +1137,19 @@
typedef Message Super;
M_Request_Attribute_Ownership_Acquisition();
virtual ~M_Request_Attribute_Ownership_Acquisition();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ uint32_t getNumAttributes() const {return attributes.size();}
+ void setNumAttributes(uint32_t num) {attributes.resize(num);}
+ const AttributeHandle& getAttributes(uint32_t rank) const {return
attributes[rank];}
+ AttributeHandle& getAttributes(uint32_t rank) {return
attributes[rank];}
+ void setAttributes(const AttributeHandle& newAttributes, uint32_t
rank) {attributes[rank]=newAttributes;}
protected:
+ ObjectHandle object;
+ std::vector<AttributeHandle> attributes;
private:
};
@@ -754,7 +1158,19 @@
typedef Message Super;
M_Request_Attribute_Ownership_Release();
virtual ~M_Request_Attribute_Ownership_Release();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ uint32_t getNumAttributes() const {return attributes.size();}
+ void setNumAttributes(uint32_t num) {attributes.resize(num);}
+ const AttributeHandle& getAttributes(uint32_t rank) const {return
attributes[rank];}
+ AttributeHandle& getAttributes(uint32_t rank) {return
attributes[rank];}
+ void setAttributes(const AttributeHandle& newAttributes, uint32_t
rank) {attributes[rank]=newAttributes;}
protected:
+ ObjectHandle object;
+ std::vector<AttributeHandle> attributes;
private:
};
@@ -763,7 +1179,16 @@
typedef Message Super;
M_Query_Attribute_Ownership();
virtual ~M_Query_Attribute_Ownership();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ const AttributeHandle& getAttribute() const {return attribute;}
+ void setAttribute(const AttributeHandle& newAttribute)
{attribute=newAttribute;}
protected:
+ ObjectHandle object;
+ AttributeHandle attribute;
private:
};
@@ -772,7 +1197,19 @@
typedef Message Super;
M_Inform_Attribute_Ownership();
virtual ~M_Inform_Attribute_Ownership();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ const AttributeHandle& getAttribute() const {return attribute;}
+ void setAttribute(const AttributeHandle& newAttribute)
{attribute=newAttribute;}
+ const FederateHandle& getFederate() const {return federate;}
+ void setFederate(const FederateHandle& newFederate)
{federate=newFederate;}
+ protected:
+ ObjectHandle object;
+ AttributeHandle attribute;
+ FederateHandle federate;
private:
};
@@ -781,7 +1218,16 @@
typedef Message Super;
M_Is_Attribute_Owned_By_Federate();
virtual ~M_Is_Attribute_Owned_By_Federate();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ const AttributeHandle& getAttribute() const {return attribute;}
+ void setAttribute(const AttributeHandle& newAttribute)
{attribute=newAttribute;}
protected:
+ ObjectHandle object;
+ AttributeHandle attribute;
private:
};
@@ -790,7 +1236,19 @@
typedef Message Super;
M_Attribute_Is_Not_Owned();
virtual ~M_Attribute_Is_Not_Owned();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ const AttributeHandle& getAttribute() const {return attribute;}
+ void setAttribute(const AttributeHandle& newAttribute)
{attribute=newAttribute;}
+ const FederateHandle& getFederate() const {return federate;}
+ void setFederate(const FederateHandle& newFederate)
{federate=newFederate;}
+ protected:
+ ObjectHandle object;
+ AttributeHandle attribute;
+ FederateHandle federate;
private:
};
@@ -844,7 +1302,19 @@
typedef Message Super;
M_Cancel_Negotiated_Attribute_Ownership_Divestiture();
virtual ~M_Cancel_Negotiated_Attribute_Ownership_Divestiture();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ uint32_t getNumAttributes() const {return attributes.size();}
+ void setNumAttributes(uint32_t num) {attributes.resize(num);}
+ const AttributeHandle& getAttributes(uint32_t rank) const {return
attributes[rank];}
+ AttributeHandle& getAttributes(uint32_t rank) {return
attributes[rank];}
+ void setAttributes(const AttributeHandle& newAttributes, uint32_t
rank) {attributes[rank]=newAttributes;}
protected:
+ ObjectHandle object;
+ std::vector<AttributeHandle> attributes;
private:
};
@@ -880,7 +1350,25 @@
typedef Message Super;
M_Change_Attribute_Order_Type();
virtual ~M_Change_Attribute_Order_Type();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const TransportType& getTransport() const {return transport;}
+ void setTransport(const TransportType& newTransport)
{transport=newTransport;}
+ const OrderType& getOrder() const {return order;}
+ void setOrder(const OrderType& newOrder) {order=newOrder;}
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ uint32_t getNumHandles() const {return handles.size();}
+ void setNumHandles(uint32_t num) {handles.resize(num);}
+ const Handle& getHandles(uint32_t rank) const {return handles[rank];}
+ Handle& getHandles(uint32_t rank) {return handles[rank];}
+ void setHandles(const Handle& newHandles, uint32_t rank)
{handles[rank]=newHandles;}
+ protected:
+ TransportType transport;
+ OrderType order;
+ ObjectHandle object;
+ std::vector<Handle> handles;
private:
};
@@ -889,7 +1377,19 @@
typedef Message Super;
M_Change_Interaction_Order_Type();
virtual ~M_Change_Interaction_Order_Type();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
+ const TransportType& getTransport() const {return transport;}
+ void setTransport(const TransportType& newTransport)
{transport=newTransport;}
+ const OrderType& getOrder() const {return order;}
+ void setOrder(const OrderType& newOrder) {order=newOrder;}
+ protected:
+ InteractionClassHandle interactionClass;
+ TransportType transport;
+ OrderType order;
private:
};
@@ -901,12 +1401,13 @@
virtual void serialize(MessageBuffer& msgBuffer);
virtual void deserialize(MessageBuffer& msgBuffer);
// specific Getter(s)/Setter(s)
- const double_t& getFedTime() const {return fedTime;}
- void setFedTime(const double_t& newFedTime) {fedTime=newFedTime;}
+ void enableOn() {enable = true;}
+ void enableOff() {enable = false;}
+ bool isEnableOn() const {return enable;}
const double_t& getLookahead() const {return lookahead;}
void setLookahead(const double_t& newLookahead)
{lookahead=newLookahead;}
protected:
- double_t fedTime;
+ bool enable;
double_t lookahead;
private:
};
@@ -916,7 +1417,17 @@
typedef Message Super;
M_Disable_Time_Regulation();
virtual ~M_Disable_Time_Regulation();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ void enableOn() {enable = true;}
+ void enableOff() {enable = false;}
+ bool isEnableOn() const {return enable;}
+ const double_t& getLookahead() const {return lookahead;}
+ void setLookahead(const double_t& newLookahead)
{lookahead=newLookahead;}
protected:
+ bool enable;
+ double_t lookahead;
private:
};
@@ -925,7 +1436,17 @@
typedef Message Super;
M_Enable_Time_Constrained();
virtual ~M_Enable_Time_Constrained();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ void enableOn() {enable = true;}
+ void enableOff() {enable = false;}
+ bool isEnableOn() const {return enable;}
+ const double_t& getLookahead() const {return lookahead;}
+ void setLookahead(const double_t& newLookahead)
{lookahead=newLookahead;}
protected:
+ bool enable;
+ double_t lookahead;
private:
};
@@ -934,7 +1455,17 @@
typedef Message Super;
M_Disable_Time_Constrained();
virtual ~M_Disable_Time_Constrained();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ void enableOn() {enable = true;}
+ void enableOff() {enable = false;}
+ bool isEnableOn() const {return enable;}
+ const double_t& getLookahead() const {return lookahead;}
+ void setLookahead(const double_t& newLookahead)
{lookahead=newLookahead;}
protected:
+ bool enable;
+ double_t lookahead;
private:
};
@@ -970,7 +1501,13 @@
typedef Message Super;
M_Modify_Lookahead();
virtual ~M_Modify_Lookahead();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const double_t& getLookahead() const {return lookahead;}
+ void setLookahead(const double_t& newLookahead)
{lookahead=newLookahead;}
protected:
+ double_t lookahead;
private:
};
@@ -979,7 +1516,13 @@
typedef Message Super;
M_Query_Lookahead();
virtual ~M_Query_Lookahead();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const double_t& getLookahead() const {return lookahead;}
+ void setLookahead(const double_t& newLookahead)
{lookahead=newLookahead;}
protected:
+ double_t lookahead;
private:
};
@@ -1096,7 +1639,19 @@
typedef Message Super;
M_Ddm_Create_Region();
virtual ~M_Ddm_Create_Region();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const SpaceHandle& getSpace() const {return space;}
+ void setSpace(const SpaceHandle& newSpace) {space=newSpace;}
+ const uint32_t& getNbExtent() const {return nbExtent;}
+ void setNbExtent(const uint32_t& newNbExtent) {nbExtent=newNbExtent;}
+ const RegionHandle& getRegion() const {return region;}
+ void setRegion(const RegionHandle& newRegion) {region=newRegion;}
+ protected:
+ SpaceHandle space;
+ uint32_t nbExtent;
+ RegionHandle region;
private:
};
@@ -1105,7 +1660,13 @@
typedef Message Super;
M_Ddm_Modify_Region();
virtual ~M_Ddm_Modify_Region();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const RegionHandle& getRegion() const {return region;}
+ void setRegion(const RegionHandle& newRegion) {region=newRegion;}
protected:
+ RegionHandle region;//repeated M_Extents extent
readExtents(msgBuffer);
private:
};
@@ -1114,7 +1675,13 @@
typedef Message Super;
M_Ddm_Delete_Region();
virtual ~M_Ddm_Delete_Region();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const RegionHandle& getRegion() const {return region;}
+ void setRegion(const RegionHandle& newRegion) {region=newRegion;}
protected:
+ RegionHandle region;
private:
};
@@ -1123,7 +1690,22 @@
typedef Message Super;
M_Ddm_Register_Object();
virtual ~M_Ddm_Register_Object();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ uint32_t getNumHandles() const {return handles.size();}
+ void setNumHandles(uint32_t num) {handles.resize(num);}
+ const AttributeHandle& getHandles(uint32_t rank) const {return
handles[rank];}
+ AttributeHandle& getHandles(uint32_t rank) {return handles[rank];}
+ void setHandles(const AttributeHandle& newHandles, uint32_t rank)
{handles[rank]=newHandles;}
+ protected:
+ ObjectClassHandle objectClass;
+ ObjectHandle object;
+ std::vector<AttributeHandle> handles;// repeated M_Regions regions
private:
};
@@ -1132,7 +1714,16 @@
typedef Message Super;
M_Ddm_Associate_Region();
virtual ~M_Ddm_Associate_Region();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ const RegionHandle& getRegion() const {return region;}
+ void setRegion(const RegionHandle& newRegion) {region=newRegion;}
protected:
+ ObjectHandle object;
+ RegionHandle region;
private:
};
@@ -1141,7 +1732,16 @@
typedef Message Super;
M_Ddm_Unassociate_Region();
virtual ~M_Ddm_Unassociate_Region();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ const RegionHandle& getRegion() const {return region;}
+ void setRegion(const RegionHandle& newRegion) {region=newRegion;}
protected:
+ ObjectHandle object;
+ RegionHandle region;
private:
};
@@ -1150,7 +1750,26 @@
typedef Message Super;
M_Ddm_Subscribe_Attributes();
virtual ~M_Ddm_Subscribe_Attributes();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const RegionHandle& getRegion() const {return region;}
+ void setRegion(const RegionHandle& newRegion) {region=newRegion;}
+ void passiveOn() {passive = true;}
+ void passiveOff() {passive = false;}
+ bool isPassiveOn() const {return passive;}
+ uint32_t getNumHandles() const {return handles.size();}
+ void setNumHandles(uint32_t num) {handles.resize(num);}
+ const AttributeHandle& getHandles(uint32_t rank) const {return
handles[rank];}
+ AttributeHandle& getHandles(uint32_t rank) {return handles[rank];}
+ void setHandles(const AttributeHandle& newHandles, uint32_t rank)
{handles[rank]=newHandles;}
+ protected:
+ ObjectClassHandle objectClass;
+ RegionHandle region;
+ bool passive;
+ std::vector<AttributeHandle> handles;
private:
};
@@ -1159,7 +1778,16 @@
typedef Message Super;
M_Ddm_Unsubscribe_Attributes();
virtual ~M_Ddm_Unsubscribe_Attributes();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const RegionHandle& getRegion() const {return region;}
+ void setRegion(const RegionHandle& newRegion) {region=newRegion;}
protected:
+ ObjectClassHandle objectClass;
+ RegionHandle region;
private:
};
@@ -1168,7 +1796,20 @@
typedef Message Super;
M_Ddm_Subscribe_Interaction();
virtual ~M_Ddm_Subscribe_Interaction();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
+ const RegionHandle& getRegion() const {return region;}
+ void setRegion(const RegionHandle& newRegion) {region=newRegion;}
+ void passiveOn() {passive = true;}
+ void passiveOff() {passive = false;}
+ bool isPassiveOn() const {return passive;}
+ protected:
+ InteractionClassHandle interactionClass;
+ RegionHandle region;
+ bool passive;
private:
};
@@ -1177,7 +1818,20 @@
typedef Message Super;
M_Ddm_Unsubscribe_Interaction();
virtual ~M_Ddm_Unsubscribe_Interaction();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
+ const RegionHandle& getRegion() const {return region;}
+ void setRegion(const RegionHandle& newRegion) {region=newRegion;}
+ void passiveOn() {passive = true;}
+ void passiveOff() {passive = false;}
+ bool isPassiveOn() const {return passive;}
+ protected:
+ InteractionClassHandle interactionClass;
+ RegionHandle region;
+ bool passive;
private:
};
@@ -1195,7 +1849,19 @@
typedef Message Super;
M_Get_Object_Class_Handle();
virtual ~M_Get_Object_Class_Handle();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const AttributeHandle& getAttribute() const {return attribute;}
+ void setAttribute(const AttributeHandle& newAttribute)
{attribute=newAttribute;}
+ protected:
+ ObjectClassHandle objectClass;
+ std::string name;
+ AttributeHandle attribute;
private:
};
@@ -1204,7 +1870,19 @@
typedef Message Super;
M_Get_Object_Class_Name();
virtual ~M_Get_Object_Class_Name();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const AttributeHandle& getAttribute() const {return attribute;}
+ void setAttribute(const AttributeHandle& newAttribute)
{attribute=newAttribute;}
+ protected:
+ ObjectClassHandle objectClass;
+ std::string name;
+ AttributeHandle attribute;
private:
};
@@ -1213,7 +1891,19 @@
typedef Message Super;
M_Get_Attribute_Handle();
virtual ~M_Get_Attribute_Handle();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const AttributeHandle& getAttribute() const {return attribute;}
+ void setAttribute(const AttributeHandle& newAttribute)
{attribute=newAttribute;}
+ protected:
+ ObjectClassHandle objectClass;
+ std::string name;
+ AttributeHandle attribute;
private:
};
@@ -1222,7 +1912,19 @@
typedef Message Super;
M_Get_Attribute_Name();
virtual ~M_Get_Attribute_Name();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const AttributeHandle& getAttribute() const {return attribute;}
+ void setAttribute(const AttributeHandle& newAttribute)
{attribute=newAttribute;}
+ protected:
+ ObjectClassHandle objectClass;
+ std::string name;
+ AttributeHandle attribute;
private:
};
@@ -1231,7 +1933,19 @@
typedef Message Super;
M_Get_Interaction_Class_Handle();
virtual ~M_Get_Interaction_Class_Handle();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const ParameterHandle& getParameter() const {return parameter;}
+ void setParameter(const ParameterHandle& newParameter)
{parameter=newParameter;}
+ protected:
+ InteractionClassHandle interactionClass;
+ std::string name;
+ ParameterHandle parameter;
private:
};
@@ -1240,7 +1954,19 @@
typedef Message Super;
M_Get_Interaction_Class_Name();
virtual ~M_Get_Interaction_Class_Name();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const ParameterHandle& getParameter() const {return parameter;}
+ void setParameter(const ParameterHandle& newParameter)
{parameter=newParameter;}
+ protected:
+ InteractionClassHandle interactionClass;
+ std::string name;
+ ParameterHandle parameter;
private:
};
@@ -1249,7 +1975,19 @@
typedef Message Super;
M_Get_Parameter_Handle();
virtual ~M_Get_Parameter_Handle();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const ParameterHandle& getParameter() const {return parameter;}
+ void setParameter(const ParameterHandle& newParameter)
{parameter=newParameter;}
+ protected:
+ InteractionClassHandle interactionClass;
+ std::string name;
+ ParameterHandle parameter;
private:
};
@@ -1258,7 +1996,19 @@
typedef Message Super;
M_Get_Parameter_Name();
virtual ~M_Get_Parameter_Name();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const ParameterHandle& getParameter() const {return parameter;}
+ void setParameter(const ParameterHandle& newParameter)
{parameter=newParameter;}
+ protected:
+ InteractionClassHandle interactionClass;
+ std::string name;
+ ParameterHandle parameter;
private:
};
@@ -1267,7 +2017,16 @@
typedef Message Super;
M_Get_Object_Instance_Handle();
virtual ~M_Get_Object_Instance_Handle();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
protected:
+ ObjectHandle object;
+ std::string name;
private:
};
@@ -1276,7 +2035,16 @@
typedef Message Super;
M_Get_Object_Instance_Name();
virtual ~M_Get_Object_Instance_Name();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
protected:
+ ObjectHandle object;
+ std::string name;
private:
};
@@ -1285,7 +2053,16 @@
typedef Message Super;
M_Get_Space_Handle();
virtual ~M_Get_Space_Handle();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const SpaceHandle& getSpace() const {return space;}
+ void setSpace(const SpaceHandle& newSpace) {space=newSpace;}
protected:
+ std::string name;
+ SpaceHandle space;
private:
};
@@ -1294,7 +2071,16 @@
typedef Message Super;
M_Get_Space_Name();
virtual ~M_Get_Space_Name();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const SpaceHandle& getSpace() const {return space;}
+ void setSpace(const SpaceHandle& newSpace) {space=newSpace;}
protected:
+ std::string name;
+ SpaceHandle space;
private:
};
@@ -1303,7 +2089,19 @@
typedef Message Super;
M_Get_Dimension_Handle();
virtual ~M_Get_Dimension_Handle();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const SpaceHandle& getSpace() const {return space;}
+ void setSpace(const SpaceHandle& newSpace) {space=newSpace;}
+ const DimensionHandle& getDimension() const {return dimension;}
+ void setDimension(const DimensionHandle& newDimension)
{dimension=newDimension;}
+ protected:
+ std::string name;
+ SpaceHandle space;
+ DimensionHandle dimension;
private:
};
@@ -1312,7 +2110,19 @@
typedef Message Super;
M_Get_Dimension_Name();
virtual ~M_Get_Dimension_Name();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const SpaceHandle& getSpace() const {return space;}
+ void setSpace(const SpaceHandle& newSpace) {space=newSpace;}
+ const DimensionHandle& getDimension() const {return dimension;}
+ void setDimension(const DimensionHandle& newDimension)
{dimension=newDimension;}
+ protected:
+ std::string name;
+ SpaceHandle space;
+ DimensionHandle dimension;
private:
};
@@ -1321,7 +2131,19 @@
typedef Message Super;
M_Get_Attribute_Space_Handle();
virtual ~M_Get_Attribute_Space_Handle();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const AttributeHandle& getAttribute() const {return attribute;}
+ void setAttribute(const AttributeHandle& newAttribute)
{attribute=newAttribute;}
+ const SpaceHandle& getSpace() const {return space;}
+ void setSpace(const SpaceHandle& newSpace) {space=newSpace;}
+ protected:
+ ObjectClassHandle objectClass;
+ AttributeHandle attribute;
+ SpaceHandle space;
private:
};
@@ -1330,7 +2152,16 @@
typedef Message Super;
M_Get_Object_Class();
virtual ~M_Get_Object_Class();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const ObjectClassHandle& getObjectClass() const {return objectClass;}
+ void setObjectClass(const ObjectClassHandle& newObjectClass)
{objectClass=newObjectClass;}
+ const ObjectHandle& getObject() const {return object;}
+ void setObject(const ObjectHandle& newObject) {object=newObject;}
protected:
+ ObjectClassHandle objectClass;
+ ObjectHandle object;
private:
};
@@ -1339,7 +2170,16 @@
typedef Message Super;
M_Get_Interaction_Space_Handle();
virtual ~M_Get_Interaction_Space_Handle();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const InteractionClassHandle& getInteractionClass() const {return
interactionClass;}
+ void setInteractionClass(const InteractionClassHandle&
newInteractionClass) {interactionClass=newInteractionClass;}
+ const SpaceHandle& getSpace() const {return space;}
+ void setSpace(const SpaceHandle& newSpace) {space=newSpace;}
protected:
+ InteractionClassHandle interactionClass;
+ SpaceHandle space;
private:
};
@@ -1348,7 +2188,16 @@
typedef Message Super;
M_Get_Transportation_Handle();
virtual ~M_Get_Transportation_Handle();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const TransportType& getTransport() const {return transport;}
+ void setTransport(const TransportType& newTransport)
{transport=newTransport;}
protected:
+ std::string name;
+ TransportType transport;
private:
};
@@ -1357,7 +2206,16 @@
typedef Message Super;
M_Get_Transportation_Name();
virtual ~M_Get_Transportation_Name();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const TransportType& getTransport() const {return transport;}
+ void setTransport(const TransportType& newTransport)
{transport=newTransport;}
protected:
+ std::string name;
+ TransportType transport;
private:
};
@@ -1366,7 +2224,16 @@
typedef Message Super;
M_Get_Ordering_Handle();
virtual ~M_Get_Ordering_Handle();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const OrderType& getOrder() const {return order;}
+ void setOrder(const OrderType& newOrder) {order=newOrder;}
protected:
+ std::string name;
+ OrderType order;
private:
};
@@ -1375,7 +2242,16 @@
typedef Message Super;
M_Get_Ordering_Name();
virtual ~M_Get_Ordering_Name();
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const std::string& getName() const {return name;}
+ void setName(const std::string& newName) {name=newName;}
+ const OrderType& getOrder() const {return order;}
+ void setOrder(const OrderType& newOrder) {order=newOrder;}
protected:
+ std::string name;
+ OrderType order;
private:
};
@@ -1456,7 +2332,19 @@
typedef Message Super;
M_Tick_Request();
virtual ~M_Tick_Request();
- protected:
+ virtual void serialize(MessageBuffer& msgBuffer);
+ virtual void deserialize(MessageBuffer& msgBuffer);
+ // specific Getter(s)/Setter(s)
+ const bool& getMultiple() const {return multiple;}
+ void setMultiple(const bool& newMultiple) {multiple=newMultiple;}
+ const double_t& getMinTickTime() const {return minTickTime;}
+ void setMinTickTime(const double_t& newMinTickTime)
{minTickTime=newMinTickTime;}
+ const double_t& getMaxTickTime() const {return maxTickTime;}
+ void setMaxTickTime(const double_t& newMaxTickTime)
{maxTickTime=newMaxTickTime;}
+ protected:
+ bool multiple;
+ double_t minTickTime;
+ double_t maxTickTime;
private:
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] certi/libCERTI M_Classes.cc M_Classes.hh,
certi-cvs <=