[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi libCERTI/NetworkMessage_RW.cc libCERTI/Ne... [br_DEV_H
From: |
certi-cvs |
Subject: |
[certi-cvs] certi libCERTI/NetworkMessage_RW.cc libCERTI/Ne... [br_DEV_HETEROGENEOUS] |
Date: |
Tue, 08 Apr 2008 14:05:27 +0000 |
CVSROOT: /sources/certi
Module name: certi
Branch: br_DEV_HETEROGENEOUS
Changes by: Eric NOULARD <erk> 08/04/08 14:05:27
Modified files:
libCERTI : NetworkMessage_RW.cc NetworkMessage.hh
NM_Classes.hh NetworkMessage.cc NM_Classes.cc
Added files:
scripts : NW_MessageType.ods
Log message:
Intermediate update
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/NetworkMessage_RW.cc?cvsroot=certi&only_with_tag=br_DEV_HETEROGENEOUS&r1=3.45.2.1&r2=3.45.2.2
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/NetworkMessage.hh?cvsroot=certi&only_with_tag=br_DEV_HETEROGENEOUS&r1=3.30.2.1&r2=3.30.2.2
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/NM_Classes.hh?cvsroot=certi&only_with_tag=br_DEV_HETEROGENEOUS&r1=1.1.2.1&r2=1.1.2.2
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/NetworkMessage.cc?cvsroot=certi&only_with_tag=br_DEV_HETEROGENEOUS&r1=3.28.2.1&r2=3.28.2.2
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/NM_Classes.cc?cvsroot=certi&only_with_tag=br_DEV_HETEROGENEOUS&r1=1.1.2.1&r2=1.1.2.2
http://cvs.savannah.gnu.org/viewcvs/certi/scripts/NW_MessageType.ods?cvsroot=certi&only_with_tag=br_DEV_HETEROGENEOUS&rev=1.1.2.1
Patches:
Index: libCERTI/NetworkMessage_RW.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/NetworkMessage_RW.cc,v
retrieving revision 3.45.2.1
retrieving revision 3.45.2.2
diff -u -b -r3.45.2.1 -r3.45.2.2
--- libCERTI/NetworkMessage_RW.cc 18 Mar 2008 15:55:55 -0000 3.45.2.1
+++ libCERTI/NetworkMessage_RW.cc 8 Apr 2008 14:05:26 -0000 3.45.2.2
@@ -16,7 +16,7 @@
// License along with this program ; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// $Id: NetworkMessage_RW.cc,v 3.45.2.1 2008/03/18 15:55:55 erk Exp $
+// $Id: NetworkMessage_RW.cc,v 3.45.2.2 2008/04/08 14:05:26 erk Exp $
// ----------------------------------------------------------------------------
@@ -29,7 +29,7 @@
namespace certi {
-static pdCDebug D("RTIG_MSG", "(NetWorkMS) - ");
+static PrettyDebug D("RTIG_MSG", "(NetWorkMS) - ");
static PrettyDebug G("GENDOC",__FILE__ );
// ----------------------------------------------------------------------------
@@ -811,6 +811,77 @@
G.Out(pdGendoc,"exit NetworkMessage::writeBody");
}
+void NetworkMessage::serialize() {
+ G.Out(pdGendoc,"enter NetworkMessage::serialize");
+ /* We serialize the common Network messages part
+ * ALL Network Message will contain the following
+ */
+ D.Out(pdDebug,("serialize"+getName()).c_str());
+ /* type of message */
+ msgBuf.write_int32(type);
+ msgBuf.write_int32(exception);
+ msgBuf.write_int32(federate);
+ msgBuf.write_int32(federation);
+ if (isDated) {
+ msgBuf.write_double(date);
+ }
+ G.Out(pdGendoc,"exit NetworkMessage::serialize");
+} /* end of serialize */
+
+void NetworkMessage::deserialize() {
+ G.Out(pdGendoc,"enter NetworkMessage::deserialize");
+ /* We serialize the common Network message part
+ * ALL Network Message will contain the following
+ */
+ D.Out(pdDebug,("deserialize"+getName()).c_str());
+ /* deserialize common part */
+ type =
static_cast<certi::NetworkMessage::Type>(msgBuf.read_int32());
+ exception = static_cast<certi::TypeException>(msgBuf.read_int32());
+ federate = msgBuf.read_int32();
+ federation = msgBuf.read_int32();
+ if (isDated) {
+ date = msgBuf.read_double();
+ }
+ G.Out(pdGendoc,"exit NetworkMessage::deserialize");
+} /* end of deserialize */
+
+void
+NetworkMessage::send(Socket *socket) {
+ G.Out(pdGendoc,"enter NetworkMessage::send");
+ /* 1- serialize the message
+ * This is a polymorphic call
+ * which may specialized in a daughter class
+ */
+ serialize();
+ /* 2- update message buffer 'reserved bytes' header */
+ msgBuf.updateReservedBytes();
+ D.Out(pdDebug,"[Header] Sending a buffer of <%u> bytes",msgBuf.size());
+ msgBuf.show(msgBuf(0),5);
+ /* 3- effectively send the raw message to socket */
+ socket->send(static_cast<unsigned char*>(msgBuf(0)), msgBuf.size());
+ G.Out(pdGendoc,"exit NetworkMessage::send");
+} /* end of send */
+
+void
+NetworkMessage::receive(Socket* socket) {
+ G.Out(pdGendoc,"enter NetworkMessage::receive");
+ /* 1- Read 'reserved bytes' header from socket */
+ D.Out(pdDebug,"reading %d bytes for header",msgBuf.reservedBytes);
+ socket->receive(msgBuf(0), msgBuf.reservedBytes);
+ msgBuf.show(msgBuf(0),5);
+ fflush(stdout);
+ /* 2- update (assume) complete message size from reserved bytes */
+ msgBuf.assumeSizeFromReservedBytes();
+ D.Out(pdDebug,"Got a MsgBuf of size %d bytes (including %d
reserved)",msgBuf.size(),msgBuf.reservedBytes);
+ /* 3- receive the rest of the message */
+
socket->receive(msgBuf(msgBuf.reservedBytes),msgBuf.size()-msgBuf.reservedBytes);
+ /* 4- deserialize the message
+ * This is a polymorphic call
+ * which may specialized in a daughter class
+ */
+ deserialize();
+ G.Out(pdGendoc,"exit NetworkMessage::receive");
+} /* end of receive */
// ----------------------------------------------------------------------------
bool
NetworkMessage::writeHeader(Socket *socket)
@@ -1130,4 +1201,4 @@
} // namespace certi
-// $Id: NetworkMessage_RW.cc,v 3.45.2.1 2008/03/18 15:55:55 erk Exp $
+// $Id: NetworkMessage_RW.cc,v 3.45.2.2 2008/04/08 14:05:26 erk Exp $
Index: libCERTI/NetworkMessage.hh
===================================================================
RCS file: /sources/certi/certi/libCERTI/NetworkMessage.hh,v
retrieving revision 3.30.2.1
retrieving revision 3.30.2.2
diff -u -b -r3.30.2.1 -r3.30.2.2
--- libCERTI/NetworkMessage.hh 18 Mar 2008 15:55:56 -0000 3.30.2.1
+++ libCERTI/NetworkMessage.hh 8 Apr 2008 14:05:26 -0000 3.30.2.2
@@ -17,7 +17,7 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA
//
-// $Id: NetworkMessage.hh,v 3.30.2.1 2008/03/18 15:55:56 erk Exp $
+// $Id: NetworkMessage.hh,v 3.30.2.2 2008/04/08 14:05:26 erk Exp $
// ----------------------------------------------------------------------------
#ifndef CERTI_NETWORK_MESSAGE_HH
@@ -180,13 +180,17 @@
HeaderUnion VP ; // Variable Part
};
-public :
NetworkMessage();
virtual ~NetworkMessage();
const NetworkMessage::Message_T getType() const {return type;};
- virtual void serialize(){};
- virtual void deserialize(){};
+ const TypeException getException() const {return exception;};
+
+ virtual void serialize();
+ virtual void deserialize();
+
+ void send(Socket* socket);
+ void receive(Socket* socket);
// Parameter and Attribute Management
// Remove the Parameter of rank 'Rank' in the ParamArray and its value
in
@@ -234,14 +238,10 @@
void setBoolean(bool);
bool getBoolean() const { return boolean ; };
- Message_T type;
- TypeException exception ;
- std::string exceptionReason;
UShort number ;
- Handle federation ;
- FederateHandle federate ;
+
std::string federationName ;
std::string federateName;
@@ -255,12 +255,25 @@
bool boolean ;
+ /**
+ * Indicate if the message is dated or not
+ */
+ bool isDated;
+ /**
+ * The date of message if it is dated.
+ */
FederationTime date ;
+ void setDate(FederationTime date) {this->date = date;};
+ FederationTime getDate() const {return this->date;};
int numberOfRegulators ;
unsigned long multicastAddress ;
+ bool isLabelled;
std::string label;
+ void setLabel(const std::string label) {this->label = label;};
+ const std::string getLabel() const {return this->label;};
+
std::string tag;
ObjectHandlecount idCount ;
@@ -286,9 +299,42 @@
void setLabel(const char *new_label) { label = std::string(new_label); }
void setTag(const char *new_tag) { tag = std::string(new_tag); }
void setFEDid(const char *NewFEDid);
+ const std::string getName() const {return name;}
+
+ /** The network message type */
+ Message_T type;
+
+ /**
+ * The exception type
+ * if the message is carrying an exception
+ */
+ TypeException exception ;
+ /**
+ * The federation handle
+ * the message is part of this federation activity
+ */
+ Handle federation ;
+ /**
+ * The federate handle
+ * the message is for this particular federate
+ */
+ FederateHandle federate ;
+
+ /**
+ * The exception reason (if the message carry one)
+ */
+ std::string exceptionReason;
protected:
+ /**
+ * The message name.
+ * should be initialized by the specialized
+ * network message constructor
+ */
std::string name;
+
+
+
private:
@@ -334,4 +380,4 @@
#endif // CERTI_NETWORK_MESSAGE_HH
-// $Id: NetworkMessage.hh,v 3.30.2.1 2008/03/18 15:55:56 erk Exp $
+// $Id: NetworkMessage.hh,v 3.30.2.2 2008/04/08 14:05:26 erk Exp $
Index: libCERTI/NM_Classes.hh
===================================================================
RCS file: /sources/certi/certi/libCERTI/Attic/NM_Classes.hh,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- libCERTI/NM_Classes.hh 18 Mar 2008 15:55:55 -0000 1.1.2.1
+++ libCERTI/NM_Classes.hh 8 Apr 2008 14:05:26 -0000 1.1.2.2
@@ -39,7 +39,9 @@
virtual ~NM_Not_Used();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -52,7 +54,9 @@
virtual ~NM_Close_Connexion();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -65,7 +69,9 @@
virtual ~NM_Message_Null();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -78,7 +84,11 @@
virtual ~NM_Create_Federation_Execution();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ std::string federationName ;
+ std::string FEDid ;
private:
};
@@ -91,7 +101,10 @@
virtual ~NM_Destroy_Federation_Execution();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ std::string federationName;
private:
};
@@ -104,7 +117,15 @@
virtual ~NM_Join_Federation_Execution();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ int32_t numberOfRegulators;
+ uint32_t multicastAddress;
+ uint32_t bestEffortAddress;
+ uint32_t bestEffortPeer;
+ std::string federationName;
+ std::string federateName;
private:
};
@@ -117,7 +138,9 @@
virtual ~NM_Resign_Federation_Execution();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -130,7 +153,10 @@
virtual ~NM_Set_Time_Regulating();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ bool regulating;
private:
};
@@ -143,7 +169,10 @@
virtual ~NM_Set_Time_Constrained();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ bool constrained;
private:
};
@@ -156,7 +185,15 @@
virtual ~NM_Register_Federation_Synchronization_Point();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+
+ std::string tag;
+ bool hasHandleArray;
+ UShort handleArraySize ;
+ AttributeHandle handleArray[MAX_ATTRIBUTES_PER_CLASS];
+
private:
};
@@ -169,7 +206,10 @@
virtual ~NM_Synchronization_Point_Registration_Succeeded();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+
private:
};
@@ -182,7 +222,11 @@
virtual ~NM_Announce_Synchronization_Point();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+
+ std::string tag;
private:
};
@@ -195,7 +239,10 @@
virtual ~NM_Synchronization_Point_Achieved();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+
private:
};
@@ -208,7 +255,10 @@
virtual ~NM_Federation_Synchronized();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+
private:
};
@@ -221,7 +271,10 @@
virtual ~NM_Request_Federation_Save();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+
private:
};
@@ -234,7 +287,10 @@
virtual ~NM_Federate_Save_Begun();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+
private:
};
@@ -247,7 +303,9 @@
virtual ~NM_Federate_Save_Complete();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -260,7 +318,9 @@
virtual ~NM_Federate_Save_Not_Complete();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -273,7 +333,10 @@
virtual ~NM_Initiate_Federate_Save();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+
private:
};
@@ -286,7 +349,9 @@
virtual ~NM_Federation_Saved();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -299,7 +364,9 @@
virtual ~NM_Federation_Not_Saved();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -312,7 +379,10 @@
virtual ~NM_Request_Federation_Restore();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+
private:
};
@@ -325,7 +395,9 @@
virtual ~NM_Federate_Restore_Complete();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -338,7 +410,9 @@
virtual ~NM_Federate_Restore_Not_Complete();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -351,7 +425,9 @@
virtual ~NM_Request_Federation_Restore_Succeeded();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -364,7 +440,10 @@
virtual ~NM_Request_Federation_Restore_Failed();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ std::string tag;
private:
};
@@ -377,7 +456,9 @@
virtual ~NM_Federation_Restore_Begun();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -390,7 +471,9 @@
virtual ~NM_Initiate_Federate_Restore();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -403,7 +486,9 @@
virtual ~NM_Federation_Restored();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -416,7 +501,9 @@
virtual ~NM_Federation_Not_Restored();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -429,7 +516,12 @@
virtual ~NM_Publish_Object_Class();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ bool hasHandleArray;
+ UShort handleArraySize ;
+ AttributeHandle handleArray[MAX_ATTRIBUTES_PER_CLASS];
private:
};
@@ -442,7 +534,10 @@
virtual ~NM_Unpublish_Object_Class();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ int32_t objectClass;
private:
};
@@ -455,7 +550,10 @@
virtual ~NM_Publish_Interaction_Class();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ int32_t interactionClass;
private:
};
@@ -468,7 +566,10 @@
virtual ~NM_Unpublish_Interaction_Class();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ int32_t interactionClass;
private:
};
@@ -481,7 +582,12 @@
virtual ~NM_Subscribe_Object_Class();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ bool hasHandleArray;
+ UShort handleArraySize ;
+ AttributeHandle handleArray[MAX_ATTRIBUTES_PER_CLASS];
private:
};
@@ -494,7 +600,10 @@
virtual ~NM_Unsubscribe_Object_Class();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ int32_t objectClass;
private:
};
@@ -507,7 +616,10 @@
virtual ~NM_Subscribe_Interaction_Class();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ int32_t interactionClass;
private:
};
@@ -520,7 +632,10 @@
virtual ~NM_Unsubscribe_Interaction_Class();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ int32_t interactionClass;
private:
};
@@ -533,7 +648,10 @@
virtual ~NM_Turn_Interactions_On();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ int32_t interactionClass;
private:
};
@@ -546,7 +664,10 @@
virtual ~NM_Turn_Interactions_Off();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
+ int32_t interactionClass;
private:
};
@@ -559,7 +680,9 @@
virtual ~NM_Register_Object();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -572,7 +695,9 @@
virtual ~NM_Discover_Object();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -585,7 +710,9 @@
virtual ~NM_Update_Attribute_Values();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -598,7 +725,9 @@
virtual ~NM_Reflect_Attribute_Values();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -611,7 +740,9 @@
virtual ~NM_Send_Interaction();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -624,7 +755,9 @@
virtual ~NM_Receive_Interaction();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -637,7 +770,9 @@
virtual ~NM_Delete_Object();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -650,7 +785,9 @@
virtual ~NM_Remove_Object();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -663,7 +800,9 @@
virtual ~NM_Change_Attribute_Transport_Type();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -676,7 +815,9 @@
virtual ~NM_Change_Attribute_Order_Type();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -689,7 +830,9 @@
virtual ~NM_Change_Interaction_Transport_Type();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -702,7 +845,9 @@
virtual ~NM_Change_Interaction_Order_Type();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -715,7 +860,9 @@
virtual ~NM_Request_Class_Attribute_Value_Update();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -728,7 +875,9 @@
virtual ~NM_Request_Object_Attribute_Value_Update();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -741,7 +890,9 @@
virtual ~NM_Is_Attribute_Owned_By_Federate();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -754,7 +905,9 @@
virtual ~NM_Query_Attribute_Ownership();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -767,7 +920,9 @@
virtual ~NM_Attribute_Is_Not_Owned();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -780,7 +935,9 @@
virtual ~NM_Inform_Attribute_Ownership();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -793,7 +950,9 @@
virtual ~NM_Negotiated_Attribute_Ownership_Divestiture();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -806,7 +965,9 @@
virtual ~NM_Attribute_Ownership_Acquisition_Notification();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -819,7 +980,9 @@
virtual ~NM_Attribute_Ownership_Divestiture_Notification();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -832,7 +995,9 @@
virtual ~NM_Request_Attribute_Ownership_Assumption();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -845,7 +1010,9 @@
virtual ~NM_Attribute_Ownership_Unavailable();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -858,7 +1025,9 @@
virtual ~NM_Attribute_Ownership_Acquisition_If_Available();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -871,7 +1040,9 @@
virtual ~NM_Unconditional_Attribute_Ownership_Divestiture();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -884,7 +1055,9 @@
virtual ~NM_Attribute_Ownership_Acquisition();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -897,7 +1070,9 @@
virtual ~NM_Request_Attribute_Ownership_Release();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -910,7 +1085,9 @@
virtual ~NM_Cancel_Negotiated_Attribute_Ownership_Divestiture();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -923,7 +1100,9 @@
virtual ~NM_Attribute_Ownership_Release_Response();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -936,7 +1115,9 @@
virtual ~NM_Cancel_Attribute_Ownership_Acquisition();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -949,7 +1130,9 @@
virtual ~NM_Confirm_Attribute_Ownership_Acquisition_Cancellation();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -962,7 +1145,9 @@
virtual ~NM_Ddm_Create_Region();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -975,7 +1160,9 @@
virtual ~NM_Ddm_Modify_Region();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -988,7 +1175,9 @@
virtual ~NM_Ddm_Delete_Region();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -1001,7 +1190,9 @@
virtual ~NM_Ddm_Associate_Region();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -1014,7 +1205,9 @@
virtual ~NM_Ddm_Register_Object();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -1027,7 +1220,9 @@
virtual ~NM_Ddm_Unassociate_Region();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -1040,7 +1235,9 @@
virtual ~NM_Ddm_Subscribe_Attributes();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -1053,7 +1250,9 @@
virtual ~NM_Ddm_Unsubscribe_Attributes();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -1066,7 +1265,9 @@
virtual ~NM_Ddm_Subscribe_Interaction();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -1079,7 +1280,9 @@
virtual ~NM_Ddm_Unsubscribe_Interaction();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -1092,7 +1295,9 @@
virtual ~NM_Provide_Attribute_Value_Update();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -1105,7 +1310,9 @@
virtual ~NM_Get_Fed_File();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
@@ -1118,14 +1325,14 @@
virtual ~NM_Last();
virtual void serialize();
virtual void deserialize();
+ /* specific Getter/Setter */
protected:
+ /* specific field */
private:
};
/*<END>---------- Last ------------<END>*/
-
-
-}
+} /* end of namespace certi */
#endif
Index: libCERTI/NetworkMessage.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/NetworkMessage.cc,v
retrieving revision 3.28.2.1
retrieving revision 3.28.2.2
diff -u -b -r3.28.2.1 -r3.28.2.2
--- libCERTI/NetworkMessage.cc 18 Mar 2008 15:55:56 -0000 3.28.2.1
+++ libCERTI/NetworkMessage.cc 8 Apr 2008 14:05:27 -0000 3.28.2.2
@@ -16,7 +16,7 @@
// License along with this program ; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// $Id: NetworkMessage.cc,v 3.28.2.1 2008/03/18 15:55:56 erk Exp $
+// $Id: NetworkMessage.cc,v 3.28.2.2 2008/04/08 14:05:27 erk Exp $
// ----------------------------------------------------------------------------
@@ -35,7 +35,7 @@
// ----------------------------------------------------------------------------
NetworkMessage::NetworkMessage()
- : type(NOT_USED), exception(e_NO_EXCEPTION)
+ : type(NOT_USED), exception(e_NO_EXCEPTION), isDated(false),
isLabelled(false)
{
exceptionReason[0] = '\0' ;
@@ -317,4 +317,4 @@
} // namespace certi
-// $Id: NetworkMessage.cc,v 3.28.2.1 2008/03/18 15:55:56 erk Exp $
+// $Id: NetworkMessage.cc,v 3.28.2.2 2008/04/08 14:05:27 erk Exp $
Index: libCERTI/NM_Classes.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/Attic/NM_Classes.cc,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- libCERTI/NM_Classes.cc 18 Mar 2008 15:55:56 -0000 1.1.2.1
+++ libCERTI/NM_Classes.cc 8 Apr 2008 14:05:27 -0000 1.1.2.2
@@ -286,1099 +286,1800 @@
/*<BEGIN>---------- Not_Used ------------<BEGIN>*/
NM_Not_Used::NM_Not_Used() {
- this->type = NetworkMessage::NOT_USED;
this->name = "NOT_USED";
+ this->type = NetworkMessage::NOT_USED;
+ /* specific field init */
}
NM_Not_Used::~NM_Not_Used() {
}
void NM_Not_Used::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Not_Used::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Not_Used ------------<END>*/
/*<BEGIN>---------- Close_Connexion ------------<BEGIN>*/
NM_Close_Connexion::NM_Close_Connexion() {
- this->type = NetworkMessage::CLOSE_CONNEXION;
this->name = "CLOSE_CONNEXION";
+ this->type = NetworkMessage::CLOSE_CONNEXION;
+ /* specific field init */
}
NM_Close_Connexion::~NM_Close_Connexion() {
}
void NM_Close_Connexion::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Close_Connexion::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Close_Connexion ------------<END>*/
/*<BEGIN>---------- Message_Null ------------<BEGIN>*/
NM_Message_Null::NM_Message_Null() {
- this->type = NetworkMessage::MESSAGE_NULL;
this->name = "MESSAGE_NULL";
+ this->type = NetworkMessage::MESSAGE_NULL;
+ /* specific field init */
+ isDated = true;
}
NM_Message_Null::~NM_Message_Null() {
}
void NM_Message_Null::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Message_Null::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Message_Null ------------<END>*/
/*<BEGIN>---------- Create_Federation_Execution ------------<BEGIN>*/
NM_Create_Federation_Execution::NM_Create_Federation_Execution() {
- this->type = NetworkMessage::CREATE_FEDERATION_EXECUTION;
this->name = "CREATE_FEDERATION_EXECUTION";
+ this->type = NetworkMessage::CREATE_FEDERATION_EXECUTION;
+ /* specific field init */
+ isDated = true;
}
NM_Create_Federation_Execution::~NM_Create_Federation_Execution() {
}
void NM_Create_Federation_Execution::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_string(federationName);
+ msgBuf.write_string(FEDid);
+} /* end of serialize */
void NM_Create_Federation_Execution::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ federationName = msgBuf.read_string();
+ FEDid = msgBuf.read_string();
+} /* end of deserialize */
/*<END>---------- Create_Federation_Execution ------------<END>*/
/*<BEGIN>---------- Destroy_Federation_Execution ------------<BEGIN>*/
NM_Destroy_Federation_Execution::NM_Destroy_Federation_Execution() {
- this->type = NetworkMessage::DESTROY_FEDERATION_EXECUTION;
this->name = "DESTROY_FEDERATION_EXECUTION";
+ this->type = NetworkMessage::DESTROY_FEDERATION_EXECUTION;
+ /* specific field init */
+ isDated = true;
}
NM_Destroy_Federation_Execution::~NM_Destroy_Federation_Execution() {
}
void NM_Destroy_Federation_Execution::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_string(federationName);
+} /* end of serialize */
void NM_Destroy_Federation_Execution::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ date = msgBuf.read_double();
+ federationName = msgBuf.read_string();
+} /* end of deserialize */
/*<END>---------- Destroy_Federation_Execution ------------<END>*/
/*<BEGIN>---------- Join_Federation_Execution ------------<BEGIN>*/
NM_Join_Federation_Execution::NM_Join_Federation_Execution() {
- this->type = NetworkMessage::JOIN_FEDERATION_EXECUTION;
this->name = "JOIN_FEDERATION_EXECUTION";
+ this->type = NetworkMessage::JOIN_FEDERATION_EXECUTION;
+ /* specific field init */
}
NM_Join_Federation_Execution::~NM_Join_Federation_Execution() {
}
void NM_Join_Federation_Execution::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_int32(numberOfRegulators);
+ msgBuf.write_uint32(multicastAddress);
+ msgBuf.write_uint32(bestEffortAddress);
+ msgBuf.write_uint32(bestEffortPeer);
+ msgBuf.write_string(federationName);
+ msgBuf.write_string(federateName);
+} /* end of serialize */
void NM_Join_Federation_Execution::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ numberOfRegulators = msgBuf.read_int32();
+ multicastAddress = msgBuf.read_uint32();
+ bestEffortAddress = msgBuf.read_uint32();
+ bestEffortPeer = msgBuf.read_uint32();
+ federationName = msgBuf.read_string();
+ federateName = msgBuf.read_string();
+} /* end of deserialize */
/*<END>---------- Join_Federation_Execution ------------<END>*/
/*<BEGIN>---------- Resign_Federation_Execution ------------<BEGIN>*/
NM_Resign_Federation_Execution::NM_Resign_Federation_Execution() {
- this->type = NetworkMessage::RESIGN_FEDERATION_EXECUTION;
this->name = "RESIGN_FEDERATION_EXECUTION";
+ this->type = NetworkMessage::RESIGN_FEDERATION_EXECUTION;
+ /* specific field init */
}
NM_Resign_Federation_Execution::~NM_Resign_Federation_Execution() {
}
void NM_Resign_Federation_Execution::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Resign_Federation_Execution::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Resign_Federation_Execution ------------<END>*/
/*<BEGIN>---------- Set_Time_Regulating ------------<BEGIN>*/
NM_Set_Time_Regulating::NM_Set_Time_Regulating() {
- this->type = NetworkMessage::SET_TIME_REGULATING;
this->name = "SET_TIME_REGULATING";
+ this->type = NetworkMessage::SET_TIME_REGULATING;
+ /* specific field init */
+ isDated = true;
}
NM_Set_Time_Regulating::~NM_Set_Time_Regulating() {
}
void NM_Set_Time_Regulating::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_bool(regulating);
+} /* end of serialize */
void NM_Set_Time_Regulating::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ regulating = msgBuf.read_bool();
+} /* end of deserialize */
/*<END>---------- Set_Time_Regulating ------------<END>*/
/*<BEGIN>---------- Set_Time_Constrained ------------<BEGIN>*/
NM_Set_Time_Constrained::NM_Set_Time_Constrained() {
- this->type = NetworkMessage::SET_TIME_CONSTRAINED;
this->name = "SET_TIME_CONSTRAINED";
+ this->type = NetworkMessage::SET_TIME_CONSTRAINED;
+ /* specific field init */
+ isDated = true;
}
NM_Set_Time_Constrained::~NM_Set_Time_Constrained() {
}
void NM_Set_Time_Constrained::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_bool(constrained);
+} /* end of serialize */
void NM_Set_Time_Constrained::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ constrained = msgBuf.read_bool();
+} /* end of deserialize */
/*<END>---------- Set_Time_Constrained ------------<END>*/
/*<BEGIN>---------- Register_Federation_Synchronization_Point
------------<BEGIN>*/
NM_Register_Federation_Synchronization_Point::NM_Register_Federation_Synchronization_Point()
{
- this->type = NetworkMessage::REGISTER_FEDERATION_SYNCHRONIZATION_POINT;
this->name = "REGISTER_FEDERATION_SYNCHRONIZATION_POINT";
+ this->type = NetworkMessage::REGISTER_FEDERATION_SYNCHRONIZATION_POINT;
+ /* specific field init */
+ isDated = true;
+ isLabelled = true;
}
NM_Register_Federation_Synchronization_Point::~NM_Register_Federation_Synchronization_Point()
{
}
void NM_Register_Federation_Synchronization_Point::serialize() {
-}
+ int i;
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_string(tag);
+ msgBuf.write_bool(hasHandleArray);
+ if (hasHandleArray) {
+ msgBuf.write_uint16(handleArraySize);
+ for (i = 0 ; i < handleArraySize ; i ++) {
+ msgBuf.write_uint16(handleArray[i]);
+ }
+ }
+} /* end of serialize */
void NM_Register_Federation_Synchronization_Point::deserialize() {
-}
+ int i;
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ tag = msgBuf.read_string();
+ hasHandleArray = msgBuf.read_bool();
+ if (hasHandleArray) {
+ handleArraySize = msgBuf.read_int16();
+ for (i = 0 ; i < handleArraySize ; i ++) {
+ handleArray[i] = msgBuf.read_int16();
+ }
+ }
+} /* end of deserialize */
/*<END>---------- Register_Federation_Synchronization_Point ------------<END>*/
/*<BEGIN>---------- Synchronization_Point_Registration_Succeeded
------------<BEGIN>*/
NM_Synchronization_Point_Registration_Succeeded::NM_Synchronization_Point_Registration_Succeeded()
{
- this->type = NetworkMessage::SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED;
this->name = "SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED";
+ this->type = NetworkMessage::SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED;
+ /* specific field init */
+ isDated = true;
+ isLabelled = true;
}
NM_Synchronization_Point_Registration_Succeeded::~NM_Synchronization_Point_Registration_Succeeded()
{
}
void NM_Synchronization_Point_Registration_Succeeded::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Synchronization_Point_Registration_Succeeded::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Synchronization_Point_Registration_Succeeded
------------<END>*/
/*<BEGIN>---------- Announce_Synchronization_Point ------------<BEGIN>*/
NM_Announce_Synchronization_Point::NM_Announce_Synchronization_Point() {
- this->type = NetworkMessage::ANNOUNCE_SYNCHRONIZATION_POINT;
this->name = "ANNOUNCE_SYNCHRONIZATION_POINT";
+ this->type = NetworkMessage::ANNOUNCE_SYNCHRONIZATION_POINT;
+ /* specific field init */
+ isDated = true;
+ isLabelled = true;
}
NM_Announce_Synchronization_Point::~NM_Announce_Synchronization_Point() {
}
void NM_Announce_Synchronization_Point::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_string(tag);
+} /* end of serialize */
void NM_Announce_Synchronization_Point::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ tag = msgBuf.read_string();
+} /* end of deserialize */
/*<END>---------- Announce_Synchronization_Point ------------<END>*/
/*<BEGIN>---------- Synchronization_Point_Achieved ------------<BEGIN>*/
NM_Synchronization_Point_Achieved::NM_Synchronization_Point_Achieved() {
- this->type = NetworkMessage::SYNCHRONIZATION_POINT_ACHIEVED;
this->name = "SYNCHRONIZATION_POINT_ACHIEVED";
+ this->type = NetworkMessage::SYNCHRONIZATION_POINT_ACHIEVED;
+ /* specific field init */
+ isDated = true;
+ isLabelled = true;
}
NM_Synchronization_Point_Achieved::~NM_Synchronization_Point_Achieved() {
}
void NM_Synchronization_Point_Achieved::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Synchronization_Point_Achieved::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Synchronization_Point_Achieved ------------<END>*/
/*<BEGIN>---------- Federation_Synchronized ------------<BEGIN>*/
NM_Federation_Synchronized::NM_Federation_Synchronized() {
- this->type = NetworkMessage::FEDERATION_SYNCHRONIZED;
this->name = "FEDERATION_SYNCHRONIZED";
+ this->type = NetworkMessage::FEDERATION_SYNCHRONIZED;
+ /* specific field init */
+ isDated = true;
+ isLabelled = true;
}
NM_Federation_Synchronized::~NM_Federation_Synchronized() {
}
void NM_Federation_Synchronized::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Federation_Synchronized::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Federation_Synchronized ------------<END>*/
/*<BEGIN>---------- Request_Federation_Save ------------<BEGIN>*/
NM_Request_Federation_Save::NM_Request_Federation_Save() {
- this->type = NetworkMessage::REQUEST_FEDERATION_SAVE;
this->name = "REQUEST_FEDERATION_SAVE";
+ this->type = NetworkMessage::REQUEST_FEDERATION_SAVE;
+ /* specific field init */
+ isLabelled = true;
}
NM_Request_Federation_Save::~NM_Request_Federation_Save() {
}
void NM_Request_Federation_Save::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Request_Federation_Save::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Request_Federation_Save ------------<END>*/
/*<BEGIN>---------- Federate_Save_Begun ------------<BEGIN>*/
NM_Federate_Save_Begun::NM_Federate_Save_Begun() {
- this->type = NetworkMessage::FEDERATE_SAVE_BEGUN;
this->name = "FEDERATE_SAVE_BEGUN";
+ this->type = NetworkMessage::FEDERATE_SAVE_BEGUN;
+ /* specific field init */
}
NM_Federate_Save_Begun::~NM_Federate_Save_Begun() {
}
void NM_Federate_Save_Begun::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Federate_Save_Begun::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Federate_Save_Begun ------------<END>*/
/*<BEGIN>---------- Federate_Save_Complete ------------<BEGIN>*/
NM_Federate_Save_Complete::NM_Federate_Save_Complete() {
- this->type = NetworkMessage::FEDERATE_SAVE_COMPLETE;
this->name = "FEDERATE_SAVE_COMPLETE";
+ this->type = NetworkMessage::FEDERATE_SAVE_COMPLETE;
+ /* specific field init */
}
NM_Federate_Save_Complete::~NM_Federate_Save_Complete() {
}
void NM_Federate_Save_Complete::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Federate_Save_Complete::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Federate_Save_Complete ------------<END>*/
/*<BEGIN>---------- Federate_Save_Not_Complete ------------<BEGIN>*/
NM_Federate_Save_Not_Complete::NM_Federate_Save_Not_Complete() {
- this->type = NetworkMessage::FEDERATE_SAVE_NOT_COMPLETE;
this->name = "FEDERATE_SAVE_NOT_COMPLETE";
+ this->type = NetworkMessage::FEDERATE_SAVE_NOT_COMPLETE;
+ /* specific field init */
}
NM_Federate_Save_Not_Complete::~NM_Federate_Save_Not_Complete() {
}
void NM_Federate_Save_Not_Complete::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Federate_Save_Not_Complete::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Federate_Save_Not_Complete ------------<END>*/
/*<BEGIN>---------- Initiate_Federate_Save ------------<BEGIN>*/
NM_Initiate_Federate_Save::NM_Initiate_Federate_Save() {
- this->type = NetworkMessage::INITIATE_FEDERATE_SAVE;
this->name = "INITIATE_FEDERATE_SAVE";
+ this->type = NetworkMessage::INITIATE_FEDERATE_SAVE;
+ /* specific field init */
+ isDated = true;
+ isLabelled = true;
}
NM_Initiate_Federate_Save::~NM_Initiate_Federate_Save() {
}
void NM_Initiate_Federate_Save::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Initiate_Federate_Save::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Initiate_Federate_Save ------------<END>*/
/*<BEGIN>---------- Federation_Saved ------------<BEGIN>*/
NM_Federation_Saved::NM_Federation_Saved() {
- this->type = NetworkMessage::FEDERATION_SAVED;
this->name = "FEDERATION_SAVED";
+ this->type = NetworkMessage::FEDERATION_SAVED;
+ /* specific field init */
}
NM_Federation_Saved::~NM_Federation_Saved() {
}
void NM_Federation_Saved::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Federation_Saved::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Federation_Saved ------------<END>*/
/*<BEGIN>---------- Federation_Not_Saved ------------<BEGIN>*/
NM_Federation_Not_Saved::NM_Federation_Not_Saved() {
- this->type = NetworkMessage::FEDERATION_NOT_SAVED;
this->name = "FEDERATION_NOT_SAVED";
+ this->type = NetworkMessage::FEDERATION_NOT_SAVED;
+ /* specific field init */
}
NM_Federation_Not_Saved::~NM_Federation_Not_Saved() {
}
void NM_Federation_Not_Saved::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Federation_Not_Saved::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Federation_Not_Saved ------------<END>*/
/*<BEGIN>---------- Request_Federation_Restore ------------<BEGIN>*/
NM_Request_Federation_Restore::NM_Request_Federation_Restore() {
- this->type = NetworkMessage::REQUEST_FEDERATION_RESTORE;
this->name = "REQUEST_FEDERATION_RESTORE";
+ this->type = NetworkMessage::REQUEST_FEDERATION_RESTORE;
+ /* specific field init */
+ isDated = true;
+ isLabelled = true;
}
NM_Request_Federation_Restore::~NM_Request_Federation_Restore() {
}
void NM_Request_Federation_Restore::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Request_Federation_Restore::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Request_Federation_Restore ------------<END>*/
/*<BEGIN>---------- Federate_Restore_Complete ------------<BEGIN>*/
NM_Federate_Restore_Complete::NM_Federate_Restore_Complete() {
- this->type = NetworkMessage::FEDERATE_RESTORE_COMPLETE;
this->name = "FEDERATE_RESTORE_COMPLETE";
+ this->type = NetworkMessage::FEDERATE_RESTORE_COMPLETE;
+ /* specific field init */
}
NM_Federate_Restore_Complete::~NM_Federate_Restore_Complete() {
}
void NM_Federate_Restore_Complete::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Federate_Restore_Complete::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Federate_Restore_Complete ------------<END>*/
/*<BEGIN>---------- Federate_Restore_Not_Complete ------------<BEGIN>*/
NM_Federate_Restore_Not_Complete::NM_Federate_Restore_Not_Complete() {
- this->type = NetworkMessage::FEDERATE_RESTORE_NOT_COMPLETE;
this->name = "FEDERATE_RESTORE_NOT_COMPLETE";
+ this->type = NetworkMessage::FEDERATE_RESTORE_NOT_COMPLETE;
+ /* specific field init */
}
NM_Federate_Restore_Not_Complete::~NM_Federate_Restore_Not_Complete() {
}
void NM_Federate_Restore_Not_Complete::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Federate_Restore_Not_Complete::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Federate_Restore_Not_Complete ------------<END>*/
/*<BEGIN>---------- Request_Federation_Restore_Succeeded ------------<BEGIN>*/
NM_Request_Federation_Restore_Succeeded::NM_Request_Federation_Restore_Succeeded()
{
- this->type = NetworkMessage::REQUEST_FEDERATION_RESTORE_SUCCEEDED;
this->name = "REQUEST_FEDERATION_RESTORE_SUCCEEDED";
+ this->type = NetworkMessage::REQUEST_FEDERATION_RESTORE_SUCCEEDED;
+ /* specific field init */
+ isDated = true;
+ isLabelled = true;
}
NM_Request_Federation_Restore_Succeeded::~NM_Request_Federation_Restore_Succeeded()
{
}
void NM_Request_Federation_Restore_Succeeded::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Request_Federation_Restore_Succeeded::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Request_Federation_Restore_Succeeded ------------<END>*/
/*<BEGIN>---------- Request_Federation_Restore_Failed ------------<BEGIN>*/
NM_Request_Federation_Restore_Failed::NM_Request_Federation_Restore_Failed() {
- this->type = NetworkMessage::REQUEST_FEDERATION_RESTORE_FAILED;
this->name = "REQUEST_FEDERATION_RESTORE_FAILED";
+ this->type = NetworkMessage::REQUEST_FEDERATION_RESTORE_FAILED;
+ /* specific field init */
+ isDated = true;
+ isLabelled = true;
}
NM_Request_Federation_Restore_Failed::~NM_Request_Federation_Restore_Failed() {
}
void NM_Request_Federation_Restore_Failed::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_string(tag);
+} /* end of serialize */
void NM_Request_Federation_Restore_Failed::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ tag = msgBuf.read_string();
+} /* end of deserialize */
/*<END>---------- Request_Federation_Restore_Failed ------------<END>*/
/*<BEGIN>---------- Federation_Restore_Begun ------------<BEGIN>*/
NM_Federation_Restore_Begun::NM_Federation_Restore_Begun() {
- this->type = NetworkMessage::FEDERATION_RESTORE_BEGUN;
this->name = "FEDERATION_RESTORE_BEGUN";
+ this->type = NetworkMessage::FEDERATION_RESTORE_BEGUN;
+ /* specific field init */
+ isLabelled = true;
}
NM_Federation_Restore_Begun::~NM_Federation_Restore_Begun() {
}
void NM_Federation_Restore_Begun::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Federation_Restore_Begun::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Federation_Restore_Begun ------------<END>*/
/*<BEGIN>---------- Initiate_Federate_Restore ------------<BEGIN>*/
NM_Initiate_Federate_Restore::NM_Initiate_Federate_Restore() {
- this->type = NetworkMessage::INITIATE_FEDERATE_RESTORE;
this->name = "INITIATE_FEDERATE_RESTORE";
+ this->type = NetworkMessage::INITIATE_FEDERATE_RESTORE;
+ /* specific field init */
}
NM_Initiate_Federate_Restore::~NM_Initiate_Federate_Restore() {
}
void NM_Initiate_Federate_Restore::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Initiate_Federate_Restore::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Initiate_Federate_Restore ------------<END>*/
/*<BEGIN>---------- Federation_Restored ------------<BEGIN>*/
NM_Federation_Restored::NM_Federation_Restored() {
- this->type = NetworkMessage::FEDERATION_RESTORED;
this->name = "FEDERATION_RESTORED";
+ this->type = NetworkMessage::FEDERATION_RESTORED;
+ /* specific field init */
}
NM_Federation_Restored::~NM_Federation_Restored() {
}
void NM_Federation_Restored::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Federation_Restored::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Federation_Restored ------------<END>*/
/*<BEGIN>---------- Federation_Not_Restored ------------<BEGIN>*/
NM_Federation_Not_Restored::NM_Federation_Not_Restored() {
- this->type = NetworkMessage::FEDERATION_NOT_RESTORED;
this->name = "FEDERATION_NOT_RESTORED";
+ this->type = NetworkMessage::FEDERATION_NOT_RESTORED;
+ /* specific field init */
}
NM_Federation_Not_Restored::~NM_Federation_Not_Restored() {
}
void NM_Federation_Not_Restored::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Federation_Not_Restored::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Federation_Not_Restored ------------<END>*/
/*<BEGIN>---------- Publish_Object_Class ------------<BEGIN>*/
NM_Publish_Object_Class::NM_Publish_Object_Class() {
- this->type = NetworkMessage::PUBLISH_OBJECT_CLASS;
this->name = "PUBLISH_OBJECT_CLASS";
+ this->type = NetworkMessage::PUBLISH_OBJECT_CLASS;
+ /* specific field init */
}
NM_Publish_Object_Class::~NM_Publish_Object_Class() {
}
void NM_Publish_Object_Class::serialize() {
-}
+ int i;
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_bool(hasHandleArray);
+ if (hasHandleArray) {
+ msgBuf.write_uint16(handleArraySize);
+ for (i = 0 ; i < handleArraySize ; i ++) {
+ msgBuf.write_uint16(handleArray[i]);
+ }
+ }
+} /* end of serialize */
void NM_Publish_Object_Class::deserialize() {
-}
+ int i;
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ hasHandleArray = msgBuf.read_bool();
+ if (hasHandleArray) {
+ handleArraySize = msgBuf.read_int16();
+ for (i = 0 ; i < handleArraySize ; i ++) {
+ handleArray[i] = msgBuf.read_int16();
+ }
+ }
+} /* end of deserialize */
/*<END>---------- Publish_Object_Class ------------<END>*/
/*<BEGIN>---------- Unpublish_Object_Class ------------<BEGIN>*/
NM_Unpublish_Object_Class::NM_Unpublish_Object_Class() {
- this->type = NetworkMessage::UNPUBLISH_OBJECT_CLASS;
this->name = "UNPUBLISH_OBJECT_CLASS";
+ this->type = NetworkMessage::UNPUBLISH_OBJECT_CLASS;
+ /* specific field init */
}
NM_Unpublish_Object_Class::~NM_Unpublish_Object_Class() {
}
void NM_Unpublish_Object_Class::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_int32(objectClass);
+} /* end of serialize */
void NM_Unpublish_Object_Class::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ objectClass = msgBuf.read_int32();
+} /* end of deserialize */
/*<END>---------- Unpublish_Object_Class ------------<END>*/
/*<BEGIN>---------- Publish_Interaction_Class ------------<BEGIN>*/
NM_Publish_Interaction_Class::NM_Publish_Interaction_Class() {
- this->type = NetworkMessage::PUBLISH_INTERACTION_CLASS;
this->name = "PUBLISH_INTERACTION_CLASS";
+ this->type = NetworkMessage::PUBLISH_INTERACTION_CLASS;
+ /* specific field init */
}
NM_Publish_Interaction_Class::~NM_Publish_Interaction_Class() {
}
void NM_Publish_Interaction_Class::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_int32(interactionClass);
+} /* end of serialize */
void NM_Publish_Interaction_Class::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ interactionClass = msgBuf.read_int32();
+} /* end of deserialize */
/*<END>---------- Publish_Interaction_Class ------------<END>*/
/*<BEGIN>---------- Unpublish_Interaction_Class ------------<BEGIN>*/
NM_Unpublish_Interaction_Class::NM_Unpublish_Interaction_Class() {
- this->type = NetworkMessage::UNPUBLISH_INTERACTION_CLASS;
this->name = "UNPUBLISH_INTERACTION_CLASS";
+ this->type = NetworkMessage::UNPUBLISH_INTERACTION_CLASS;
+ /* specific field init */
}
NM_Unpublish_Interaction_Class::~NM_Unpublish_Interaction_Class() {
}
void NM_Unpublish_Interaction_Class::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_int32(interactionClass);
+} /* end of serialize */
void NM_Unpublish_Interaction_Class::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ interactionClass = msgBuf.read_int32();
+} /* end of deserialize */
/*<END>---------- Unpublish_Interaction_Class ------------<END>*/
/*<BEGIN>---------- Subscribe_Object_Class ------------<BEGIN>*/
NM_Subscribe_Object_Class::NM_Subscribe_Object_Class() {
- this->type = NetworkMessage::SUBSCRIBE_OBJECT_CLASS;
this->name = "SUBSCRIBE_OBJECT_CLASS";
+ this->type = NetworkMessage::SUBSCRIBE_OBJECT_CLASS;
+ /* specific field init */
}
NM_Subscribe_Object_Class::~NM_Subscribe_Object_Class() {
}
void NM_Subscribe_Object_Class::serialize() {
-}
+ int i;
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_bool(hasHandleArray);
+ if (hasHandleArray) {
+ msgBuf.write_uint16(handleArraySize);
+ for (i = 0 ; i < handleArraySize ; i ++) {
+ msgBuf.write_uint16(handleArray[i]);
+ }
+ }
+} /* end of serialize */
void NM_Subscribe_Object_Class::deserialize() {
-}
+ int i;
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ hasHandleArray = msgBuf.read_bool();
+ if (hasHandleArray) {
+ handleArraySize = msgBuf.read_int16();
+ for (i = 0 ; i < handleArraySize ; i ++) {
+ handleArray[i] = msgBuf.read_int16();
+ }
+ }
+} /* end of deserialize */
/*<END>---------- Subscribe_Object_Class ------------<END>*/
/*<BEGIN>---------- Unsubscribe_Object_Class ------------<BEGIN>*/
NM_Unsubscribe_Object_Class::NM_Unsubscribe_Object_Class() {
- this->type = NetworkMessage::UNSUBSCRIBE_OBJECT_CLASS;
this->name = "UNSUBSCRIBE_OBJECT_CLASS";
+ this->type = NetworkMessage::UNSUBSCRIBE_OBJECT_CLASS;
+ /* specific field init */
}
NM_Unsubscribe_Object_Class::~NM_Unsubscribe_Object_Class() {
}
void NM_Unsubscribe_Object_Class::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_int32(objectClass);
+} /* end of serialize */
void NM_Unsubscribe_Object_Class::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ objectClass = msgBuf.read_int32();
+} /* end of deserialize */
/*<END>---------- Unsubscribe_Object_Class ------------<END>*/
/*<BEGIN>---------- Subscribe_Interaction_Class ------------<BEGIN>*/
NM_Subscribe_Interaction_Class::NM_Subscribe_Interaction_Class() {
- this->type = NetworkMessage::SUBSCRIBE_INTERACTION_CLASS;
this->name = "SUBSCRIBE_INTERACTION_CLASS";
+ this->type = NetworkMessage::SUBSCRIBE_INTERACTION_CLASS;
+ /* specific field init */
}
NM_Subscribe_Interaction_Class::~NM_Subscribe_Interaction_Class() {
}
void NM_Subscribe_Interaction_Class::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_int32(interactionClass);
+} /* end of serialize */
void NM_Subscribe_Interaction_Class::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ interactionClass = msgBuf.read_int32();
+} /* end of deserialize */
/*<END>---------- Subscribe_Interaction_Class ------------<END>*/
/*<BEGIN>---------- Unsubscribe_Interaction_Class ------------<BEGIN>*/
NM_Unsubscribe_Interaction_Class::NM_Unsubscribe_Interaction_Class() {
- this->type = NetworkMessage::UNSUBSCRIBE_INTERACTION_CLASS;
this->name = "UNSUBSCRIBE_INTERACTION_CLASS";
+ this->type = NetworkMessage::UNSUBSCRIBE_INTERACTION_CLASS;
+ /* specific field init */
}
NM_Unsubscribe_Interaction_Class::~NM_Unsubscribe_Interaction_Class() {
}
void NM_Unsubscribe_Interaction_Class::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_int32(interactionClass);
+} /* end of serialize */
void NM_Unsubscribe_Interaction_Class::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ interactionClass = msgBuf.read_int32();
+} /* end of deserialize */
/*<END>---------- Unsubscribe_Interaction_Class ------------<END>*/
/*<BEGIN>---------- Turn_Interactions_On ------------<BEGIN>*/
NM_Turn_Interactions_On::NM_Turn_Interactions_On() {
- this->type = NetworkMessage::TURN_INTERACTIONS_ON;
this->name = "TURN_INTERACTIONS_ON";
+ this->type = NetworkMessage::TURN_INTERACTIONS_ON;
+ /* specific field init */
}
NM_Turn_Interactions_On::~NM_Turn_Interactions_On() {
}
void NM_Turn_Interactions_On::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_int32(interactionClass);
+} /* end of serialize */
void NM_Turn_Interactions_On::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ interactionClass = msgBuf.read_int32();
+} /* end of deserialize */
/*<END>---------- Turn_Interactions_On ------------<END>*/
/*<BEGIN>---------- Turn_Interactions_Off ------------<BEGIN>*/
NM_Turn_Interactions_Off::NM_Turn_Interactions_Off() {
- this->type = NetworkMessage::TURN_INTERACTIONS_OFF;
this->name = "TURN_INTERACTIONS_OFF";
+ this->type = NetworkMessage::TURN_INTERACTIONS_OFF;
+ /* specific field init */
}
NM_Turn_Interactions_Off::~NM_Turn_Interactions_Off() {
}
void NM_Turn_Interactions_Off::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+ msgBuf.write_int32(interactionClass);
+} /* end of serialize */
void NM_Turn_Interactions_Off::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+ interactionClass = msgBuf.read_int32();
+} /* end of deserialize */
/*<END>---------- Turn_Interactions_Off ------------<END>*/
/*<BEGIN>---------- Register_Object ------------<BEGIN>*/
NM_Register_Object::NM_Register_Object() {
- this->type = NetworkMessage::REGISTER_OBJECT;
this->name = "REGISTER_OBJECT";
+ this->type = NetworkMessage::REGISTER_OBJECT;
+ /* specific field init */
}
NM_Register_Object::~NM_Register_Object() {
}
void NM_Register_Object::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Register_Object::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Register_Object ------------<END>*/
/*<BEGIN>---------- Discover_Object ------------<BEGIN>*/
NM_Discover_Object::NM_Discover_Object() {
- this->type = NetworkMessage::DISCOVER_OBJECT;
this->name = "DISCOVER_OBJECT";
+ this->type = NetworkMessage::DISCOVER_OBJECT;
+ /* specific field init */
}
NM_Discover_Object::~NM_Discover_Object() {
}
void NM_Discover_Object::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Discover_Object::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Discover_Object ------------<END>*/
/*<BEGIN>---------- Update_Attribute_Values ------------<BEGIN>*/
NM_Update_Attribute_Values::NM_Update_Attribute_Values() {
- this->type = NetworkMessage::UPDATE_ATTRIBUTE_VALUES;
this->name = "UPDATE_ATTRIBUTE_VALUES";
+ this->type = NetworkMessage::UPDATE_ATTRIBUTE_VALUES;
+ /* specific field init */
}
NM_Update_Attribute_Values::~NM_Update_Attribute_Values() {
}
void NM_Update_Attribute_Values::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Update_Attribute_Values::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Update_Attribute_Values ------------<END>*/
/*<BEGIN>---------- Reflect_Attribute_Values ------------<BEGIN>*/
NM_Reflect_Attribute_Values::NM_Reflect_Attribute_Values() {
- this->type = NetworkMessage::REFLECT_ATTRIBUTE_VALUES;
this->name = "REFLECT_ATTRIBUTE_VALUES";
+ this->type = NetworkMessage::REFLECT_ATTRIBUTE_VALUES;
+ /* specific field init */
}
NM_Reflect_Attribute_Values::~NM_Reflect_Attribute_Values() {
}
void NM_Reflect_Attribute_Values::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Reflect_Attribute_Values::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Reflect_Attribute_Values ------------<END>*/
/*<BEGIN>---------- Send_Interaction ------------<BEGIN>*/
NM_Send_Interaction::NM_Send_Interaction() {
- this->type = NetworkMessage::SEND_INTERACTION;
this->name = "SEND_INTERACTION";
+ this->type = NetworkMessage::SEND_INTERACTION;
+ /* specific field init */
}
NM_Send_Interaction::~NM_Send_Interaction() {
}
void NM_Send_Interaction::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Send_Interaction::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Send_Interaction ------------<END>*/
/*<BEGIN>---------- Receive_Interaction ------------<BEGIN>*/
NM_Receive_Interaction::NM_Receive_Interaction() {
- this->type = NetworkMessage::RECEIVE_INTERACTION;
this->name = "RECEIVE_INTERACTION";
+ this->type = NetworkMessage::RECEIVE_INTERACTION;
+ /* specific field init */
}
NM_Receive_Interaction::~NM_Receive_Interaction() {
}
void NM_Receive_Interaction::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Receive_Interaction::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Receive_Interaction ------------<END>*/
/*<BEGIN>---------- Delete_Object ------------<BEGIN>*/
NM_Delete_Object::NM_Delete_Object() {
- this->type = NetworkMessage::DELETE_OBJECT;
this->name = "DELETE_OBJECT";
+ this->type = NetworkMessage::DELETE_OBJECT;
+ /* specific field init */
}
NM_Delete_Object::~NM_Delete_Object() {
}
void NM_Delete_Object::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Delete_Object::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Delete_Object ------------<END>*/
/*<BEGIN>---------- Remove_Object ------------<BEGIN>*/
NM_Remove_Object::NM_Remove_Object() {
- this->type = NetworkMessage::REMOVE_OBJECT;
this->name = "REMOVE_OBJECT";
+ this->type = NetworkMessage::REMOVE_OBJECT;
+ /* specific field init */
}
NM_Remove_Object::~NM_Remove_Object() {
}
void NM_Remove_Object::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Remove_Object::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Remove_Object ------------<END>*/
/*<BEGIN>---------- Change_Attribute_Transport_Type ------------<BEGIN>*/
NM_Change_Attribute_Transport_Type::NM_Change_Attribute_Transport_Type() {
- this->type = NetworkMessage::CHANGE_ATTRIBUTE_TRANSPORT_TYPE;
this->name = "CHANGE_ATTRIBUTE_TRANSPORT_TYPE";
+ this->type = NetworkMessage::CHANGE_ATTRIBUTE_TRANSPORT_TYPE;
+ /* specific field init */
}
NM_Change_Attribute_Transport_Type::~NM_Change_Attribute_Transport_Type() {
}
void NM_Change_Attribute_Transport_Type::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Change_Attribute_Transport_Type::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Change_Attribute_Transport_Type ------------<END>*/
/*<BEGIN>---------- Change_Attribute_Order_Type ------------<BEGIN>*/
NM_Change_Attribute_Order_Type::NM_Change_Attribute_Order_Type() {
- this->type = NetworkMessage::CHANGE_ATTRIBUTE_ORDER_TYPE;
this->name = "CHANGE_ATTRIBUTE_ORDER_TYPE";
+ this->type = NetworkMessage::CHANGE_ATTRIBUTE_ORDER_TYPE;
+ /* specific field init */
}
NM_Change_Attribute_Order_Type::~NM_Change_Attribute_Order_Type() {
}
void NM_Change_Attribute_Order_Type::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Change_Attribute_Order_Type::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Change_Attribute_Order_Type ------------<END>*/
/*<BEGIN>---------- Change_Interaction_Transport_Type ------------<BEGIN>*/
NM_Change_Interaction_Transport_Type::NM_Change_Interaction_Transport_Type() {
- this->type = NetworkMessage::CHANGE_INTERACTION_TRANSPORT_TYPE;
this->name = "CHANGE_INTERACTION_TRANSPORT_TYPE";
+ this->type = NetworkMessage::CHANGE_INTERACTION_TRANSPORT_TYPE;
+ /* specific field init */
}
NM_Change_Interaction_Transport_Type::~NM_Change_Interaction_Transport_Type() {
}
void NM_Change_Interaction_Transport_Type::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Change_Interaction_Transport_Type::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Change_Interaction_Transport_Type ------------<END>*/
/*<BEGIN>---------- Change_Interaction_Order_Type ------------<BEGIN>*/
NM_Change_Interaction_Order_Type::NM_Change_Interaction_Order_Type() {
- this->type = NetworkMessage::CHANGE_INTERACTION_ORDER_TYPE;
this->name = "CHANGE_INTERACTION_ORDER_TYPE";
+ this->type = NetworkMessage::CHANGE_INTERACTION_ORDER_TYPE;
+ /* specific field init */
}
NM_Change_Interaction_Order_Type::~NM_Change_Interaction_Order_Type() {
}
void NM_Change_Interaction_Order_Type::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Change_Interaction_Order_Type::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Change_Interaction_Order_Type ------------<END>*/
/*<BEGIN>---------- Request_Class_Attribute_Value_Update ------------<BEGIN>*/
NM_Request_Class_Attribute_Value_Update::NM_Request_Class_Attribute_Value_Update()
{
- this->type = NetworkMessage::REQUEST_CLASS_ATTRIBUTE_VALUE_UPDATE;
this->name = "REQUEST_CLASS_ATTRIBUTE_VALUE_UPDATE";
+ this->type = NetworkMessage::REQUEST_CLASS_ATTRIBUTE_VALUE_UPDATE;
+ /* specific field init */
}
NM_Request_Class_Attribute_Value_Update::~NM_Request_Class_Attribute_Value_Update()
{
}
void NM_Request_Class_Attribute_Value_Update::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Request_Class_Attribute_Value_Update::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Request_Class_Attribute_Value_Update ------------<END>*/
/*<BEGIN>---------- Request_Object_Attribute_Value_Update ------------<BEGIN>*/
NM_Request_Object_Attribute_Value_Update::NM_Request_Object_Attribute_Value_Update()
{
- this->type = NetworkMessage::REQUEST_OBJECT_ATTRIBUTE_VALUE_UPDATE;
this->name = "REQUEST_OBJECT_ATTRIBUTE_VALUE_UPDATE";
+ this->type = NetworkMessage::REQUEST_OBJECT_ATTRIBUTE_VALUE_UPDATE;
+ /* specific field init */
}
NM_Request_Object_Attribute_Value_Update::~NM_Request_Object_Attribute_Value_Update()
{
}
void NM_Request_Object_Attribute_Value_Update::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Request_Object_Attribute_Value_Update::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Request_Object_Attribute_Value_Update ------------<END>*/
/*<BEGIN>---------- Is_Attribute_Owned_By_Federate ------------<BEGIN>*/
NM_Is_Attribute_Owned_By_Federate::NM_Is_Attribute_Owned_By_Federate() {
- this->type = NetworkMessage::IS_ATTRIBUTE_OWNED_BY_FEDERATE;
this->name = "IS_ATTRIBUTE_OWNED_BY_FEDERATE";
+ this->type = NetworkMessage::IS_ATTRIBUTE_OWNED_BY_FEDERATE;
+ /* specific field init */
}
NM_Is_Attribute_Owned_By_Federate::~NM_Is_Attribute_Owned_By_Federate() {
}
void NM_Is_Attribute_Owned_By_Federate::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Is_Attribute_Owned_By_Federate::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Is_Attribute_Owned_By_Federate ------------<END>*/
/*<BEGIN>---------- Query_Attribute_Ownership ------------<BEGIN>*/
NM_Query_Attribute_Ownership::NM_Query_Attribute_Ownership() {
- this->type = NetworkMessage::QUERY_ATTRIBUTE_OWNERSHIP;
this->name = "QUERY_ATTRIBUTE_OWNERSHIP";
+ this->type = NetworkMessage::QUERY_ATTRIBUTE_OWNERSHIP;
+ /* specific field init */
}
NM_Query_Attribute_Ownership::~NM_Query_Attribute_Ownership() {
}
void NM_Query_Attribute_Ownership::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Query_Attribute_Ownership::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Query_Attribute_Ownership ------------<END>*/
/*<BEGIN>---------- Attribute_Is_Not_Owned ------------<BEGIN>*/
NM_Attribute_Is_Not_Owned::NM_Attribute_Is_Not_Owned() {
- this->type = NetworkMessage::ATTRIBUTE_IS_NOT_OWNED;
this->name = "ATTRIBUTE_IS_NOT_OWNED";
+ this->type = NetworkMessage::ATTRIBUTE_IS_NOT_OWNED;
+ /* specific field init */
}
NM_Attribute_Is_Not_Owned::~NM_Attribute_Is_Not_Owned() {
}
void NM_Attribute_Is_Not_Owned::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Attribute_Is_Not_Owned::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Attribute_Is_Not_Owned ------------<END>*/
/*<BEGIN>---------- Inform_Attribute_Ownership ------------<BEGIN>*/
NM_Inform_Attribute_Ownership::NM_Inform_Attribute_Ownership() {
- this->type = NetworkMessage::INFORM_ATTRIBUTE_OWNERSHIP;
this->name = "INFORM_ATTRIBUTE_OWNERSHIP";
+ this->type = NetworkMessage::INFORM_ATTRIBUTE_OWNERSHIP;
+ /* specific field init */
}
NM_Inform_Attribute_Ownership::~NM_Inform_Attribute_Ownership() {
}
void NM_Inform_Attribute_Ownership::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Inform_Attribute_Ownership::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Inform_Attribute_Ownership ------------<END>*/
/*<BEGIN>---------- Negotiated_Attribute_Ownership_Divestiture
------------<BEGIN>*/
NM_Negotiated_Attribute_Ownership_Divestiture::NM_Negotiated_Attribute_Ownership_Divestiture()
{
- this->type = NetworkMessage::NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
this->name = "NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE";
+ this->type = NetworkMessage::NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
+ /* specific field init */
}
NM_Negotiated_Attribute_Ownership_Divestiture::~NM_Negotiated_Attribute_Ownership_Divestiture()
{
}
void NM_Negotiated_Attribute_Ownership_Divestiture::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Negotiated_Attribute_Ownership_Divestiture::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Negotiated_Attribute_Ownership_Divestiture
------------<END>*/
/*<BEGIN>---------- Attribute_Ownership_Acquisition_Notification
------------<BEGIN>*/
NM_Attribute_Ownership_Acquisition_Notification::NM_Attribute_Ownership_Acquisition_Notification()
{
- this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_ACQUISITION_NOTIFICATION;
this->name = "ATTRIBUTE_OWNERSHIP_ACQUISITION_NOTIFICATION";
+ this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_ACQUISITION_NOTIFICATION;
+ /* specific field init */
}
NM_Attribute_Ownership_Acquisition_Notification::~NM_Attribute_Ownership_Acquisition_Notification()
{
}
void NM_Attribute_Ownership_Acquisition_Notification::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Attribute_Ownership_Acquisition_Notification::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Attribute_Ownership_Acquisition_Notification
------------<END>*/
/*<BEGIN>---------- Attribute_Ownership_Divestiture_Notification
------------<BEGIN>*/
NM_Attribute_Ownership_Divestiture_Notification::NM_Attribute_Ownership_Divestiture_Notification()
{
- this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_DIVESTITURE_NOTIFICATION;
this->name = "ATTRIBUTE_OWNERSHIP_DIVESTITURE_NOTIFICATION";
+ this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_DIVESTITURE_NOTIFICATION;
+ /* specific field init */
}
NM_Attribute_Ownership_Divestiture_Notification::~NM_Attribute_Ownership_Divestiture_Notification()
{
}
void NM_Attribute_Ownership_Divestiture_Notification::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Attribute_Ownership_Divestiture_Notification::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Attribute_Ownership_Divestiture_Notification
------------<END>*/
/*<BEGIN>---------- Request_Attribute_Ownership_Assumption
------------<BEGIN>*/
NM_Request_Attribute_Ownership_Assumption::NM_Request_Attribute_Ownership_Assumption()
{
- this->type = NetworkMessage::REQUEST_ATTRIBUTE_OWNERSHIP_ASSUMPTION;
this->name = "REQUEST_ATTRIBUTE_OWNERSHIP_ASSUMPTION";
+ this->type = NetworkMessage::REQUEST_ATTRIBUTE_OWNERSHIP_ASSUMPTION;
+ /* specific field init */
}
NM_Request_Attribute_Ownership_Assumption::~NM_Request_Attribute_Ownership_Assumption()
{
}
void NM_Request_Attribute_Ownership_Assumption::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Request_Attribute_Ownership_Assumption::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Request_Attribute_Ownership_Assumption ------------<END>*/
/*<BEGIN>---------- Attribute_Ownership_Unavailable ------------<BEGIN>*/
NM_Attribute_Ownership_Unavailable::NM_Attribute_Ownership_Unavailable() {
- this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_UNAVAILABLE;
this->name = "ATTRIBUTE_OWNERSHIP_UNAVAILABLE";
+ this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_UNAVAILABLE;
+ /* specific field init */
}
NM_Attribute_Ownership_Unavailable::~NM_Attribute_Ownership_Unavailable() {
}
void NM_Attribute_Ownership_Unavailable::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Attribute_Ownership_Unavailable::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Attribute_Ownership_Unavailable ------------<END>*/
/*<BEGIN>---------- Attribute_Ownership_Acquisition_If_Available
------------<BEGIN>*/
NM_Attribute_Ownership_Acquisition_If_Available::NM_Attribute_Ownership_Acquisition_If_Available()
{
- this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_ACQUISITION_IF_AVAILABLE;
this->name = "ATTRIBUTE_OWNERSHIP_ACQUISITION_IF_AVAILABLE";
+ this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_ACQUISITION_IF_AVAILABLE;
+ /* specific field init */
}
NM_Attribute_Ownership_Acquisition_If_Available::~NM_Attribute_Ownership_Acquisition_If_Available()
{
}
void NM_Attribute_Ownership_Acquisition_If_Available::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Attribute_Ownership_Acquisition_If_Available::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Attribute_Ownership_Acquisition_If_Available
------------<END>*/
/*<BEGIN>---------- Unconditional_Attribute_Ownership_Divestiture
------------<BEGIN>*/
NM_Unconditional_Attribute_Ownership_Divestiture::NM_Unconditional_Attribute_Ownership_Divestiture()
{
- this->type = NetworkMessage::UNCONDITIONAL_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
this->name = "UNCONDITIONAL_ATTRIBUTE_OWNERSHIP_DIVESTITURE";
+ this->type = NetworkMessage::UNCONDITIONAL_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
+ /* specific field init */
}
NM_Unconditional_Attribute_Ownership_Divestiture::~NM_Unconditional_Attribute_Ownership_Divestiture()
{
}
void NM_Unconditional_Attribute_Ownership_Divestiture::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Unconditional_Attribute_Ownership_Divestiture::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Unconditional_Attribute_Ownership_Divestiture
------------<END>*/
/*<BEGIN>---------- Attribute_Ownership_Acquisition ------------<BEGIN>*/
NM_Attribute_Ownership_Acquisition::NM_Attribute_Ownership_Acquisition() {
- this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_ACQUISITION;
this->name = "ATTRIBUTE_OWNERSHIP_ACQUISITION";
+ this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_ACQUISITION;
+ /* specific field init */
}
NM_Attribute_Ownership_Acquisition::~NM_Attribute_Ownership_Acquisition() {
}
void NM_Attribute_Ownership_Acquisition::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Attribute_Ownership_Acquisition::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Attribute_Ownership_Acquisition ------------<END>*/
/*<BEGIN>---------- Request_Attribute_Ownership_Release ------------<BEGIN>*/
NM_Request_Attribute_Ownership_Release::NM_Request_Attribute_Ownership_Release()
{
- this->type = NetworkMessage::REQUEST_ATTRIBUTE_OWNERSHIP_RELEASE;
this->name = "REQUEST_ATTRIBUTE_OWNERSHIP_RELEASE";
+ this->type = NetworkMessage::REQUEST_ATTRIBUTE_OWNERSHIP_RELEASE;
+ /* specific field init */
}
NM_Request_Attribute_Ownership_Release::~NM_Request_Attribute_Ownership_Release()
{
}
void NM_Request_Attribute_Ownership_Release::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Request_Attribute_Ownership_Release::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Request_Attribute_Ownership_Release ------------<END>*/
/*<BEGIN>---------- Cancel_Negotiated_Attribute_Ownership_Divestiture
------------<BEGIN>*/
NM_Cancel_Negotiated_Attribute_Ownership_Divestiture::NM_Cancel_Negotiated_Attribute_Ownership_Divestiture()
{
- this->type =
NetworkMessage::CANCEL_NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
this->name = "CANCEL_NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE";
+ this->type =
NetworkMessage::CANCEL_NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
+ /* specific field init */
}
NM_Cancel_Negotiated_Attribute_Ownership_Divestiture::~NM_Cancel_Negotiated_Attribute_Ownership_Divestiture()
{
}
void NM_Cancel_Negotiated_Attribute_Ownership_Divestiture::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Cancel_Negotiated_Attribute_Ownership_Divestiture::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Cancel_Negotiated_Attribute_Ownership_Divestiture
------------<END>*/
/*<BEGIN>---------- Attribute_Ownership_Release_Response ------------<BEGIN>*/
NM_Attribute_Ownership_Release_Response::NM_Attribute_Ownership_Release_Response()
{
- this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_RELEASE_RESPONSE;
this->name = "ATTRIBUTE_OWNERSHIP_RELEASE_RESPONSE";
+ this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_RELEASE_RESPONSE;
+ /* specific field init */
}
NM_Attribute_Ownership_Release_Response::~NM_Attribute_Ownership_Release_Response()
{
}
void NM_Attribute_Ownership_Release_Response::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Attribute_Ownership_Release_Response::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Attribute_Ownership_Release_Response ------------<END>*/
/*<BEGIN>---------- Cancel_Attribute_Ownership_Acquisition
------------<BEGIN>*/
NM_Cancel_Attribute_Ownership_Acquisition::NM_Cancel_Attribute_Ownership_Acquisition()
{
- this->type = NetworkMessage::CANCEL_ATTRIBUTE_OWNERSHIP_ACQUISITION;
this->name = "CANCEL_ATTRIBUTE_OWNERSHIP_ACQUISITION";
+ this->type = NetworkMessage::CANCEL_ATTRIBUTE_OWNERSHIP_ACQUISITION;
+ /* specific field init */
}
NM_Cancel_Attribute_Ownership_Acquisition::~NM_Cancel_Attribute_Ownership_Acquisition()
{
}
void NM_Cancel_Attribute_Ownership_Acquisition::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Cancel_Attribute_Ownership_Acquisition::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Cancel_Attribute_Ownership_Acquisition ------------<END>*/
/*<BEGIN>---------- Confirm_Attribute_Ownership_Acquisition_Cancellation
------------<BEGIN>*/
NM_Confirm_Attribute_Ownership_Acquisition_Cancellation::NM_Confirm_Attribute_Ownership_Acquisition_Cancellation()
{
- this->type =
NetworkMessage::CONFIRM_ATTRIBUTE_OWNERSHIP_ACQUISITION_CANCELLATION;
this->name = "CONFIRM_ATTRIBUTE_OWNERSHIP_ACQUISITION_CANCELLATION";
+ this->type =
NetworkMessage::CONFIRM_ATTRIBUTE_OWNERSHIP_ACQUISITION_CANCELLATION;
+ /* specific field init */
}
NM_Confirm_Attribute_Ownership_Acquisition_Cancellation::~NM_Confirm_Attribute_Ownership_Acquisition_Cancellation()
{
}
void NM_Confirm_Attribute_Ownership_Acquisition_Cancellation::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Confirm_Attribute_Ownership_Acquisition_Cancellation::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Confirm_Attribute_Ownership_Acquisition_Cancellation
------------<END>*/
/*<BEGIN>---------- Ddm_Create_Region ------------<BEGIN>*/
NM_Ddm_Create_Region::NM_Ddm_Create_Region() {
- this->type = NetworkMessage::DDM_CREATE_REGION;
this->name = "DDM_CREATE_REGION";
+ this->type = NetworkMessage::DDM_CREATE_REGION;
+ /* specific field init */
}
NM_Ddm_Create_Region::~NM_Ddm_Create_Region() {
}
void NM_Ddm_Create_Region::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Ddm_Create_Region::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Ddm_Create_Region ------------<END>*/
/*<BEGIN>---------- Ddm_Modify_Region ------------<BEGIN>*/
NM_Ddm_Modify_Region::NM_Ddm_Modify_Region() {
- this->type = NetworkMessage::DDM_MODIFY_REGION;
this->name = "DDM_MODIFY_REGION";
+ this->type = NetworkMessage::DDM_MODIFY_REGION;
+ /* specific field init */
}
NM_Ddm_Modify_Region::~NM_Ddm_Modify_Region() {
}
void NM_Ddm_Modify_Region::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Ddm_Modify_Region::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Ddm_Modify_Region ------------<END>*/
/*<BEGIN>---------- Ddm_Delete_Region ------------<BEGIN>*/
NM_Ddm_Delete_Region::NM_Ddm_Delete_Region() {
- this->type = NetworkMessage::DDM_DELETE_REGION;
this->name = "DDM_DELETE_REGION";
+ this->type = NetworkMessage::DDM_DELETE_REGION;
+ /* specific field init */
}
NM_Ddm_Delete_Region::~NM_Ddm_Delete_Region() {
}
void NM_Ddm_Delete_Region::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Ddm_Delete_Region::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Ddm_Delete_Region ------------<END>*/
/*<BEGIN>---------- Ddm_Associate_Region ------------<BEGIN>*/
NM_Ddm_Associate_Region::NM_Ddm_Associate_Region() {
- this->type = NetworkMessage::DDM_ASSOCIATE_REGION;
this->name = "DDM_ASSOCIATE_REGION";
+ this->type = NetworkMessage::DDM_ASSOCIATE_REGION;
+ /* specific field init */
}
NM_Ddm_Associate_Region::~NM_Ddm_Associate_Region() {
}
void NM_Ddm_Associate_Region::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Ddm_Associate_Region::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Ddm_Associate_Region ------------<END>*/
/*<BEGIN>---------- Ddm_Register_Object ------------<BEGIN>*/
NM_Ddm_Register_Object::NM_Ddm_Register_Object() {
- this->type = NetworkMessage::DDM_REGISTER_OBJECT;
this->name = "DDM_REGISTER_OBJECT";
+ this->type = NetworkMessage::DDM_REGISTER_OBJECT;
+ /* specific field init */
}
NM_Ddm_Register_Object::~NM_Ddm_Register_Object() {
}
void NM_Ddm_Register_Object::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Ddm_Register_Object::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Ddm_Register_Object ------------<END>*/
/*<BEGIN>---------- Ddm_Unassociate_Region ------------<BEGIN>*/
NM_Ddm_Unassociate_Region::NM_Ddm_Unassociate_Region() {
- this->type = NetworkMessage::DDM_UNASSOCIATE_REGION;
this->name = "DDM_UNASSOCIATE_REGION";
+ this->type = NetworkMessage::DDM_UNASSOCIATE_REGION;
+ /* specific field init */
}
NM_Ddm_Unassociate_Region::~NM_Ddm_Unassociate_Region() {
}
void NM_Ddm_Unassociate_Region::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Ddm_Unassociate_Region::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Ddm_Unassociate_Region ------------<END>*/
/*<BEGIN>---------- Ddm_Subscribe_Attributes ------------<BEGIN>*/
NM_Ddm_Subscribe_Attributes::NM_Ddm_Subscribe_Attributes() {
- this->type = NetworkMessage::DDM_SUBSCRIBE_ATTRIBUTES;
this->name = "DDM_SUBSCRIBE_ATTRIBUTES";
+ this->type = NetworkMessage::DDM_SUBSCRIBE_ATTRIBUTES;
+ /* specific field init */
}
NM_Ddm_Subscribe_Attributes::~NM_Ddm_Subscribe_Attributes() {
}
void NM_Ddm_Subscribe_Attributes::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Ddm_Subscribe_Attributes::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Ddm_Subscribe_Attributes ------------<END>*/
/*<BEGIN>---------- Ddm_Unsubscribe_Attributes ------------<BEGIN>*/
NM_Ddm_Unsubscribe_Attributes::NM_Ddm_Unsubscribe_Attributes() {
- this->type = NetworkMessage::DDM_UNSUBSCRIBE_ATTRIBUTES;
this->name = "DDM_UNSUBSCRIBE_ATTRIBUTES";
+ this->type = NetworkMessage::DDM_UNSUBSCRIBE_ATTRIBUTES;
+ /* specific field init */
}
NM_Ddm_Unsubscribe_Attributes::~NM_Ddm_Unsubscribe_Attributes() {
}
void NM_Ddm_Unsubscribe_Attributes::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Ddm_Unsubscribe_Attributes::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Ddm_Unsubscribe_Attributes ------------<END>*/
/*<BEGIN>---------- Ddm_Subscribe_Interaction ------------<BEGIN>*/
NM_Ddm_Subscribe_Interaction::NM_Ddm_Subscribe_Interaction() {
- this->type = NetworkMessage::DDM_SUBSCRIBE_INTERACTION;
this->name = "DDM_SUBSCRIBE_INTERACTION";
+ this->type = NetworkMessage::DDM_SUBSCRIBE_INTERACTION;
+ /* specific field init */
}
NM_Ddm_Subscribe_Interaction::~NM_Ddm_Subscribe_Interaction() {
}
void NM_Ddm_Subscribe_Interaction::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Ddm_Subscribe_Interaction::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Ddm_Subscribe_Interaction ------------<END>*/
/*<BEGIN>---------- Ddm_Unsubscribe_Interaction ------------<BEGIN>*/
NM_Ddm_Unsubscribe_Interaction::NM_Ddm_Unsubscribe_Interaction() {
- this->type = NetworkMessage::DDM_UNSUBSCRIBE_INTERACTION;
this->name = "DDM_UNSUBSCRIBE_INTERACTION";
+ this->type = NetworkMessage::DDM_UNSUBSCRIBE_INTERACTION;
+ /* specific field init */
}
NM_Ddm_Unsubscribe_Interaction::~NM_Ddm_Unsubscribe_Interaction() {
}
void NM_Ddm_Unsubscribe_Interaction::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Ddm_Unsubscribe_Interaction::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Ddm_Unsubscribe_Interaction ------------<END>*/
/*<BEGIN>---------- Provide_Attribute_Value_Update ------------<BEGIN>*/
NM_Provide_Attribute_Value_Update::NM_Provide_Attribute_Value_Update() {
- this->type = NetworkMessage::PROVIDE_ATTRIBUTE_VALUE_UPDATE;
this->name = "PROVIDE_ATTRIBUTE_VALUE_UPDATE";
+ this->type = NetworkMessage::PROVIDE_ATTRIBUTE_VALUE_UPDATE;
+ /* specific field init */
}
NM_Provide_Attribute_Value_Update::~NM_Provide_Attribute_Value_Update() {
}
void NM_Provide_Attribute_Value_Update::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Provide_Attribute_Value_Update::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Provide_Attribute_Value_Update ------------<END>*/
/*<BEGIN>---------- Get_Fed_File ------------<BEGIN>*/
NM_Get_Fed_File::NM_Get_Fed_File() {
- this->type = NetworkMessage::GET_FED_FILE;
this->name = "GET_FED_FILE";
+ this->type = NetworkMessage::GET_FED_FILE;
+ /* specific field init */
}
NM_Get_Fed_File::~NM_Get_Fed_File() {
}
void NM_Get_Fed_File::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Get_Fed_File::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Get_Fed_File ------------<END>*/
/*<BEGIN>---------- Last ------------<BEGIN>*/
NM_Last::NM_Last() {
- this->type = NetworkMessage::LAST;
this->name = "LAST";
+ this->type = NetworkMessage::LAST;
+ /* specific field init */
}
NM_Last::~NM_Last() {
}
void NM_Last::serialize() {
-}
+ /* call mother class */
+ NetworkMessage::serialize();
+ /* specific code (if any) goes here */
+} /* end of serialize */
void NM_Last::deserialize() {
-}
+ /* call mother class */
+ NetworkMessage::deserialize();
+ /* specific code (if any) goes here */
+} /* end of deserialize */
/*<END>---------- Last ------------<END>*/
-
-
-
-
} /* end of certi namespace */
-
Index: scripts/NW_MessageType.ods
===================================================================
RCS file: scripts/NW_MessageType.ods
diff -N scripts/NW_MessageType.ods
Binary files /dev/null and /tmp/cvsUiEPb4 differ
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] certi libCERTI/NetworkMessage_RW.cc libCERTI/Ne... [br_DEV_HETEROGENEOUS],
certi-cvs <=