# NM_Classes.cc

Go to the documentation of this file.

    00001 // ----------------------------------------------------------------------------
    00002 // CERTI - HLA RunTime Infrastructure
    00003 // Copyright (C) 2002-2005  ONERA
    00004 //
    00005 // This program is free software ; you can redistribute it and/or
    00006 // modify it under the terms of the GNU Lesser General Public License
    00007 // as published by the Free Software Foundation ; either version 2 of
    00008 // the License, or (at your option) any later version.
    00009 //
    00010 // This program is distributed in the hope that it will be useful, but
    00011 // WITHOUT ANY WARRANTY ; without even the implied warranty of
    00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    00013 // Lesser General Public License for more details.
    00014 //
    00015 // You should have received a copy of the GNU Lesser General Public
    00016 // License along with this program ; if not, write to the Free Software
    00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    00018 //
    00019 // ----------------------------------------------------------------------------
    00020
    00021 #include "NM_Classes.hh"
    00022 #include <assert.h>
    00023 namespace certi {
    00024
    00025 NetworkMessage* NM_Factory::create(NetworkMessage::Message_T type) throw (RTIinternalError) {
    00026     NetworkMessage* msg;
    00027
    00028     switch (type) {
    00029     case NetworkMessage::NOT_USED:
    00030         throw RTIinternalError("NOT_USED message type should not be used!!");
    00031         msg = new NM_Not_Used();
    00032         break;
    00033     case NetworkMessage::CLOSE_CONNEXION:
    00034         msg = new NM_Close_Connexion();
    00035         break;
    00036     case NetworkMessage::MESSAGE_NULL:
    00037         msg = new NM_Message_Null();
    00038         break;
    00039     case NetworkMessage::CREATE_FEDERATION_EXECUTION:
    00040         msg = new NM_Create_Federation_Execution();
    00041         break;
    00042     case NetworkMessage::DESTROY_FEDERATION_EXECUTION:
    00043         msg = new NM_Destroy_Federation_Execution();
    00044         break;
    00045     case NetworkMessage::JOIN_FEDERATION_EXECUTION:
    00046         msg = new NM_Join_Federation_Execution();
    00047         break;
    00048     case NetworkMessage::RESIGN_FEDERATION_EXECUTION:
    00049         msg = new NM_Resign_Federation_Execution();
    00050         break;
    00051     case NetworkMessage::SET_TIME_REGULATING:
    00052         msg = new NM_Set_Time_Regulating();
    00053         break;
    00054     case NetworkMessage::SET_TIME_CONSTRAINED:
    00055         msg = new NM_Set_Time_Constrained();
    00056         break;
    00057     case NetworkMessage::TIME_REGULATION_ENABLED:
    00058         msg = new NM_Time_Regulation_Enabled();
    00059         break;
    00060     case NetworkMessage::TIME_CONSTRAINED_ENABLED:
    00061         msg = new NM_Time_Constrained_Enabled();
    00062         break;
    00063     case NetworkMessage::REGISTER_FEDERATION_SYNCHRONIZATION_POINT:
    00064         msg = new NM_Register_Federation_Synchronization_Point();
    00065         break;
    00066     case NetworkMessage::SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED:
    00067         msg = new NM_Synchronization_Point_Registration_Succeeded();
    00068         break;
    00069     case NetworkMessage::ANNOUNCE_SYNCHRONIZATION_POINT:
    00070         msg = new NM_Announce_Synchronization_Point();
    00071         break;
    00072     case NetworkMessage::SYNCHRONIZATION_POINT_ACHIEVED:
    00073         msg = new NM_Synchronization_Point_Achieved();
    00074         break;
    00075     case NetworkMessage::FEDERATION_SYNCHRONIZED:
    00076         msg = new NM_Federation_Synchronized();
    00077         break;
    00078     case NetworkMessage::REQUEST_FEDERATION_SAVE:
    00079         msg = new NM_Request_Federation_Save();
    00080         break;
    00081     case NetworkMessage::FEDERATE_SAVE_BEGUN:
    00082         msg = new NM_Federate_Save_Begun();
    00083         break;
    00084     case NetworkMessage::FEDERATE_SAVE_COMPLETE:
    00085         msg = new NM_Federate_Save_Complete();
    00086         break;
    00087     case NetworkMessage::FEDERATE_SAVE_NOT_COMPLETE:
    00088         msg = new NM_Federate_Save_Not_Complete();
    00089         break;
    00090     case NetworkMessage::INITIATE_FEDERATE_SAVE:
    00091         msg = new NM_Initiate_Federate_Save();
    00092         break;
    00093     case NetworkMessage::FEDERATION_SAVED:
    00094         msg = new NM_Federation_Saved();
    00095         break;
    00096     case NetworkMessage::FEDERATION_NOT_SAVED:
    00097         msg = new NM_Federation_Not_Saved();
    00098         break;
    00099     case NetworkMessage::REQUEST_FEDERATION_RESTORE:
    00100         msg = new NM_Request_Federation_Restore();
    00101         break;
    00102     case NetworkMessage::FEDERATE_RESTORE_COMPLETE:
    00103         msg = new NM_Federate_Restore_Complete();
    00104         break;
    00105     case NetworkMessage::FEDERATE_RESTORE_NOT_COMPLETE:
    00106         msg = new NM_Federate_Restore_Not_Complete();
    00107         break;
    00108     case NetworkMessage::REQUEST_FEDERATION_RESTORE_SUCCEEDED:
    00109         msg = new NM_Request_Federation_Restore_Succeeded();
    00110         break;
    00111     case NetworkMessage::REQUEST_FEDERATION_RESTORE_FAILED:
    00112         msg = new NM_Request_Federation_Restore_Failed();
    00113         break;
    00114     case NetworkMessage::FEDERATION_RESTORE_BEGUN:
    00115         msg = new NM_Federation_Restore_Begun();
    00116         break;
    00117     case NetworkMessage::INITIATE_FEDERATE_RESTORE:
    00118         msg = new NM_Initiate_Federate_Restore();
    00119         break;
    00120     case NetworkMessage::FEDERATION_RESTORED:
    00121         msg = new NM_Federation_Restored();
    00122         break;
    00123     case NetworkMessage::FEDERATION_NOT_RESTORED:
    00124         msg = new NM_Federation_Not_Restored();
    00125         break;
    00126     case NetworkMessage::PUBLISH_OBJECT_CLASS:
    00127         msg = new NM_Publish_Object_Class();
    00128         break;
    00129     case NetworkMessage::UNPUBLISH_OBJECT_CLASS:
    00130         msg = new NM_Unpublish_Object_Class();
    00131         break;
    00132     case NetworkMessage::PUBLISH_INTERACTION_CLASS:
    00133         msg = new NM_Publish_Interaction_Class();
    00134         break;
    00135     case NetworkMessage::UNPUBLISH_INTERACTION_CLASS:
    00136         msg = new NM_Unpublish_Interaction_Class();
    00137         break;
    00138     case NetworkMessage::SUBSCRIBE_OBJECT_CLASS:
    00139         msg = new NM_Subscribe_Object_Class();
    00140         break;
    00141     case NetworkMessage::UNSUBSCRIBE_OBJECT_CLASS:
    00142         msg = new NM_Unsubscribe_Object_Class();
    00143         break;
    00144     case NetworkMessage::SUBSCRIBE_INTERACTION_CLASS:
    00145         msg = new NM_Subscribe_Interaction_Class();
    00146         break;
    00147     case NetworkMessage::UNSUBSCRIBE_INTERACTION_CLASS:
    00148         msg = new NM_Unsubscribe_Interaction_Class();
    00149         break;
    00150     case NetworkMessage::SET_CLASS_RELEVANCE_ADVISORY_SWITCH:
    00151             msg = new NM_Set_Class_Relevance_Advisory_Switch();
    00152         break;
    00153     case NetworkMessage::SET_INTERACTION_RELEVANCE_ADVISORY_SWITCH:
    00154             msg = new NM_Set_Interaction_Relevance_Advisory_Switch();
    00155         break;
    00156     case NetworkMessage::SET_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH:
    00157             msg = new NM_Set_Attribute_Relevance_Advisory_Switch();
    00158         break;
    00159     case NetworkMessage::SET_ATTRIBUTE_SCOPE_ADVISORY_SWITCH:
    00160             msg = new NM_Set_Attribute_Scope_Advisory_Switch();
    00161         break;
    00162     case NetworkMessage::START_REGISTRATION_FOR_OBJECT_CLASS:
    00163             msg = new NM_Start_Registration_For_Object_Class();
    00164         break;
    00165     case NetworkMessage::STOP_REGISTRATION_FOR_OBJECT_CLASS:
    00166             msg = new NM_Stop_Registration_For_Object_Class();
    00167         break;
    00168     case NetworkMessage::TURN_INTERACTIONS_ON:
    00169         msg = new NM_Turn_Interactions_On();
    00170         break;
    00171     case NetworkMessage::TURN_INTERACTIONS_OFF:
    00172         msg = new NM_Turn_Interactions_Off();
    00173         break;
    00174     case NetworkMessage::REGISTER_OBJECT:
    00175         msg = new NM_Register_Object();
    00176         break;
    00177     case NetworkMessage::DISCOVER_OBJECT:
    00178         msg = new NM_Discover_Object();
    00179         break;
    00180     case NetworkMessage::UPDATE_ATTRIBUTE_VALUES:
    00181         msg = new NM_Update_Attribute_Values();
    00182         break;
    00183     case NetworkMessage::REFLECT_ATTRIBUTE_VALUES:
    00184         msg = new NM_Reflect_Attribute_Values();
    00185         break;
    00186     case NetworkMessage::SEND_INTERACTION:
    00187         msg = new NM_Send_Interaction();
    00188         break;
    00189     case NetworkMessage::RECEIVE_INTERACTION:
    00190         msg = new NM_Receive_Interaction();
    00191         break;
    00192     case NetworkMessage::DELETE_OBJECT:
    00193         msg = new NM_Delete_Object();
    00194         break;
    00195     case NetworkMessage::REMOVE_OBJECT:
    00196         msg = new NM_Remove_Object();
    00197         break;
    00198     case NetworkMessage::CHANGE_ATTRIBUTE_TRANSPORT_TYPE:
    00199         throw RTIinternalError("CHANGE_ATTRIBUTE_TRANSPORT_TYPE: Unimplemented");
    00200         msg = new NM_Change_Attribute_Transport_Type();
    00201         break;
    00202     case NetworkMessage::CHANGE_ATTRIBUTE_ORDER_TYPE:
    00203         throw RTIinternalError("CHANGE_ATTRIBUTE_ORDER_TYPE: Unimplemented");
    00204         msg = new NM_Change_Attribute_Order_Type();
    00205         break;
    00206     case NetworkMessage::CHANGE_INTERACTION_TRANSPORT_TYPE:
    00207         throw RTIinternalError("CHANGE_INTERACTION_TRANSPORT_TYPE: Unimplemented");
    00208         msg = new NM_Change_Interaction_Transport_Type();
    00209         break;
    00210     case NetworkMessage::CHANGE_INTERACTION_ORDER_TYPE:
    00211         throw RTIinternalError("CHANGE_INTERACTION_ORDER_TYPE: Unimplemented");
    00212         msg = new NM_Change_Interaction_Order_Type();
    00213         break;
    00214     case NetworkMessage::REQUEST_CLASS_ATTRIBUTE_VALUE_UPDATE:
    00215         msg = new NM_Request_Class_Attribute_Value_Update();
    00216         break;
    00217     case NetworkMessage::REQUEST_OBJECT_ATTRIBUTE_VALUE_UPDATE:
    00218         msg = new NM_Request_Object_Attribute_Value_Update();
    00219         break;
    00220     case NetworkMessage::IS_ATTRIBUTE_OWNED_BY_FEDERATE:
    00221         msg = new NM_Is_Attribute_Owned_By_Federate();
    00222         break;
    00223     case NetworkMessage::QUERY_ATTRIBUTE_OWNERSHIP:
    00224         msg = new NM_Query_Attribute_Ownership();
    00225         break;
    00226     case NetworkMessage::ATTRIBUTE_IS_NOT_OWNED:
    00227         msg = new NM_Attribute_Is_Not_Owned();
    00228         break;
    00229     case NetworkMessage::INFORM_ATTRIBUTE_OWNERSHIP:
    00230         msg = new NM_Inform_Attribute_Ownership();
    00231         break;
    00232     case NetworkMessage::NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE:
    00233         msg = new NM_Negotiated_Attribute_Ownership_Divestiture();
    00234         break;
    00235     case NetworkMessage::ATTRIBUTE_OWNERSHIP_ACQUISITION_NOTIFICATION:
    00236         msg = new NM_Attribute_Ownership_Acquisition_Notification();
    00237         break;
    00238     case NetworkMessage::ATTRIBUTE_OWNERSHIP_DIVESTITURE_NOTIFICATION:
    00239         msg = new NM_Attribute_Ownership_Divestiture_Notification();
    00240         break;
    00241     case NetworkMessage::REQUEST_ATTRIBUTE_OWNERSHIP_ASSUMPTION:
    00242         msg = new NM_Request_Attribute_Ownership_Assumption();
    00243         break;
    00244     case NetworkMessage::ATTRIBUTE_OWNERSHIP_UNAVAILABLE:
    00245         msg = new NM_Attribute_Ownership_Unavailable();
    00246         break;
    00247     case NetworkMessage::ATTRIBUTE_OWNERSHIP_ACQUISITION_IF_AVAILABLE:
    00248         msg = new NM_Attribute_Ownership_Acquisition_If_Available();
    00249         break;
    00250     case NetworkMessage::UNCONDITIONAL_ATTRIBUTE_OWNERSHIP_DIVESTITURE:
    00251         msg = new NM_Unconditional_Attribute_Ownership_Divestiture();
    00252         break;
    00253     case NetworkMessage::ATTRIBUTE_OWNERSHIP_ACQUISITION:
    00254         msg = new NM_Attribute_Ownership_Acquisition();
    00255         break;
    00256     case NetworkMessage::REQUEST_ATTRIBUTE_OWNERSHIP_RELEASE:
    00257         msg = new NM_Request_Attribute_Ownership_Release();
    00258         break;
    00259     case NetworkMessage::CANCEL_NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE:
    00260         msg = new NM_Cancel_Negotiated_Attribute_Ownership_Divestiture();
    00261         break;
    00262     case NetworkMessage::ATTRIBUTE_OWNERSHIP_RELEASE_RESPONSE:
    00263         msg = new NM_Attribute_Ownership_Release_Response();
    00264         break;
    00265     case NetworkMessage::CANCEL_ATTRIBUTE_OWNERSHIP_ACQUISITION:
    00266         msg = new NM_Cancel_Attribute_Ownership_Acquisition();
    00267         break;
    00268     case NetworkMessage::CONFIRM_ATTRIBUTE_OWNERSHIP_ACQUISITION_CANCELLATION:
    00269         msg = new NM_Confirm_Attribute_Ownership_Acquisition_Cancellation();
    00270         break;
    00271     case NetworkMessage::DDM_CREATE_REGION:
    00272         msg = new NM_DDM_Create_Region();
    00273         break;
    00274     case NetworkMessage::DDM_MODIFY_REGION:
    00275         msg = new NM_DDM_Modify_Region();
    00276         break;
    00277     case NetworkMessage::DDM_DELETE_REGION:
    00278         msg = new NM_DDM_Delete_Region();
    00279         break;
    00280     case NetworkMessage::DDM_ASSOCIATE_REGION:
    00281         msg = new NM_DDM_Associate_Region();
    00282         break;
    00283     case NetworkMessage::DDM_REGISTER_OBJECT:
    00284         msg = new NM_DDM_Register_Object();
    00285         break;
    00286     case NetworkMessage::DDM_UNASSOCIATE_REGION:
    00287         msg = new NM_DDM_Unassociate_Region();
    00288         break;
    00289     case NetworkMessage::DDM_SUBSCRIBE_ATTRIBUTES:
    00290         msg = new NM_DDM_Subscribe_Attributes();
    00291         break;
    00292     case NetworkMessage::DDM_UNSUBSCRIBE_ATTRIBUTES:
    00293         msg = new NM_DDM_Unsubscribe_Attributes();
    00294         break;
    00295     case NetworkMessage::DDM_SUBSCRIBE_INTERACTION:
    00296         msg = new NM_DDM_Subscribe_Interaction();
    00297         break;
    00298     case NetworkMessage::DDM_UNSUBSCRIBE_INTERACTION:
    00299         msg = new NM_DDM_Unsubscribe_Interaction();
    00300         break;
    00301     case NetworkMessage::PROVIDE_ATTRIBUTE_VALUE_UPDATE:
    00302         msg = new NM_Provide_Attribute_Value_Update();
    00303         break;
    00304     case NetworkMessage::GET_FED_FILE:
    00305         msg = new NM_Get_FED_File();
    00306         break;
    00307     case NetworkMessage::LAST:
    00308         throw RTIinternalError("LAST message type should not be used!!");
    00309         msg = new NM_Last();
    00310         break;
    00311     default:
    00312         throw RTIinternalError("Unknown/Unimplemented message Type");
    00313     }
    00314
    00315     return msg;
    00316 } /* end of NM_Factory::create */
    00317
    00318 NetworkMessage*
    00319 NM_Factory::receive(Socket* socket) throw (NetworkError, RTIinternalError) {
    00320     // FIXME this is not thread-safe.
    00321     static MessageBuffer msgBuffer;
    00322     NetworkMessage  msgGen;
    00323     NetworkMessage* msg;
    00324
    00325     /* receive generic message */
    00326     msgGen.receive(socket,msgBuffer);
    00327     /* create specific message from type */
    00328     msg = NM_Factory::create(msgGen.getType());
    00329     msgBuffer.assumeSizeFromReservedBytes();
    00330     msg->deserialize(msgBuffer);
    00331     return msg;
    00332 } /* end of NM_Factory::receive */
    00333
    00334 NM_WithHandleArray::NM_WithHandleArray() {
    00335     this->name = "NM_WithHandleArray";
    00336     this->type = NetworkMessage::NOT_USED;
    00337     /* specific field init */
    00338     this->handleArraySize = 0;
    00339 }
    00340
    00341 NM_WithHandleArray::~NM_WithHandleArray() {
    00342 }
    00343
    00344 void NM_WithHandleArray::serialize(MessageBuffer& msgBuffer) {
    00345     int i;
    00346     /* call mother class */
    00347     Super::serialize(msgBuffer);
    00348     /* specific code (if any) goes here */
    00349     msgBuffer.write_uint16(handleArraySize);
    00350     /*
    00351      * Note that if handleArraySize is 0
    00352      * the loop is void which is done on purpose.
    00353      * (this is a feature not a bug :-)
    00354      */
    00355     for (i = 0 ; i < handleArraySize ; ++i) {
    00356         msgBuffer.write_uint16(handleArray[i]);
    00357     }
    00358
    00359 } /* end of serialize */
    00360 void NM_WithHandleArray::deserialize(MessageBuffer& msgBuffer) {
    00361     int i;
    00362     /* call mother class */
    00363     Super::deserialize(msgBuffer);
    00364     /* specific code (if any) goes here */
    00365     handleArraySize = msgBuffer.read_int16();
    00366     /*
    00367      * Note that if handleArraySize is 0
    00368      * the loop is void which is done on purpose.
    00369      * (this is a feature not a bug :-)
    00370      */
    00371         handleArray.resize(handleArraySize);
    00372     for (i = 0 ; i < handleArraySize ; i ++) {
    00373         handleArray[i] = msgBuffer.read_int16();
    00374     }
    00375 } /* end of deserialize */
    00376
    00377 NM_DDM_Base::NM_DDM_Base() {
    00378     this->name = "NM_DDM_Base";
    00379     this->type = NetworkMessage::NOT_USED;
    00380     /* specific field init */
    00381     this->space       = 0;
    00382     this->nbExtents   = 0;
    00383     this->region      = 0;
    00384     this->object      = 0;
    00385     this->objectClass = 0;
    00386     this->DDM_bool    = false; /* FIXME don't know the purpose of this */
    00387 }
    00388
    00389 NM_DDM_Base::~NM_DDM_Base() {
    00390 }
    00391
    00392 /*<BEGIN>---------- Not_Used ------------<BEGIN>*/
    00393 NM_Not_Used::NM_Not_Used() {
    00394     this->name = "NOT_USED";
    00395     this->type = NetworkMessage::NOT_USED;
    00396     /* specific field init */
    00397 }
    00398 NM_Not_Used::~NM_Not_Used() {
    00399 }
    00400 /*<END>---------- Not_Used ------------<END>*/
    00401
    00402 /*<BEGIN>---------- Close_Connexion ------------<BEGIN>*/
    00403 NM_Close_Connexion::NM_Close_Connexion() {
    00404     this->name = "CLOSE_CONNEXION";
    00405     this->type = NetworkMessage::CLOSE_CONNEXION;
    00406     /* specific field init */
    00407 }
    00408 NM_Close_Connexion::~NM_Close_Connexion() {
    00409 }
    00410 /*<END>---------- Close_Connexion ------------<END>*/
    00411
    00412 /*<BEGIN>---------- Message_Null ------------<BEGIN>*/
    00413 NM_Message_Null::NM_Message_Null() {
    00414     this->name = "MESSAGE_NULL";
    00415     this->type = NetworkMessage::MESSAGE_NULL;
    00416     /* specific field init */
    00417 }
    00418 NM_Message_Null::~NM_Message_Null() {
    00419 }
    00420 /*<END>---------- Message_Null ------------<END>*/
    00421
    00422 /*<BEGIN>---------- Create_Federation_Execution ------------<BEGIN>*/
    00423 NM_Create_Federation_Execution::NM_Create_Federation_Execution() {
    00424     this->name = "CREATE_FEDERATION_EXECUTION";
    00425     this->type = NetworkMessage::CREATE_FEDERATION_EXECUTION;
    00426     /* specific field init */
    00427 }
    00428 NM_Create_Federation_Execution::~NM_Create_Federation_Execution() {
    00429 }
    00430 void NM_Create_Federation_Execution::serialize(MessageBuffer& msgBuffer) {
    00431     /* call mother class */
    00432     Super::serialize(msgBuffer);
    00433     /* specific code (if any) goes here */
    00434     msgBuffer.write_string(federationName);
    00435     msgBuffer.write_string(FEDid);
    00436 } /* end of serialize */
    00437 void NM_Create_Federation_Execution::deserialize(MessageBuffer& msgBuffer) {
    00438     /* call mother class */
    00439     Super::deserialize(msgBuffer);
    00440     /* specific code (if any) goes here */
    00441     federationName = msgBuffer.read_string();
    00442     FEDid          = msgBuffer.read_string();
    00443 } /* end of deserialize */
    00444 /*<END>---------- Create_Federation_Execution ------------<END>*/
    00445
    00446 /*<BEGIN>---------- Destroy_Federation_Execution ------------<BEGIN>*/
    00447 NM_Destroy_Federation_Execution::NM_Destroy_Federation_Execution() {
    00448     this->name = "DESTROY_FEDERATION_EXECUTION";
    00449     this->type = NetworkMessage::DESTROY_FEDERATION_EXECUTION;
    00450     /* specific field init */
    00451 }
    00452 NM_Destroy_Federation_Execution::~NM_Destroy_Federation_Execution() {
    00453 }
    00454 void NM_Destroy_Federation_Execution::serialize(MessageBuffer& msgBuffer) {
    00455     /* call mother class */
    00456     Super::serialize(msgBuffer);
    00457     /* specific code (if any) goes here */
    00458     msgBuffer.write_string(federationName);
    00459 } /* end of serialize */
    00460 void NM_Destroy_Federation_Execution::deserialize(MessageBuffer& msgBuffer) {
    00461     /* call mother class */
    00462     Super::deserialize(msgBuffer);
    00463     /* specific code (if any) goes here */
    00464     federationName = msgBuffer.read_string();
    00465 } /* end of deserialize */
    00466 /*<END>---------- Destroy_Federation_Execution ------------<END>*/
    00467
    00468 /*<BEGIN>---------- Join_Federation_Execution ------------<BEGIN>*/
    00469 NM_Join_Federation_Execution::NM_Join_Federation_Execution() {
    00470     this->name = "JOIN_FEDERATION_EXECUTION";
    00471     this->type = NetworkMessage::JOIN_FEDERATION_EXECUTION;
    00472     /* specific field init */
    00473 }
    00474 NM_Join_Federation_Execution::~NM_Join_Federation_Execution() {
    00475 }
    00476 void NM_Join_Federation_Execution::serialize(MessageBuffer& msgBuffer) {
    00477     /* call mother class */
    00478     Super::serialize(msgBuffer);
    00479     /* specific code (if any) goes here */
    00480     msgBuffer.write_int32(numberOfRegulators);
    00481     msgBuffer.write_uint32(multicastAddress);
    00482     msgBuffer.write_uint32(bestEffortAddress);
    00483     msgBuffer.write_uint32(bestEffortPeer);
    00484     msgBuffer.write_string(federationName);
    00485     msgBuffer.write_string(federateName);
    00486 } /* end of serialize */
    00487 void NM_Join_Federation_Execution::deserialize(MessageBuffer& msgBuffer) {
    00488     /* call mother class */
    00489     Super::deserialize(msgBuffer);
    00490     /* specific code (if any) goes here */
    00491     numberOfRegulators = msgBuffer.read_int32();
    00492     multicastAddress   = msgBuffer.read_uint32();
    00493     bestEffortAddress  = msgBuffer.read_uint32();
    00494     bestEffortPeer     = msgBuffer.read_uint32();
    00495     federationName     = msgBuffer.read_string();
    00496     federateName       = msgBuffer.read_string();
    00497 } /* end of deserialize */
    00498 /*<END>---------- Join_Federation_Execution ------------<END>*/
    00499
    00500 /*<BEGIN>---------- Resign_Federation_Execution ------------<BEGIN>*/
    00501 NM_Resign_Federation_Execution::NM_Resign_Federation_Execution() {
    00502     this->name = "RESIGN_FEDERATION_EXECUTION";
    00503     this->type = NetworkMessage::RESIGN_FEDERATION_EXECUTION;
    00504     /* specific field init */
    00505 }
    00506 NM_Resign_Federation_Execution::~NM_Resign_Federation_Execution() {
    00507 }
    00508 /*<END>---------- Resign_Federation_Execution ------------<END>*/
    00509
    00510 /*<BEGIN>---------- Set_Time_Regulating ------------<BEGIN>*/
    00511 NM_Set_Time_Regulating::NM_Set_Time_Regulating() {
    00512     this->name = "SET_TIME_REGULATING";
    00513     this->type = NetworkMessage::SET_TIME_REGULATING;
    00514     /* specific field init */
    00515     regulator = false;
    00516 }
    00517 NM_Set_Time_Regulating::~NM_Set_Time_Regulating() {
    00518 }
    00519 void NM_Set_Time_Regulating::serialize(MessageBuffer& msgBuffer) {
    00520     /* call mother class */
    00521     Super::serialize(msgBuffer);
    00522     /* specific code (if any) goes here */
    00523     msgBuffer.write_bool(regulator);
    00524 } /* end of serialize */
    00525 void NM_Set_Time_Regulating::deserialize(MessageBuffer& msgBuffer) {
    00526     /* call mother class */
    00527     Super::deserialize(msgBuffer);
    00528     /* specific code (if any) goes here */
    00529     regulator = msgBuffer.read_bool();
    00530 } /* end of deserialize */
    00531 /*<END>---------- Set_Time_Regulating ------------<END>*/
    00532
    00533 /*<BEGIN>---------- Set_Time_Constrained ------------<BEGIN>*/
    00534 NM_Set_Time_Constrained::NM_Set_Time_Constrained() {
    00535     this->name = "SET_TIME_CONSTRAINED";
    00536     this->type = NetworkMessage::SET_TIME_CONSTRAINED;
    00537     /* specific field init */
    00538     constrained=false;
    00539 }
    00540 NM_Set_Time_Constrained::~NM_Set_Time_Constrained() {
    00541 }
    00542 void NM_Set_Time_Constrained::serialize(MessageBuffer& msgBuffer) {
    00543     /* call mother class */
    00544     Super::serialize(msgBuffer);
    00545     /* specific code (if any) goes here */
    00546     msgBuffer.write_bool(constrained);
    00547 } /* end of serialize */
    00548 void NM_Set_Time_Constrained::deserialize(MessageBuffer& msgBuffer) {
    00549     /* call mother class */
    00550     Super::deserialize(msgBuffer);
    00551     /* specific code (if any) goes here */
    00552     constrained = msgBuffer.read_bool();
    00553 } /* end of deserialize */
    00554 /*<END>---------- Set_Time_Constrained ------------<END>*/
    00555
    00556 /*<BEGIN>---------- Time_Regulation_Enabled  ------------<BEGIN>*/
    00557 NM_Time_Regulation_Enabled::NM_Time_Regulation_Enabled() {
    00558        this->name = "TIME_REGULATION_ENABLED";
    00559        this->type = NetworkMessage::TIME_REGULATION_ENABLED;
    00560 }
    00561
    00562 NM_Time_Regulation_Enabled::~NM_Time_Regulation_Enabled() {
    00563 }
    00564 /*<END>---------- Time_Regulation_Enabled ------------<END>*/
    00565
    00566 /*<BEGIN>---------- Time_Constrained_Enabled  ------------<BEGIN>*/
    00567 NM_Time_Constrained_Enabled::NM_Time_Constrained_Enabled() {
    00568        this->name = "TIME_CONSTRAINED_ENABLED";
    00569        this->type = NetworkMessage::TIME_CONSTRAINED_ENABLED;
    00570 }
    00571 NM_Time_Constrained_Enabled::~NM_Time_Constrained_Enabled() {
    00572 }
    00573 /*<END>---------- Time_Constrained_Enabled ------------<END>*/
    00574
    00575 /*<BEGIN>---------- Start_Registration_For_Object_Class ------------<BEGIN>*/
    00576 NM_Start_Registration_For_Object_Class::NM_Start_Registration_For_Object_Class() {
    00577     this->name = "START_REGISTRATION_FOR_OBJECT_CLASS";
    00578     this->type = NetworkMessage::START_REGISTRATION_FOR_OBJECT_CLASS;
    00579     /* specific field init */
    00580 }
    00581 NM_Start_Registration_For_Object_Class::~NM_Start_Registration_For_Object_Class() {
    00582 }
    00583 void NM_Start_Registration_For_Object_Class::serialize(MessageBuffer& msgBuffer) {
    00584     /* call mother class */
    00585     Super::serialize(msgBuffer);
    00586     /* specific code (if any) goes here */
    00587     msgBuffer.write_int32(objectClass);
    00588 } /* end of serialize */
    00589 void NM_Start_Registration_For_Object_Class::deserialize(MessageBuffer& msgBuffer) {
    00590     /* call mother class */
    00591     Super::deserialize(msgBuffer);
    00592     /* specific code (if any) goes here */
    00593     objectClass = msgBuffer.read_int32();
    00594 } /* end of deserialize */
    00595
    00596 /*<END>---------- Start_Registration_For_Object_Class ------------<END>*/
    00597
    00598 /*<BEGIN>---------- Stop_Registration_For_Object_Class ------------<BEGIN>*/
    00599 NM_Stop_Registration_For_Object_Class::NM_Stop_Registration_For_Object_Class() {
    00600     this->name = "STOP_REGISTRATION_FOR_OBJECT_CLASS";
    00601     this->type = NetworkMessage::STOP_REGISTRATION_FOR_OBJECT_CLASS;
    00602     /* specific field init */
    00603 }
    00604 NM_Stop_Registration_For_Object_Class::~NM_Stop_Registration_For_Object_Class() {
    00605 }
    00606 void NM_Stop_Registration_For_Object_Class::serialize(MessageBuffer& msgBuffer) {
    00607     /* call mother class */
    00608     Super::serialize(msgBuffer);
    00609     /* specific code (if any) goes here */
    00610     msgBuffer.write_int32(objectClass);
    00611 } /* end of serialize */
    00612 void NM_Stop_Registration_For_Object_Class::deserialize(MessageBuffer& msgBuffer) {
    00613     /* call mother class */
    00614     Super::deserialize(msgBuffer);
    00615     /* specific code (if any) goes here */
    00616     objectClass = msgBuffer.read_int32();
    00617 } /* end of deserialize */
    00618
    00619 /*<END>---------- Stop_Registration_For_Object_Class ------------<END>*/
    00620
    00621 /*<BEGIN>---------- Set_Class_Relevance_Advisory_Switch ------------<BEGIN>*/
    00622 NM_Set_Class_Relevance_Advisory_Switch::NM_Set_Class_Relevance_Advisory_Switch() {
    00623     this->name = "SET_CLASS_RELEVANCE_ADVISORY_SWITCH";
    00624     this->type = NetworkMessage::SET_CLASS_RELEVANCE_ADVISORY_SWITCH;
    00625     /* specific field init */
    00626     classRelevanceAdvisorySwitch=true;
    00627 }
    00628 NM_Set_Class_Relevance_Advisory_Switch::~NM_Set_Class_Relevance_Advisory_Switch() {
    00629 }
    00630 void NM_Set_Class_Relevance_Advisory_Switch::serialize(MessageBuffer& msgBuffer) {
    00631     /* call mother class */
    00632     Super::serialize(msgBuffer);
    00633     /* specific code (if any) goes here */
    00634     msgBuffer.write_bool(classRelevanceAdvisorySwitch);
    00635 } /* end of serialize */
    00636 void NM_Set_Class_Relevance_Advisory_Switch::deserialize(MessageBuffer& msgBuffer) {
    00637     /* call mother class */
    00638     Super::deserialize(msgBuffer);
    00639     /* specific code (if any) goes here */
    00640     classRelevanceAdvisorySwitch = msgBuffer.read_bool();
    00641 } /* end of deserialize */
    00642 /*<END>---------- Set_Class_Relevance_Advisory_Switch ------------<END>*/
    00643
    00644 /*<BEGIN>---------- Set_Interaction_Relevance_Advisory_Switch ------------<BEGIN>*/
    00645 NM_Set_Interaction_Relevance_Advisory_Switch::NM_Set_Interaction_Relevance_Advisory_Switch() {
    00646     this->name = "SET_INTERACTION_RELEVANCE_ADVISORY_SWITCH";
    00647     this->type = NetworkMessage::SET_INTERACTION_RELEVANCE_ADVISORY_SWITCH;
    00648     /* specific field init */
    00649     interactionRelevanceAdvisorySwitch=true;
    00650 }
    00651 NM_Set_Interaction_Relevance_Advisory_Switch::~NM_Set_Interaction_Relevance_Advisory_Switch() {
    00652 }
    00653 void NM_Set_Interaction_Relevance_Advisory_Switch::serialize(MessageBuffer& msgBuffer) {
    00654     /* call mother class */
    00655     Super::serialize(msgBuffer);
    00656     /* specific code (if any) goes here */
    00657     msgBuffer.write_bool(interactionRelevanceAdvisorySwitch);
    00658 } /* end of serialize */
    00659 void NM_Set_Interaction_Relevance_Advisory_Switch::deserialize(MessageBuffer& msgBuffer) {
    00660     /* call mother class */
    00661     Super::deserialize(msgBuffer);
    00662     /* specific code (if any) goes here */
    00663     interactionRelevanceAdvisorySwitch = msgBuffer.read_bool();
    00664 } /* end of deserialize */
    00665 /*<END>---------- Set_Interaction_Relevance_Advisory_Switch ------------<END>*/
    00666
    00667 /*<BEGIN>---------- Set_Attribute_Relevance_Advisory_Switch ------------<BEGIN>*/
    00668 NM_Set_Attribute_Relevance_Advisory_Switch::NM_Set_Attribute_Relevance_Advisory_Switch() {
    00669     this->name = "SET_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH";
    00670     this->type = NetworkMessage::SET_ATTRIBUTE_RELEVANCE_ADVISORY_SWITCH;
    00671     /* specific field init */
    00672     attributeRelevanceAdvisorySwitch=false;
    00673 }
    00674 NM_Set_Attribute_Relevance_Advisory_Switch::~NM_Set_Attribute_Relevance_Advisory_Switch() {
    00675 }
    00676 void NM_Set_Attribute_Relevance_Advisory_Switch::serialize(MessageBuffer& msgBuffer) {
    00677     /* call mother class */
    00678     Super::serialize(msgBuffer);
    00679     /* specific code (if any) goes here */
    00680     msgBuffer.write_bool(attributeRelevanceAdvisorySwitch);
    00681 } /* end of serialize */
    00682 void NM_Set_Attribute_Relevance_Advisory_Switch::deserialize(MessageBuffer& msgBuffer) {
    00683     /* call mother class */
    00684     Super::deserialize(msgBuffer);
    00685     /* specific code (if any) goes here */
    00686     attributeRelevanceAdvisorySwitch = msgBuffer.read_bool();
    00687 } /* end of deserialize */
    00688 /*<END>---------- Set_Attribute_Relevance_Advisory_Switch ------------<END>*/
    00689
    00690 /*<BEGIN>---------- Set_Attribute_Scope_Advisory_Switch ------------<BEGIN>*/
    00691 NM_Set_Attribute_Scope_Advisory_Switch::NM_Set_Attribute_Scope_Advisory_Switch() {
    00692     this->name = "SET_ATTRIBUTE_SCOPE_ADVISORY_SWITCH";
    00693     this->type = NetworkMessage::SET_ATTRIBUTE_SCOPE_ADVISORY_SWITCH;
    00694     /* specific field init */
    00695     attributeScopeAdvisorySwitch=false;
    00696 }
    00697 NM_Set_Attribute_Scope_Advisory_Switch::~NM_Set_Attribute_Scope_Advisory_Switch() {
    00698 }
    00699 void NM_Set_Attribute_Scope_Advisory_Switch::serialize(MessageBuffer& msgBuffer) {
    00700     /* call mother class */
    00701     Super::serialize(msgBuffer);
    00702     /* specific code (if any) goes here */
    00703     msgBuffer.write_bool(attributeScopeAdvisorySwitch);
    00704 } /* end of serialize */
    00705 void NM_Set_Attribute_Scope_Advisory_Switch::deserialize(MessageBuffer& msgBuffer) {
    00706     /* call mother class */
    00707     Super::deserialize(msgBuffer);
    00708     /* specific code (if any) goes here */
    00709     attributeScopeAdvisorySwitch = msgBuffer.read_bool();
    00710 } /* end of deserialize */
    00711 /*<END>---------- Set_Attribute_Scope_Advisory_Switch ------------<END>*/
    00712
    00713 /*<BEGIN>---------- Register_Federation_Synchronization_Point ------------<BEGIN>*/
    00714 NM_Register_Federation_Synchronization_Point::NM_Register_Federation_Synchronization_Point() {
    00715     this->name = "REGISTER_FEDERATION_SYNCHRONIZATION_POINT";
    00716     this->type = NetworkMessage::REGISTER_FEDERATION_SYNCHRONIZATION_POINT;
    00717     /* specific field init */
    00718     this->_setExist = false;
    00719 }
    00720 NM_Register_Federation_Synchronization_Point::~NM_Register_Federation_Synchronization_Point() {
    00721 }
    00722 void
    00723 NM_Register_Federation_Synchronization_Point::serialize(MessageBuffer& msgBuffer) {
    00724     /* call mother class */
    00725     Super::serialize(msgBuffer);
    00726     /* specific code (if any) goes here */
    00727     msgBuffer.write_bool(_setExist);
    00728 } /* end of serialize */
    00729 void
    00730 NM_Register_Federation_Synchronization_Point::deserialize(MessageBuffer& msgBuffer) {
    00731     /* call mother class */
    00732     Super::deserialize(msgBuffer);
    00733     /* specific code (if any) goes here */
    00734     _setExist = msgBuffer.read_bool();
    00735 } /* end of deserialize */
    00736 /*<END>---------- Register_Federation_Synchronization_Point ------------<END>*/
    00737
    00738 /*<BEGIN>---------- Synchronization_Point_Registration_Succeeded ------------<BEGIN>*/
    00739 NM_Synchronization_Point_Registration_Succeeded::NM_Synchronization_Point_Registration_Succeeded() {
    00740     this->name = "SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED";
    00741     this->type = NetworkMessage::SYNCHRONIZATION_POINT_REGISTRATION_SUCCEEDED;
    00742     /* specific field init */
    00743 }
    00744 NM_Synchronization_Point_Registration_Succeeded::~NM_Synchronization_Point_Registration_Succeeded() {
    00745 }
    00746 /*<END>---------- Synchronization_Point_Registration_Succeeded ------------<END>*/
    00747
    00748 /*<BEGIN>---------- Announce_Synchronization_Point ------------<BEGIN>*/
    00749 NM_Announce_Synchronization_Point::NM_Announce_Synchronization_Point() {
    00750     this->name = "ANNOUNCE_SYNCHRONIZATION_POINT";
    00751     this->type = NetworkMessage::ANNOUNCE_SYNCHRONIZATION_POINT;
    00752     /* specific field init */
    00753 }
    00754 NM_Announce_Synchronization_Point::~NM_Announce_Synchronization_Point() {
    00755 }
    00756 /*<END>---------- Announce_Synchronization_Point ------------<END>*/
    00757
    00758 /*<BEGIN>---------- Synchronization_Point_Achieved ------------<BEGIN>*/
    00759 NM_Synchronization_Point_Achieved::NM_Synchronization_Point_Achieved() {
    00760     this->name = "SYNCHRONIZATION_POINT_ACHIEVED";
    00761     this->type = NetworkMessage::SYNCHRONIZATION_POINT_ACHIEVED;
    00762     /* specific field init */
    00763 }
    00764 NM_Synchronization_Point_Achieved::~NM_Synchronization_Point_Achieved() {
    00765 }
    00766 /*<END>---------- Synchronization_Point_Achieved ------------<END>*/
    00767
    00768 /*<BEGIN>---------- Federation_Synchronized ------------<BEGIN>*/
    00769 NM_Federation_Synchronized::NM_Federation_Synchronized() {
    00770     this->name = "FEDERATION_SYNCHRONIZED";
    00771     this->type = NetworkMessage::FEDERATION_SYNCHRONIZED;
    00772     /* specific field init */
    00773 }
    00774 NM_Federation_Synchronized::~NM_Federation_Synchronized() {
    00775 }
    00776 /*<END>---------- Federation_Synchronized ------------<END>*/
    00777
    00778 /*<BEGIN>---------- Request_Federation_Save ------------<BEGIN>*/
    00779 NM_Request_Federation_Save::NM_Request_Federation_Save() {
    00780     this->name = "REQUEST_FEDERATION_SAVE";
    00781     this->type = NetworkMessage::REQUEST_FEDERATION_SAVE;
    00782     /* specific field init */
    00783 }
    00784 NM_Request_Federation_Save::~NM_Request_Federation_Save() {
    00785 }
    00786 /*<END>---------- Request_Federation_Save ------------<END>*/
    00787
    00788 /*<BEGIN>---------- Federate_Save_Begun ------------<BEGIN>*/
    00789 NM_Federate_Save_Begun::NM_Federate_Save_Begun() {
    00790     this->name = "FEDERATE_SAVE_BEGUN";
    00791     this->type = NetworkMessage::FEDERATE_SAVE_BEGUN;
    00792     /* specific field init */
    00793 }
    00794 NM_Federate_Save_Begun::~NM_Federate_Save_Begun() {
    00795 }
    00796 /*<END>---------- Federate_Save_Begun ------------<END>*/
    00797
    00798 /*<BEGIN>---------- Federate_Save_Complete ------------<BEGIN>*/
    00799 NM_Federate_Save_Complete::NM_Federate_Save_Complete() {
    00800     this->name = "FEDERATE_SAVE_COMPLETE";
    00801     this->type = NetworkMessage::FEDERATE_SAVE_COMPLETE;
    00802     /* specific field init */
    00803 }
    00804 NM_Federate_Save_Complete::~NM_Federate_Save_Complete() {
    00805 }
    00806 /*<END>---------- Federate_Save_Complete ------------<END>*/
    00807
    00808 /*<BEGIN>---------- Federate_Save_Not_Complete ------------<BEGIN>*/
    00809 NM_Federate_Save_Not_Complete::NM_Federate_Save_Not_Complete() {
    00810     this->name = "FEDERATE_SAVE_NOT_COMPLETE";
    00811     this->type = NetworkMessage::FEDERATE_SAVE_NOT_COMPLETE;
    00812     /* specific field init */
    00813 }
    00814 NM_Federate_Save_Not_Complete::~NM_Federate_Save_Not_Complete() {
    00815 }
    00816 /*<END>---------- Federate_Save_Not_Complete ------------<END>*/
    00817
    00818 /*<BEGIN>---------- Initiate_Federate_Save ------------<BEGIN>*/
    00819 NM_Initiate_Federate_Save::NM_Initiate_Federate_Save() {
    00820     this->name = "INITIATE_FEDERATE_SAVE";
    00821     this->type = NetworkMessage::INITIATE_FEDERATE_SAVE;
    00822     /* specific field init */
    00823 }
    00824 NM_Initiate_Federate_Save::~NM_Initiate_Federate_Save() {
    00825 }
    00826 /*<END>---------- Initiate_Federate_Save ------------<END>*/
    00827
    00828 /*<BEGIN>---------- Federation_Saved ------------<BEGIN>*/
    00829 NM_Federation_Saved::NM_Federation_Saved() {
    00830     this->name = "FEDERATION_SAVED";
    00831     this->type = NetworkMessage::FEDERATION_SAVED;
    00832     /* specific field init */
    00833 }
    00834 NM_Federation_Saved::~NM_Federation_Saved() {
    00835 }
    00836 /*<END>---------- Federation_Saved ------------<END>*/
    00837
    00838 /*<BEGIN>---------- Federation_Not_Saved ------------<BEGIN>*/
    00839 NM_Federation_Not_Saved::NM_Federation_Not_Saved() {
    00840     this->name = "FEDERATION_NOT_SAVED";
    00841     this->type = NetworkMessage::FEDERATION_NOT_SAVED;
    00842     /* specific field init */
    00843 }
    00844 NM_Federation_Not_Saved::~NM_Federation_Not_Saved() {
    00845 }
    00846 /*<END>---------- Federation_Not_Saved ------------<END>*/
    00847
    00848 /*<BEGIN>---------- Request_Federation_Restore ------------<BEGIN>*/
    00849 NM_Request_Federation_Restore::NM_Request_Federation_Restore() {
    00850     this->name = "REQUEST_FEDERATION_RESTORE";
    00851     this->type = NetworkMessage::REQUEST_FEDERATION_RESTORE;
    00852     /* specific field init */
    00853 }
    00854 NM_Request_Federation_Restore::~NM_Request_Federation_Restore() {
    00855 }
    00856 /*<END>---------- Request_Federation_Restore ------------<END>*/
    00857
    00858 /*<BEGIN>---------- Federate_Restore_Complete ------------<BEGIN>*/
    00859 NM_Federate_Restore_Complete::NM_Federate_Restore_Complete() {
    00860     this->name = "FEDERATE_RESTORE_COMPLETE";
    00861     this->type = NetworkMessage::FEDERATE_RESTORE_COMPLETE;
    00862     /* specific field init */
    00863 }
    00864 NM_Federate_Restore_Complete::~NM_Federate_Restore_Complete() {
    00865 }
    00866 /*<END>---------- Federate_Restore_Complete ------------<END>*/
    00867
    00868 /*<BEGIN>---------- Federate_Restore_Not_Complete ------------<BEGIN>*/
    00869 NM_Federate_Restore_Not_Complete::NM_Federate_Restore_Not_Complete() {
    00870     this->name = "FEDERATE_RESTORE_NOT_COMPLETE";
    00871     this->type = NetworkMessage::FEDERATE_RESTORE_NOT_COMPLETE;
    00872     /* specific field init */
    00873 }
    00874 NM_Federate_Restore_Not_Complete::~NM_Federate_Restore_Not_Complete() {
    00875 }
    00876 /*<END>---------- Federate_Restore_Not_Complete ------------<END>*/
    00877
    00878 /*<BEGIN>---------- Request_Federation_Restore_Succeeded ------------<BEGIN>*/
    00879 NM_Request_Federation_Restore_Succeeded::NM_Request_Federation_Restore_Succeeded() {
    00880     this->name = "REQUEST_FEDERATION_RESTORE_SUCCEEDED";
    00881     this->type = NetworkMessage::REQUEST_FEDERATION_RESTORE_SUCCEEDED;
    00882     /* specific field init */
    00883 }
    00884 NM_Request_Federation_Restore_Succeeded::~NM_Request_Federation_Restore_Succeeded() {
    00885 }
    00886 /*<END>---------- Request_Federation_Restore_Succeeded ------------<END>*/
    00887
    00888 /*<BEGIN>---------- Request_Federation_Restore_Failed ------------<BEGIN>*/
    00889 NM_Request_Federation_Restore_Failed::NM_Request_Federation_Restore_Failed() {
    00890     this->name = "REQUEST_FEDERATION_RESTORE_FAILED";
    00891     this->type = NetworkMessage::REQUEST_FEDERATION_RESTORE_FAILED;
    00892     /* specific field init */
    00893 }
    00894 NM_Request_Federation_Restore_Failed::~NM_Request_Federation_Restore_Failed() {
    00895 }
    00896 /*<END>---------- Request_Federation_Restore_Failed ------------<END>*/
    00897
    00898 /*<BEGIN>---------- Federation_Restore_Begun ------------<BEGIN>*/
    00899 NM_Federation_Restore_Begun::NM_Federation_Restore_Begun() {
    00900     this->name = "FEDERATION_RESTORE_BEGUN";
    00901     this->type = NetworkMessage::FEDERATION_RESTORE_BEGUN;
    00902     /* specific field init */
    00903 }
    00904 NM_Federation_Restore_Begun::~NM_Federation_Restore_Begun() {
    00905 }
    00906 /*<END>---------- Federation_Restore_Begun ------------<END>*/
    00907
    00908 /*<BEGIN>---------- Initiate_Federate_Restore ------------<BEGIN>*/
    00909 NM_Initiate_Federate_Restore::NM_Initiate_Federate_Restore() {
    00910     this->name = "INITIATE_FEDERATE_RESTORE";
    00911     this->type = NetworkMessage::INITIATE_FEDERATE_RESTORE;
    00912     /* specific field init */
    00913 }
    00914 NM_Initiate_Federate_Restore::~NM_Initiate_Federate_Restore() {
    00915 }
    00916 /*<END>---------- Initiate_Federate_Restore ------------<END>*/
    00917
    00918 /*<BEGIN>---------- Federation_Restored ------------<BEGIN>*/
    00919 NM_Federation_Restored::NM_Federation_Restored() {
    00920     this->name = "FEDERATION_RESTORED";
    00921     this->type = NetworkMessage::FEDERATION_RESTORED;
    00922     /* specific field init */
    00923 }
    00924 NM_Federation_Restored::~NM_Federation_Restored() {
    00925 }
    00926 /*<END>---------- Federation_Restored ------------<END>*/
    00927
    00928 /*<BEGIN>---------- Federation_Not_Restored ------------<BEGIN>*/
    00929 NM_Federation_Not_Restored::NM_Federation_Not_Restored() {
    00930     this->name = "FEDERATION_NOT_RESTORED";
    00931     this->type = NetworkMessage::FEDERATION_NOT_RESTORED;
    00932     /* specific field init */
    00933 }
    00934 NM_Federation_Not_Restored::~NM_Federation_Not_Restored() {
    00935 }
    00936 /*<END>---------- Federation_Not_Restored ------------<END>*/
    00937
    00938 /*<BEGIN>---------- Publish_Object_Class ------------<BEGIN>*/
    00939 NM_Publish_Object_Class::NM_Publish_Object_Class() {
    00940     this->name = "PUBLISH_OBJECT_CLASS";
    00941     this->type = NetworkMessage::PUBLISH_OBJECT_CLASS;
    00942     /* specific field init */
    00943 }
    00944 NM_Publish_Object_Class::~NM_Publish_Object_Class() {
    00945 }
    00946 void
    00947 NM_Publish_Object_Class::serialize(MessageBuffer& msgBuffer) {
    00948     Super::serialize(msgBuffer);
    00949     msgBuffer.write_int32(objectClass);
    00950 }
    00951 void
    00952 NM_Publish_Object_Class::deserialize(MessageBuffer& msgBuffer) {
    00953     Super::deserialize(msgBuffer);
    00954     objectClass = msgBuffer.read_int32();
    00955 }
    00956 /*<END>---------- Publish_Object_Class ------------<END>*/
    00957
    00958 /*<BEGIN>---------- Unpublish_Object_Class ------------<BEGIN>*/
    00959 NM_Unpublish_Object_Class::NM_Unpublish_Object_Class() {
    00960     this->name = "UNPUBLISH_OBJECT_CLASS";
    00961     this->type = NetworkMessage::UNPUBLISH_OBJECT_CLASS;
    00962     /* specific field init */
    00963 }
    00964 NM_Unpublish_Object_Class::~NM_Unpublish_Object_Class() {
    00965 }
    00966 void NM_Unpublish_Object_Class::serialize(MessageBuffer& msgBuffer) {
    00967     /* call mother class */
    00968     Super::serialize(msgBuffer);
    00969     /* specific code (if any) goes here */
    00970     msgBuffer.write_int32(objectClass);
    00971 } /* end of serialize */
    00972 void NM_Unpublish_Object_Class::deserialize(MessageBuffer& msgBuffer) {
    00973     /* call mother class */
    00974     Super::deserialize(msgBuffer);
    00975     /* specific code (if any) goes here */
    00976     objectClass = msgBuffer.read_int32();
    00977 } /* end of deserialize */
    00978 /*<END>---------- Unpublish_Object_Class ------------<END>*/
    00979
    00980 /*<BEGIN>---------- Publish_Interaction_Class ------------<BEGIN>*/
    00981 NM_Publish_Interaction_Class::NM_Publish_Interaction_Class() {
    00982     this->name = "PUBLISH_INTERACTION_CLASS";
    00983     this->type = NetworkMessage::PUBLISH_INTERACTION_CLASS;
    00984     /* specific field init */
    00985 }
    00986 NM_Publish_Interaction_Class::~NM_Publish_Interaction_Class() {
    00987 }
    00988 void NM_Publish_Interaction_Class::serialize(MessageBuffer& msgBuffer) {
    00989     /* call mother class */
    00990     Super::serialize(msgBuffer);
    00991     /* specific code (if any) goes here */
    00992     msgBuffer.write_int32(interactionClass);
    00993 } /* end of serialize */
    00994 void NM_Publish_Interaction_Class::deserialize(MessageBuffer& msgBuffer) {
    00995     /* call mother class */
    00996     Super::deserialize(msgBuffer);
    00997     /* specific code (if any) goes here */
    00998     interactionClass = msgBuffer.read_int32();
    00999 } /* end of deserialize */
    01000 /*<END>---------- Publish_Interaction_Class ------------<END>*/
    01001
    01002 /*<BEGIN>---------- Unpublish_Interaction_Class ------------<BEGIN>*/
    01003 NM_Unpublish_Interaction_Class::NM_Unpublish_Interaction_Class() {
    01004     this->name = "UNPUBLISH_INTERACTION_CLASS";
    01005     this->type = NetworkMessage::UNPUBLISH_INTERACTION_CLASS;
    01006     /* specific field init */
    01007 }
    01008 NM_Unpublish_Interaction_Class::~NM_Unpublish_Interaction_Class() {
    01009 }
    01010 /*<END>---------- Unpublish_Interaction_Class ------------<END>*/
    01011
    01012 /*<BEGIN>---------- Subscribe_Object_Class ------------<BEGIN>*/
    01013 NM_Subscribe_Object_Class::NM_Subscribe_Object_Class() {
    01014     this->name = "SUBSCRIBE_OBJECT_CLASS";
    01015     this->type = NetworkMessage::SUBSCRIBE_OBJECT_CLASS;
    01016     /* specific field init */
    01017 }
    01018 NM_Subscribe_Object_Class::~NM_Subscribe_Object_Class() {
    01019 }
    01020 void NM_Subscribe_Object_Class::serialize(MessageBuffer& msgBuffer) {
    01021     Super::serialize(msgBuffer);
    01022     msgBuffer.write_int32(objectClass);
    01023 }
    01024 void NM_Subscribe_Object_Class::deserialize(MessageBuffer& msgBuffer) {
    01025     Super::deserialize(msgBuffer);
    01026     objectClass=msgBuffer.read_int32();
    01027 }
    01028 /*<END>---------- Subscribe_Object_Class ------------<END>*/
    01029
    01030 /*<BEGIN>---------- Unsubscribe_Object_Class ------------<BEGIN>*/
    01031 NM_Unsubscribe_Object_Class::NM_Unsubscribe_Object_Class() {
    01032     this->name = "UNSUBSCRIBE_OBJECT_CLASS";
    01033     this->type = NetworkMessage::UNSUBSCRIBE_OBJECT_CLASS;
    01034     /* specific field init */
    01035 }
    01036 NM_Unsubscribe_Object_Class::~NM_Unsubscribe_Object_Class() {
    01037 }
    01038 /*<END>---------- Unsubscribe_Object_Class ------------<END>*/
    01039
    01040 /*<BEGIN>---------- Subscribe_Interaction_Class ------------<BEGIN>*/
    01041 NM_Subscribe_Interaction_Class::NM_Subscribe_Interaction_Class() {
    01042     this->name = "SUBSCRIBE_INTERACTION_CLASS";
    01043     this->type = NetworkMessage::SUBSCRIBE_INTERACTION_CLASS;
    01044     /* specific field init */
    01045 }
    01046 NM_Subscribe_Interaction_Class::~NM_Subscribe_Interaction_Class() {
    01047 }
    01048 /*<END>---------- Subscribe_Interaction_Class ------------<END>*/
    01049
    01050 /*<BEGIN>---------- Unsubscribe_Interaction_Class ------------<BEGIN>*/
    01051 NM_Unsubscribe_Interaction_Class::NM_Unsubscribe_Interaction_Class() {
    01052     this->name = "UNSUBSCRIBE_INTERACTION_CLASS";
    01053     this->type = NetworkMessage::UNSUBSCRIBE_INTERACTION_CLASS;
    01054     /* specific field init */
    01055 }
    01056 NM_Unsubscribe_Interaction_Class::~NM_Unsubscribe_Interaction_Class() {
    01057 }
    01058 /*<END>---------- Unsubscribe_Interaction_Class ------------<END>*/
    01059
    01060 /*<BEGIN>---------- Turn_Interactions_On ------------<BEGIN>*/
    01061 NM_Turn_Interactions_On::NM_Turn_Interactions_On() {
    01062     this->name = "TURN_INTERACTIONS_ON";
    01063     this->type = NetworkMessage::TURN_INTERACTIONS_ON;
    01064     /* specific field init */
    01065 }
    01066 NM_Turn_Interactions_On::~NM_Turn_Interactions_On() {
    01067 }
    01068 /*<END>---------- Turn_Interactions_On ------------<END>*/
    01069
    01070 /*<BEGIN>---------- Turn_Interactions_Off ------------<BEGIN>*/
    01071 NM_Turn_Interactions_Off::NM_Turn_Interactions_Off() {
    01072     this->name = "TURN_INTERACTIONS_OFF";
    01073     this->type = NetworkMessage::TURN_INTERACTIONS_OFF;
    01074     /* specific field init */
    01075 }
    01076 NM_Turn_Interactions_Off::~NM_Turn_Interactions_Off() {
    01077 }
    01078 /*<END>---------- Turn_Interactions_Off ------------<END>*/
    01079
    01080 /*<BEGIN>---------- Register_Object ------------<BEGIN>*/
    01081 NM_Register_Object::NM_Register_Object() {
    01082     this->name = "REGISTER_OBJECT";
    01083     this->type = NetworkMessage::REGISTER_OBJECT;
    01084     /* specific field init */
    01085 }
    01086 NM_Register_Object::~NM_Register_Object() {
    01087 }
    01088 void NM_Register_Object::serialize(MessageBuffer& msgBuffer) {
    01089     /* call mother class */
    01090     Super::serialize(msgBuffer);
    01091     /* specific code (if any) goes here */
    01092     msgBuffer.write_int32(objectClass);
    01093     msgBuffer.write_int32(object);
    01094 } /* end of serialize */
    01095 void NM_Register_Object::deserialize(MessageBuffer& msgBuffer) {
    01096     /* call mother class */
    01097     Super::deserialize(msgBuffer);
    01098     /* specific code (if any) goes here */
    01099     objectClass = msgBuffer.read_int32();
    01100     object      = msgBuffer.read_int32();
    01101 } /* end of deserialize */
    01102 /*<END>---------- Register_Object ------------<END>*/
    01103
    01104 /*<BEGIN>---------- Discover_Object ------------<BEGIN>*/
    01105 NM_Discover_Object::NM_Discover_Object() {
    01106     this->name = "DISCOVER_OBJECT";
    01107     this->type = NetworkMessage::DISCOVER_OBJECT;
    01108     /* specific field init */
    01109 }
    01110 NM_Discover_Object::~NM_Discover_Object() {
    01111 }
    01112 /*<END>---------- Discover_Object ------------<END>*/
    01113
    01114 /*<BEGIN>---------- Update_Attribute_Values ------------<BEGIN>*/
    01115 NM_Update_Attribute_Values::NM_Update_Attribute_Values() {
    01116     this->name = "UPDATE_ATTRIBUTE_VALUES";
    01117     this->type = NetworkMessage::UPDATE_ATTRIBUTE_VALUES;
    01118     /* specific field init */
    01119 }
    01120 NM_Update_Attribute_Values::~NM_Update_Attribute_Values() {
    01121 }
    01122 void NM_Update_Attribute_Values::serialize(MessageBuffer& msgBuffer) {
    01123     int i;
    01124     /* call mother class */
    01125     Super::serialize(msgBuffer);
    01126     /* handleArraySize was done by superclass */
    01127     /* specific code (if any) goes here */
    01128     msgBuffer.write_int32(object);
    01129     msgBuffer.write_int32(objectClass);
    01130     /* the value pre-encoded by the user (HLA 1.3) */
    01131     for (i = 0 ; i < handleArraySize ; i++)
    01132         msgBuffer.write_string(valueArray[i]) ;
    01133 } /* end of serialize */
    01134 void NM_Update_Attribute_Values::deserialize(MessageBuffer& msgBuffer) {
    01135     int i;
    01136     /* call mother class */
    01137     Super::deserialize(msgBuffer);
    01138     /* handleArraySize was done by superclass */
    01139     /* specific code (if any) goes here */
    01140     object          = msgBuffer.read_int32();
    01141     objectClass     = msgBuffer.read_int32();
    01142     valueArray.resize(handleArraySize) ;
    01143     for (i = 0; i < handleArraySize; i++)
    01144         valueArray[i] = msgBuffer.read_string();
    01145 } /* end of deserialize */
    01146 /*<END>---------- Update_Attribute_Values ------------<END>*/
    01147
    01148 /*<BEGIN>---------- Reflect_Attribute_Values ------------<BEGIN>*/
    01149 NM_Reflect_Attribute_Values::NM_Reflect_Attribute_Values() {
    01150     this->name = "REFLECT_ATTRIBUTE_VALUES";
    01151     this->type = NetworkMessage::REFLECT_ATTRIBUTE_VALUES;
    01152     /* specific field init */
    01153 }
    01154 NM_Reflect_Attribute_Values::~NM_Reflect_Attribute_Values() {
    01155 }
    01156 /*<END>---------- Reflect_Attribute_Values ------------<END>*/
    01157
    01158 /*<BEGIN>---------- Send_Interaction ------------<BEGIN>*/
    01159 NM_Send_Interaction::NM_Send_Interaction() {
    01160     this->name = "SEND_INTERACTION";
    01161     this->type = NetworkMessage::SEND_INTERACTION;
    01162     /* specific field init */
    01163 }
    01164 NM_Send_Interaction::~NM_Send_Interaction() {
    01165 }
    01166 void NM_Send_Interaction::serialize(MessageBuffer& msgBuffer) {
    01167     int i;
    01168     /* call mother class */
    01169     Super::serialize(msgBuffer);
    01170     /* specific code (if any) goes here */
    01171     msgBuffer.write_int32(region);
    01172     msgBuffer.write_int32(interactionClass);
    01173     /* the value pre-encoded by the user (HLA 1.3) */
    01174     for (i = 0 ; i < handleArraySize ; i++)
    01175         msgBuffer.write_string(valueArray[i]);
    01176 } /* end of serialize */
    01177 void NM_Send_Interaction::deserialize(MessageBuffer& msgBuffer) {
    01178     int i;
    01179     /* call mother class */
    01180     Super::deserialize(msgBuffer);
    01181     /* specific code (if any) goes here */
    01182     region           = msgBuffer.read_int32();
    01183     interactionClass = msgBuffer.read_int32();
    01184     valueArray.resize(handleArraySize);
    01185     for (i = 0; i < handleArraySize; i++)
    01186         valueArray[i] = msgBuffer.read_string();
    01187 } /* end of deserialize */
    01188 /*<END>---------- Send_Interaction ------------<END>*/
    01189
    01190 /*<BEGIN>---------- Receive_Interaction ------------<BEGIN>*/
    01191 NM_Receive_Interaction::NM_Receive_Interaction() {
    01192     this->name = "RECEIVE_INTERACTION";
    01193     this->type = NetworkMessage::RECEIVE_INTERACTION;
    01194     /* specific field init */
    01195 }
    01196 NM_Receive_Interaction::~NM_Receive_Interaction() {
    01197 }
    01198 /*<END>---------- Receive_Interaction ------------<END>*/
    01199
    01200 /*<BEGIN>---------- Delete_Object ------------<BEGIN>*/
    01201 NM_Delete_Object::NM_Delete_Object() {
    01202     this->name = "DELETE_OBJECT";
    01203     this->type = NetworkMessage::DELETE_OBJECT;
    01204     /* specific field init */
    01205 }
    01206 NM_Delete_Object::~NM_Delete_Object() {
    01207 }
    01208 /*<END>---------- Delete_Object ------------<END>*/
    01209
    01210 /*<BEGIN>---------- Remove_Object ------------<BEGIN>*/
    01211 NM_Remove_Object::NM_Remove_Object() {
    01212     this->name = "REMOVE_OBJECT";
    01213     this->type = NetworkMessage::REMOVE_OBJECT;
    01214     /* specific field init */
    01215 }
    01216 NM_Remove_Object::~NM_Remove_Object() {
    01217 }
    01218
    01219 /*<END>---------- Remove_Object ------------<END>*/
    01220
    01221 /*<BEGIN>---------- Change_Attribute_Transport_Type ------------<BEGIN>*/
    01222 NM_Change_Attribute_Transport_Type::NM_Change_Attribute_Transport_Type() {
    01223     this->name = "CHANGE_ATTRIBUTE_TRANSPORT_TYPE";
    01224     this->type = NetworkMessage::CHANGE_ATTRIBUTE_TRANSPORT_TYPE;
    01225     /* specific field init */
    01226 }
    01227 NM_Change_Attribute_Transport_Type::~NM_Change_Attribute_Transport_Type() {
    01228 }
    01229 void NM_Change_Attribute_Transport_Type::serialize(MessageBuffer& msgBuffer) {
    01230     /* call mother class */
    01231     Super::serialize(msgBuffer);
    01232     /* specific code (if any) goes here */
    01233 } /* end of serialize */
    01234 void NM_Change_Attribute_Transport_Type::deserialize(MessageBuffer& msgBuffer) {
    01235     /* call mother class */
    01236     Super::deserialize(msgBuffer);
    01237     /* specific code (if any) goes here */
    01238 } /* end of deserialize */
    01239 /*<END>---------- Change_Attribute_Transport_Type ------------<END>*/
    01240
    01241 /*<BEGIN>---------- Change_Attribute_Order_Type ------------<BEGIN>*/
    01242 NM_Change_Attribute_Order_Type::NM_Change_Attribute_Order_Type() {
    01243     this->name = "CHANGE_ATTRIBUTE_ORDER_TYPE";
    01244     this->type = NetworkMessage::CHANGE_ATTRIBUTE_ORDER_TYPE;
    01245     /* specific field init */
    01246 }
    01247 NM_Change_Attribute_Order_Type::~NM_Change_Attribute_Order_Type() {
    01248 }
    01249 void NM_Change_Attribute_Order_Type::serialize(MessageBuffer& msgBuffer) {
    01250     /* call mother class */
    01251     Super::serialize(msgBuffer);
    01252     /* specific code (if any) goes here */
    01253 } /* end of serialize */
    01254 void NM_Change_Attribute_Order_Type::deserialize(MessageBuffer& msgBuffer) {
    01255     /* call mother class */
    01256     Super::deserialize(msgBuffer);
    01257     /* specific code (if any) goes here */
    01258 } /* end of deserialize */
    01259 /*<END>---------- Change_Attribute_Order_Type ------------<END>*/
    01260
    01261 /*<BEGIN>---------- Change_Interaction_Transport_Type ------------<BEGIN>*/
    01262 NM_Change_Interaction_Transport_Type::NM_Change_Interaction_Transport_Type() {
    01263     this->name = "CHANGE_INTERACTION_TRANSPORT_TYPE";
    01264     this->type = NetworkMessage::CHANGE_INTERACTION_TRANSPORT_TYPE;
    01265     /* specific field init */
    01266 }
    01267 NM_Change_Interaction_Transport_Type::~NM_Change_Interaction_Transport_Type() {
    01268 }
    01269 void NM_Change_Interaction_Transport_Type::serialize(MessageBuffer& msgBuffer) {
    01270     /* call mother class */
    01271     Super::serialize(msgBuffer);
    01272     /* specific code (if any) goes here */
    01273 } /* end of serialize */
    01274 void NM_Change_Interaction_Transport_Type::deserialize(MessageBuffer& msgBuffer) {
    01275     /* call mother class */
    01276     Super::deserialize(msgBuffer);
    01277     /* specific code (if any) goes here */
    01278 } /* end of deserialize */
    01279 /*<END>---------- Change_Interaction_Transport_Type ------------<END>*/
    01280
    01281 /*<BEGIN>---------- Change_Interaction_Order_Type ------------<BEGIN>*/
    01282 NM_Change_Interaction_Order_Type::NM_Change_Interaction_Order_Type() {
    01283     this->name = "CHANGE_INTERACTION_ORDER_TYPE";
    01284     this->type = NetworkMessage::CHANGE_INTERACTION_ORDER_TYPE;
    01285     /* specific field init */
    01286 }
    01287 NM_Change_Interaction_Order_Type::~NM_Change_Interaction_Order_Type() {
    01288 }
    01289 void NM_Change_Interaction_Order_Type::serialize(MessageBuffer& msgBuffer) {
    01290     /* call mother class */
    01291     Super::serialize(msgBuffer);
    01292     /* specific code (if any) goes here */
    01293 } /* end of serialize */
    01294 void NM_Change_Interaction_Order_Type::deserialize(MessageBuffer& msgBuffer) {
    01295     /* call mother class */
    01296     Super::deserialize(msgBuffer);
    01297     /* specific code (if any) goes here */
    01298 } /* end of deserialize */
    01299 /*<END>---------- Change_Interaction_Order_Type ------------<END>*/
    01300
    01301 /*<BEGIN>---------- Request_Class_Attribute_Value_Update ------------<BEGIN>*/
    01302 NM_Request_Class_Attribute_Value_Update::NM_Request_Class_Attribute_Value_Update() {
    01303     this->name = "REQUEST_CLASS_ATTRIBUTE_VALUE_UPDATE";
    01304     this->type = NetworkMessage::REQUEST_CLASS_ATTRIBUTE_VALUE_UPDATE;
    01305     /* specific field init */
    01306 }
    01307 NM_Request_Class_Attribute_Value_Update::~NM_Request_Class_Attribute_Value_Update() {
    01308 }
    01309 void NM_Request_Class_Attribute_Value_Update::serialize(MessageBuffer& msgBuffer) {
    01310     /* call mother class */
    01311     Super::serialize(msgBuffer);
    01312     /* specific code (if any) goes here */
    01313 } /* end of serialize */
    01314 void NM_Request_Class_Attribute_Value_Update::deserialize(MessageBuffer& msgBuffer) {
    01315     /* call mother class */
    01316     Super::deserialize(msgBuffer);
    01317     /* specific code (if any) goes here */
    01318 } /* end of deserialize */
    01319 /*<END>---------- Request_Class_Attribute_Value_Update ------------<END>*/
    01320
    01321 /*<BEGIN>---------- Request_Object_Attribute_Value_Update ------------<BEGIN>*/
    01322 NM_Request_Object_Attribute_Value_Update::NM_Request_Object_Attribute_Value_Update() {
    01323     this->name = "REQUEST_OBJECT_ATTRIBUTE_VALUE_UPDATE";
    01324     this->type = NetworkMessage::REQUEST_OBJECT_ATTRIBUTE_VALUE_UPDATE;
    01325     /* specific field init */
    01326 }
    01327 NM_Request_Object_Attribute_Value_Update::~NM_Request_Object_Attribute_Value_Update() {
    01328 }
    01329 void NM_Request_Object_Attribute_Value_Update::serialize(MessageBuffer& msgBuffer) {
    01330     /* call mother class */
    01331     Super::serialize(msgBuffer);
    01332     /* specific code (if any) goes here */
    01333     msgBuffer.write_int32(object);
    01334 } /* end of serialize */
    01335 void NM_Request_Object_Attribute_Value_Update::deserialize(MessageBuffer& msgBuffer) {
    01336     /* call mother class */
    01337     Super::deserialize(msgBuffer);
    01338     /* specific code (if any) goes here */
    01339     object  = msgBuffer.read_int32();
    01340 } /* end of deserialize */
    01341 /*<END>---------- Request_Object_Attribute_Value_Update ------------<END>*/
    01342
    01343 /*<BEGIN>---------- Is_Attribute_Owned_By_Federate ------------<BEGIN>*/
    01344 NM_Is_Attribute_Owned_By_Federate::NM_Is_Attribute_Owned_By_Federate() {
    01345     this->name = "IS_ATTRIBUTE_OWNED_BY_FEDERATE";
    01346     this->type = NetworkMessage::IS_ATTRIBUTE_OWNED_BY_FEDERATE;
    01347     /* specific field init */
    01348 }
    01349 NM_Is_Attribute_Owned_By_Federate::~NM_Is_Attribute_Owned_By_Federate() {
    01350 }
    01351 void NM_Is_Attribute_Owned_By_Federate::serialize(MessageBuffer& msgBuffer) {
    01352     /* call mother class */
    01353     Super::serialize(msgBuffer);
    01354     /* specific code (if any) goes here */
    01355     msgBuffer.write_int32(object);
    01356     msgBuffer.write_int32(attribute);
    01357 } /* end of serialize */
    01358 void NM_Is_Attribute_Owned_By_Federate::deserialize(MessageBuffer& msgBuffer) {
    01359     /* call mother class */
    01360     Super::deserialize(msgBuffer);
    01361     /* specific code (if any) goes here */
    01362     object    = msgBuffer.read_int32();
    01363     attribute = msgBuffer.read_int32();
    01364 } /* end of deserialize */
    01365 /*<END>---------- Is_Attribute_Owned_By_Federate ------------<END>*/
    01366
    01367 /*<BEGIN>---------- Query_Attribute_Ownership ------------<BEGIN>*/
    01368 NM_Query_Attribute_Ownership::NM_Query_Attribute_Ownership() {
    01369     this->name = "QUERY_ATTRIBUTE_OWNERSHIP";
    01370     this->type = NetworkMessage::QUERY_ATTRIBUTE_OWNERSHIP;
    01371     /* specific field init */
    01372 }
    01373 NM_Query_Attribute_Ownership::~NM_Query_Attribute_Ownership() {
    01374 }
    01375 /*<END>---------- Query_Attribute_Ownership ------------<END>*/
    01376
    01377 /*<BEGIN>---------- Attribute_Is_Not_Owned ------------<BEGIN>*/
    01378 NM_Attribute_Is_Not_Owned::NM_Attribute_Is_Not_Owned() {
    01379     this->name = "ATTRIBUTE_IS_NOT_OWNED";
    01380     this->type = NetworkMessage::ATTRIBUTE_IS_NOT_OWNED;
    01381     /* specific field init */
    01382 }
    01383 NM_Attribute_Is_Not_Owned::~NM_Attribute_Is_Not_Owned() {
    01384 }
    01385 /*<END>---------- Attribute_Is_Not_Owned ------------<END>*/
    01386
    01387 /*<BEGIN>---------- Inform_Attribute_Ownership ------------<BEGIN>*/
    01388 NM_Inform_Attribute_Ownership::NM_Inform_Attribute_Ownership() {
    01389     this->name = "INFORM_ATTRIBUTE_OWNERSHIP";
    01390     this->type = NetworkMessage::INFORM_ATTRIBUTE_OWNERSHIP;
    01391     /* specific field init */
    01392 }
    01393 NM_Inform_Attribute_Ownership::~NM_Inform_Attribute_Ownership() {
    01394 }
    01395 /*<END>---------- Inform_Attribute_Ownership ------------<END>*/
    01396
    01397 /*<BEGIN>---------- Negotiated_Attribute_Ownership_Divestiture ------------<BEGIN>*/
    01398 NM_Negotiated_Attribute_Ownership_Divestiture::NM_Negotiated_Attribute_Ownership_Divestiture() {
    01399     this->name = "NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE";
    01400     this->type = NetworkMessage::NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
    01401     /* specific field init */
    01402 }
    01403 NM_Negotiated_Attribute_Ownership_Divestiture::~NM_Negotiated_Attribute_Ownership_Divestiture() {
    01404 }
    01405 /*<END>---------- Negotiated_Attribute_Ownership_Divestiture ------------<END>*/
    01406
    01407 /*<BEGIN>---------- Attribute_Ownership_Acquisition_Notification ------------<BEGIN>*/
    01408 NM_Attribute_Ownership_Acquisition_Notification::NM_Attribute_Ownership_Acquisition_Notification() {
    01409     this->name = "ATTRIBUTE_OWNERSHIP_ACQUISITION_NOTIFICATION";
    01410     this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_ACQUISITION_NOTIFICATION;
    01411     /* specific field init */
    01412 }
    01413 NM_Attribute_Ownership_Acquisition_Notification::~NM_Attribute_Ownership_Acquisition_Notification() {
    01414 }
    01415 /*<END>---------- Attribute_Ownership_Acquisition_Notification ------------<END>*/
    01416
    01417 /*<BEGIN>---------- Attribute_Ownership_Divestiture_Notification ------------<BEGIN>*/
    01418 NM_Attribute_Ownership_Divestiture_Notification::NM_Attribute_Ownership_Divestiture_Notification() {
    01419     this->name = "ATTRIBUTE_OWNERSHIP_DIVESTITURE_NOTIFICATION";
    01420     this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_DIVESTITURE_NOTIFICATION;
    01421     /* specific field init */
    01422 }
    01423 NM_Attribute_Ownership_Divestiture_Notification::~NM_Attribute_Ownership_Divestiture_Notification() {
    01424 }
    01425 /*<END>---------- Attribute_Ownership_Divestiture_Notification ------------<END>*/
    01426
    01427 /*<BEGIN>---------- Request_Attribute_Ownership_Assumption ------------<BEGIN>*/
    01428 NM_Request_Attribute_Ownership_Assumption::NM_Request_Attribute_Ownership_Assumption() {
    01429     this->name = "REQUEST_ATTRIBUTE_OWNERSHIP_ASSUMPTION";
    01430     this->type = NetworkMessage::REQUEST_ATTRIBUTE_OWNERSHIP_ASSUMPTION;
    01431     /* specific field init */
    01432 }
    01433 NM_Request_Attribute_Ownership_Assumption::~NM_Request_Attribute_Ownership_Assumption() {
    01434 }
    01435 /*<END>---------- Request_Attribute_Ownership_Assumption ------------<END>*/
    01436
    01437 /*<BEGIN>---------- Attribute_Ownership_Unavailable ------------<BEGIN>*/
    01438 NM_Attribute_Ownership_Unavailable::NM_Attribute_Ownership_Unavailable() {
    01439     this->name = "ATTRIBUTE_OWNERSHIP_UNAVAILABLE";
    01440     this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_UNAVAILABLE;
    01441     /* specific field init */
    01442 }
    01443 NM_Attribute_Ownership_Unavailable::~NM_Attribute_Ownership_Unavailable() {
    01444 }
    01445 /*<END>---------- Attribute_Ownership_Unavailable ------------<END>*/
    01446
    01447 /*<BEGIN>---------- Attribute_Ownership_Acquisition_If_Available ------------<BEGIN>*/
    01448 NM_Attribute_Ownership_Acquisition_If_Available::NM_Attribute_Ownership_Acquisition_If_Available() {
    01449     this->name = "ATTRIBUTE_OWNERSHIP_ACQUISITION_IF_AVAILABLE";
    01450     this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_ACQUISITION_IF_AVAILABLE;
    01451     /* specific field init */
    01452 }
    01453 NM_Attribute_Ownership_Acquisition_If_Available::~NM_Attribute_Ownership_Acquisition_If_Available() {
    01454 }
    01455 /*<END>---------- Attribute_Ownership_Acquisition_If_Available ------------<END>*/
    01456
    01457 /*<BEGIN>---------- Unconditional_Attribute_Ownership_Divestiture ------------<BEGIN>*/
    01458 NM_Unconditional_Attribute_Ownership_Divestiture::NM_Unconditional_Attribute_Ownership_Divestiture() {
    01459     this->name = "UNCONDITIONAL_ATTRIBUTE_OWNERSHIP_DIVESTITURE";
    01460     this->type = NetworkMessage::UNCONDITIONAL_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
    01461     /* specific field init */
    01462 }
    01463 NM_Unconditional_Attribute_Ownership_Divestiture::~NM_Unconditional_Attribute_Ownership_Divestiture() {
    01464 }
    01465 /*<END>---------- Unconditional_Attribute_Ownership_Divestiture ------------<END>*/
    01466
    01467 /*<BEGIN>---------- Attribute_Ownership_Acquisition ------------<BEGIN>*/
    01468 NM_Attribute_Ownership_Acquisition::NM_Attribute_Ownership_Acquisition() {
    01469     this->name = "ATTRIBUTE_OWNERSHIP_ACQUISITION";
    01470     this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_ACQUISITION;
    01471     /* specific field init */
    01472 }
    01473 NM_Attribute_Ownership_Acquisition::~NM_Attribute_Ownership_Acquisition() {
    01474 }
    01475 /*<END>---------- Attribute_Ownership_Acquisition ------------<END>*/
    01476
    01477 /*<BEGIN>---------- Request_Attribute_Ownership_Release ------------<BEGIN>*/
    01478 NM_Request_Attribute_Ownership_Release::NM_Request_Attribute_Ownership_Release() {
    01479     this->name = "REQUEST_ATTRIBUTE_OWNERSHIP_RELEASE";
    01480     this->type = NetworkMessage::REQUEST_ATTRIBUTE_OWNERSHIP_RELEASE;
    01481     /* specific field init */
    01482 }
    01483 NM_Request_Attribute_Ownership_Release::~NM_Request_Attribute_Ownership_Release() {
    01484 }
    01485 /*<END>---------- Request_Attribute_Ownership_Release ------------<END>*/
    01486
    01487 /*<BEGIN>---------- Cancel_Negotiated_Attribute_Ownership_Divestiture ------------<BEGIN>*/
    01488 NM_Cancel_Negotiated_Attribute_Ownership_Divestiture::NM_Cancel_Negotiated_Attribute_Ownership_Divestiture() {
    01489     this->name = "CANCEL_NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE";
    01490     this->type = NetworkMessage::CANCEL_NEGOTIATED_ATTRIBUTE_OWNERSHIP_DIVESTITURE;
    01491     /* specific field init */
    01492 }
    01493 NM_Cancel_Negotiated_Attribute_Ownership_Divestiture::~NM_Cancel_Negotiated_Attribute_Ownership_Divestiture() {
    01494 }
    01495 /*<END>---------- Cancel_Negotiated_Attribute_Ownership_Divestiture ------------<END>*/
    01496
    01497 /*<BEGIN>---------- Attribute_Ownership_Release_Response ------------<BEGIN>*/
    01498 NM_Attribute_Ownership_Release_Response::NM_Attribute_Ownership_Release_Response() {
    01499     this->name = "ATTRIBUTE_OWNERSHIP_RELEASE_RESPONSE";
    01500     this->type = NetworkMessage::ATTRIBUTE_OWNERSHIP_RELEASE_RESPONSE;
    01501     /* specific field init */
    01502 }
    01503 NM_Attribute_Ownership_Release_Response::~NM_Attribute_Ownership_Release_Response() {
    01504 }
    01505 /*<END>---------- Attribute_Ownership_Release_Response ------------<END>*/
    01506
    01507 /*<BEGIN>---------- Cancel_Attribute_Ownership_Acquisition ------------<BEGIN>*/
    01508 NM_Cancel_Attribute_Ownership_Acquisition::NM_Cancel_Attribute_Ownership_Acquisition() {
    01509     this->name = "CANCEL_ATTRIBUTE_OWNERSHIP_ACQUISITION";
    01510     this->type = NetworkMessage::CANCEL_ATTRIBUTE_OWNERSHIP_ACQUISITION;
    01511     /* specific field init */
    01512 }
    01513 NM_Cancel_Attribute_Ownership_Acquisition::~NM_Cancel_Attribute_Ownership_Acquisition() {
    01514 }
    01515 /*<END>---------- Cancel_Attribute_Ownership_Acquisition ------------<END>*/
    01516
    01517 /*<BEGIN>---------- Confirm_Attribute_Ownership_Acquisition_Cancellation ------------<BEGIN>*/
    01518 NM_Confirm_Attribute_Ownership_Acquisition_Cancellation::NM_Confirm_Attribute_Ownership_Acquisition_Cancellation() {
    01519     this->name = "CONFIRM_ATTRIBUTE_OWNERSHIP_ACQUISITION_CANCELLATION";
    01520     this->type = NetworkMessage::CONFIRM_ATTRIBUTE_OWNERSHIP_ACQUISITION_CANCELLATION;
    01521     /* specific field init */
    01522 }
    01523 NM_Confirm_Attribute_Ownership_Acquisition_Cancellation::~NM_Confirm_Attribute_Ownership_Acquisition_Cancellation() {
    01524 }
    01525 /*<END>---------- Confirm_Attribute_Ownership_Acquisition_Cancellation ------------<END>*/
    01526
    01527 /*<BEGIN>---------- DDM_Create_Region ------------<BEGIN>*/
    01528 NM_DDM_Create_Region::NM_DDM_Create_Region() {
    01529     this->name = "DDM_CREATE_REGION";
    01530     this->type = NetworkMessage::DDM_CREATE_REGION;
    01531     /* specific field init */
    01532 }
    01533 NM_DDM_Create_Region::~NM_DDM_Create_Region() {
    01534 }
    01535 void NM_DDM_Create_Region::serialize(MessageBuffer& msgBuffer) {
    01536     /* call mother class */
    01537     NetworkMessage::serialize(msgBuffer);
    01538     /* specific code (if any) goes here */
    01539     msgBuffer.write_int32(space);
    01540     msgBuffer.write_int32(nbExtents);
    01541     msgBuffer.write_int32(region);
    01542 } /* end of serialize */
    01543 void NM_DDM_Create_Region::deserialize(MessageBuffer& msgBuffer) {
    01544     /* call mother class */
    01545     NetworkMessage::deserialize(msgBuffer);
    01546     /* specific code (if any) goes here */
    01547     space     = msgBuffer.read_int32();
    01548     nbExtents = msgBuffer.read_int32();
    01549     region    = msgBuffer.read_int32();
    01550 } /* end of deserialize */
    01551 /*<END>---------- DDM_Create_Region ------------<END>*/
    01552
    01553 /*<BEGIN>---------- DDM_Modify_Region ------------<BEGIN>*/
    01554 NM_DDM_Modify_Region::NM_DDM_Modify_Region() {
    01555     this->name = "DDM_MODIFY_REGION";
    01556     this->type = NetworkMessage::DDM_MODIFY_REGION;
    01557     /* specific field init */
    01558 }
    01559 NM_DDM_Modify_Region::~NM_DDM_Modify_Region() {
    01560 }
    01561 void NM_DDM_Modify_Region::serialize(MessageBuffer& msgBuffer) {
    01562     /* call mother class */
    01563     NetworkMessage::serialize(msgBuffer);
    01564     /* specific code (if any) goes here */
    01565     BasicMessage::serialize(msgBuffer);
    01566 } /* end of serialize */
    01567 void NM_DDM_Modify_Region::deserialize(MessageBuffer& msgBuffer) {
    01568     /* call mother class */
    01569     NetworkMessage::deserialize(msgBuffer);
    01570     /* specific code (if any) goes here */
    01571     BasicMessage::deserialize(msgBuffer);
    01572 } /* end of deserialize */
    01573 /*<END>---------- DDM_Modify_Region ------------<END>*/
    01574
    01575 /*<BEGIN>---------- DDM_Delete_Region ------------<BEGIN>*/
    01576 NM_DDM_Delete_Region::NM_DDM_Delete_Region() {
    01577     this->name = "DDM_DELETE_REGION";
    01578     this->type = NetworkMessage::DDM_DELETE_REGION;
    01579     /* specific field init */
    01580 }
    01581 NM_DDM_Delete_Region::~NM_DDM_Delete_Region() {
    01582 }
    01583 void NM_DDM_Delete_Region::serialize(MessageBuffer& msgBuffer) {
    01584     /* call mother class */
    01585     NetworkMessage::serialize(msgBuffer);
    01586     /* specific code (if any) goes here */
    01587     BasicMessage::serialize(msgBuffer);
    01588 } /* end of serialize */
    01589 void NM_DDM_Delete_Region::deserialize(MessageBuffer& msgBuffer) {
    01590     /* call mother class */
    01591     NetworkMessage::deserialize(msgBuffer);
    01592     /* specific code (if any) goes here */
    01593     BasicMessage::deserialize(msgBuffer);
    01594 } /* end of deserialize */
    01595 /*<END>---------- DDM_Delete_Region ------------<END>*/
    01596
    01597 /*<BEGIN>---------- DDM_Associate_Region ------------<BEGIN>*/
    01598 NM_DDM_Associate_Region::NM_DDM_Associate_Region() {
    01599     this->name = "DDM_ASSOCIATE_REGION";
    01600     this->type = NetworkMessage::DDM_ASSOCIATE_REGION;
    01601     /* specific field init */
    01602 }
    01603 NM_DDM_Associate_Region::~NM_DDM_Associate_Region() {
    01604 }
    01605 void NM_DDM_Associate_Region::serialize(MessageBuffer& msgBuffer) {
    01606     /* call mother class */
    01607     NM_WithHandleArray::serialize(msgBuffer);
    01608     /* specific code (if any) goes here */
    01609     msgBuffer.write_int32(object);
    01610     msgBuffer.write_int32(region);
    01611     msgBuffer.write_bool(DDM_bool);
    01612 } /* end of serialize */
    01613 void NM_DDM_Associate_Region::deserialize(MessageBuffer& msgBuffer) {
    01614     /* call mother class */
    01615     NM_WithHandleArray::deserialize(msgBuffer);
    01616     /* specific code (if any) goes here */
    01617     object  = msgBuffer.read_int32();
    01618     region  = msgBuffer.read_int32();
    01619     DDM_bool = msgBuffer.read_bool();
    01620 } /* end of deserialize */
    01621 /*<END>---------- DDM_Associate_Region ------------<END>*/
    01622
    01623 /*<BEGIN>---------- DDM_Register_Object ------------<BEGIN>*/
    01624 NM_DDM_Register_Object::NM_DDM_Register_Object() {
    01625     this->name = "DDM_REGISTER_OBJECT";
    01626     this->type = NetworkMessage::DDM_REGISTER_OBJECT;
    01627     /* specific field init */
    01628 }
    01629 NM_DDM_Register_Object::~NM_DDM_Register_Object() {
    01630 }
    01631 void NM_DDM_Register_Object::serialize(MessageBuffer& msgBuffer) {
    01632     /* call mother class */
    01633     NM_WithHandleArray::serialize(msgBuffer);
    01634     /* specific code (if any) goes here */
    01635     msgBuffer.write_int32(object);
    01636     msgBuffer.write_int32(objectClass);
    01637     msgBuffer.write_int32(region);
    01638     msgBuffer.write_bool(DDM_bool);
    01639 } /* end of serialize */
    01640 void NM_DDM_Register_Object::deserialize(MessageBuffer& msgBuffer) {
    01641     /* call mother class */
    01642     NM_WithHandleArray::deserialize(msgBuffer);
    01643     /* specific code (if any) goes here */
    01644     object      = msgBuffer.read_int32();
    01645     objectClass = msgBuffer.read_int32();
    01646     region      = msgBuffer.read_int32();
    01647     DDM_bool     = msgBuffer.read_bool();
    01648 } /* end of deserialize */
    01649 /*<END>---------- DDM_Register_Object ------------<END>*/
    01650
    01651 /*<BEGIN>---------- DDM_Unassociate_Region ------------<BEGIN>*/
    01652 NM_DDM_Unassociate_Region::NM_DDM_Unassociate_Region() {
    01653     this->name = "DDM_UNASSOCIATE_REGION";
    01654     this->type = NetworkMessage::DDM_UNASSOCIATE_REGION;
    01655     /* specific field init */
    01656 }
    01657 NM_DDM_Unassociate_Region::~NM_DDM_Unassociate_Region() {
    01658 }
    01659 void NM_DDM_Unassociate_Region::serialize(MessageBuffer& msgBuffer) {
    01660     /* call mother class */
    01661     NetworkMessage::serialize(msgBuffer);
    01662     /* specific code (if any) goes here */
    01663     msgBuffer.write_int32(object);
    01664     msgBuffer.write_int32(region);
    01665 } /* end of serialize */
    01666 void NM_DDM_Unassociate_Region::deserialize(MessageBuffer& msgBuffer) {
    01667     /* call mother class */
    01668     NetworkMessage::deserialize(msgBuffer);
    01669     /* specific code (if any) goes here */
    01670     object = msgBuffer.read_int32();
    01671     region = msgBuffer.read_int32();
    01672 } /* end of deserialize */
    01673 /*<END>---------- DDM_Unassociate_Region ------------<END>*/
    01674
    01675 /*<BEGIN>---------- DDM_Subscribe_Attributes ------------<BEGIN>*/
    01676 NM_DDM_Subscribe_Attributes::NM_DDM_Subscribe_Attributes() {
    01677     this->name = "DDM_SUBSCRIBE_ATTRIBUTES";
    01678     this->type = NetworkMessage::DDM_SUBSCRIBE_ATTRIBUTES;
    01679     /* specific field init */
    01680 }
    01681 NM_DDM_Subscribe_Attributes::~NM_DDM_Subscribe_Attributes() {
    01682 }
    01683 void NM_DDM_Subscribe_Attributes::serialize(MessageBuffer& msgBuffer) {
    01684     /* call mother class */
    01685     NM_WithHandleArray::serialize(msgBuffer);
    01686     /* specific code (if any) goes here */
    01687     msgBuffer.write_int32(objectClass);
    01688     msgBuffer.write_int32(region);
    01689     msgBuffer.write_bool(DDM_bool);
    01690 } /* end of serialize */
    01691 void NM_DDM_Subscribe_Attributes::deserialize(MessageBuffer& msgBuffer) {
    01692     /* call mother class */
    01693     NM_WithHandleArray::deserialize(msgBuffer);
    01694     /* specific code (if any) goes here */
    01695     objectClass = msgBuffer.read_int32();
    01696     region      = msgBuffer.read_int32();
    01697     DDM_bool     = msgBuffer.read_bool();
    01698 } /* end of deserialize */
    01699 /*<END>---------- DDM_Subscribe_Attributes ------------<END>*/
    01700
    01701 /*<BEGIN>---------- DDM_Unsubscribe_Attributes ------------<BEGIN>*/
    01702 NM_DDM_Unsubscribe_Attributes::NM_DDM_Unsubscribe_Attributes() {
    01703     this->name = "DDM_UNSUBSCRIBE_ATTRIBUTES";
    01704     this->type = NetworkMessage::DDM_UNSUBSCRIBE_ATTRIBUTES;
    01705     /* specific field init */
    01706 }
    01707 NM_DDM_Unsubscribe_Attributes::~NM_DDM_Unsubscribe_Attributes() {
    01708 }
    01709 void NM_DDM_Unsubscribe_Attributes::serialize(MessageBuffer& msgBuffer) {
    01710     /* call mother class */
    01711     NetworkMessage::serialize(msgBuffer);
    01712     /* specific code (if any) goes here */
    01713     msgBuffer.write_int32(objectClass);
    01714     msgBuffer.write_int32(region);
    01715 } /* end of serialize */
    01716 void NM_DDM_Unsubscribe_Attributes::deserialize(MessageBuffer& msgBuffer) {
    01717     /* call mother class */
    01718     NetworkMessage::deserialize(msgBuffer);
    01719     /* specific code (if any) goes here */
    01720     objectClass = msgBuffer.read_int32();
    01721     region = msgBuffer.read_int32();
    01722 } /* end of deserialize */
    01723 /*<END>---------- DDM_Unsubscribe_Attributes ------------<END>*/
    01724
    01725 /*<BEGIN>---------- DDM_Subscribe_Interaction ------------<BEGIN>*/
    01726 NM_DDM_Subscribe_Interaction::NM_DDM_Subscribe_Interaction() {
    01727     this->name = "DDM_SUBSCRIBE_INTERACTION";
    01728     this->type = NetworkMessage::DDM_SUBSCRIBE_INTERACTION;
    01729     /* specific field init */
    01730 }
    01731 NM_DDM_Subscribe_Interaction::~NM_DDM_Subscribe_Interaction() {
    01732 }
    01733 void NM_DDM_Subscribe_Interaction::serialize(MessageBuffer& msgBuffer) {
    01734     /* call mother class */
    01735     NetworkMessage::serialize(msgBuffer);
    01736     /* specific code (if any) goes here */
    01737     msgBuffer.write_int32(interactionClass);
    01738     msgBuffer.write_int32(region);
    01739     msgBuffer.write_bool(DDM_bool);
    01740 } /* end of serialize */
    01741 void NM_DDM_Subscribe_Interaction::deserialize(MessageBuffer& msgBuffer) {
    01742     /* call mother class */
    01743     NetworkMessage::deserialize(msgBuffer);
    01744     /* specific code (if any) goes here */
    01745     interactionClass = msgBuffer.read_int32();
    01746     region           = msgBuffer.read_int32();
    01747     DDM_bool           = msgBuffer.read_bool();
    01748 } /* end of deserialize */
    01749 /*<END>---------- DDM_Subscribe_Interaction ------------<END>*/
    01750
    01751 /*<BEGIN>---------- DDM_Unsubscribe_Interaction ------------<BEGIN>*/
    01752 NM_DDM_Unsubscribe_Interaction::NM_DDM_Unsubscribe_Interaction() {
    01753     this->name = "DDM_UNSUBSCRIBE_INTERACTION";
    01754     this->type = NetworkMessage::DDM_UNSUBSCRIBE_INTERACTION;
    01755     /* specific field init */
    01756 }
    01757 NM_DDM_Unsubscribe_Interaction::~NM_DDM_Unsubscribe_Interaction() {
    01758 }
    01759 /*<END>---------- DDM_Unsubscribe_Interaction ------------<END>*/
    01760
    01761 /*<BEGIN>---------- Provide_Attribute_Value_Update ------------<BEGIN>*/
    01762 NM_Provide_Attribute_Value_Update::NM_Provide_Attribute_Value_Update() {
    01763     this->name = "PROVIDE_ATTRIBUTE_VALUE_UPDATE";
    01764     this->type = NetworkMessage::PROVIDE_ATTRIBUTE_VALUE_UPDATE;
    01765     /* specific field init */
    01766 }
    01767 NM_Provide_Attribute_Value_Update::~NM_Provide_Attribute_Value_Update() {
    01768 }
    01769 /*<END>---------- Provide_Attribute_Value_Update ------------<END>*/
    01770
    01771 /*<BEGIN>---------- Get_FED_File ------------<BEGIN>*/
    01772 NM_Get_FED_File::NM_Get_FED_File() {
    01773     this->name = "GET_FED_FILE";
    01774     this->type = NetworkMessage::GET_FED_FILE;
    01775     /* specific field init */
    01776 }
    01777 NM_Get_FED_File::~NM_Get_FED_File() {
    01778 }
    01779 void NM_Get_FED_File::serialize(MessageBuffer& msgBuffer) {
    01780     /* call mother class */
    01781     Super::serialize(msgBuffer);
    01782     /* specific code (if any) goes here */
    01783     msgBuffer.write_string(FEDid);
    01784     msgBuffer.write_int16(number);
    01785     if (number) {
    01786         msgBuffer.write_string(line);
    01787     }
    01788 } /* end of serialize */
    01789 void NM_Get_FED_File::deserialize(MessageBuffer& msgBuffer) {
    01790     /* call mother class */
    01791     Super::deserialize(msgBuffer);
    01792     /* specific code (if any) goes here */
    01793     FEDid       = msgBuffer.read_string();
    01794     number      = msgBuffer.read_int16();
    01795     if (number) {
    01796         line = msgBuffer.read_string();
    01797     }
    01798 } /* end of deserialize */
    01799 /*<END>---------- Get_FED_File ------------<END>*/
    01800
    01801 /*<BEGIN>---------- Last ------------<BEGIN>*/
    01802 NM_Last::NM_Last() {
    01803     this->name = "LAST";
    01804     this->type = NetworkMessage::LAST;
    01805     /* specific field init */
    01806 }
    01807 NM_Last::~NM_Last() {
    01808 }
    01809 /*<END>---------- Last ------------<END>*/
    01810
    01811 } /* end of certi namespace */