00001 00007 #include "ComputeGlobalMsgs.h" 00008 #include "packmsg.h" 00009 00010 //#define DEBUGM 00011 #define MIN_DEBUG_LEVEL 3 00012 #include "Debug.h" 00013 00014 #include "ComputeMgr.decl.h" 00015 00016 00017 // CONFIG MESSAGE 00018 00019 #if 0 00020 ComputeGlobalConfigMsg::ComputeGlobalConfigMsg(void) { 00021 } 00022 00023 ComputeGlobalConfigMsg::~ComputeGlobalConfigMsg(void) { 00024 } 00025 00026 PACK_MSG(ComputeGlobalConfigMsg, 00027 PACK_RESIZE(aid); 00028 PACK_RESIZE(gdef); 00029 ) 00030 #endif 00031 00032 00033 // DATA MESSAGE 00034 00035 ComputeGlobalDataMsg::ComputeGlobalDataMsg(void) { 00036 } 00037 00038 ComputeGlobalDataMsg::~ComputeGlobalDataMsg(void) { 00039 } 00040 00041 PACK_MSG(ComputeGlobalDataMsg, 00042 PACK(step); 00043 PACK_RESIZE(aid); 00044 PACK_RESIZE(p); 00045 PACK_RESIZE(gcom); 00046 PACK_RESIZE(fid); 00047 PACK_RESIZE(tf); 00048 ) 00049 00050 00051 // RESULTS MESSAGE 00052 00053 ComputeGlobalResultsMsg::ComputeGlobalResultsMsg(void) { 00054 reconfig = 0; 00055 resendCoordinates = 0; 00056 } 00057 00058 ComputeGlobalResultsMsg::~ComputeGlobalResultsMsg(void) { 00059 } 00060 00061 PACK_MSG(ComputeGlobalResultsMsg, 00062 PACK_RESIZE(aid); 00063 PACK_RESIZE(f); 00064 PACK_RESIZE(gforce); 00065 PACK(reconfig); 00066 PACK(resendCoordinates); 00067 if ( packmsg_msg->reconfig ) { 00068 PACK_RESIZE(newaid); 00069 PACK_RESIZE(newgdef); 00070 } 00071 )
1.3.9.1