![]() |
MAK RTIspy API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 2008 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: assistantRemovalMsg.h,v $ $Revision: 1.3 $ $State: Exp $ 00007 *********************************************************************/ 00008 00009 #ifndef DtAssistantRemovalMsg_H_ 00010 #define DtAssistantRemovalMsg_H_ 00011 00014 00015 #include <vlutil/vlString.h> 00016 #include <vlutil/vlUtil.h> 00017 00018 #include "assistantMsg.h" 00019 #include "netAssistantRemovalMsg.h" 00020 00021 class DtRtiAssistantPeer; 00022 class DtAssistantRemovalMsg; 00023 00024 typedef void (*DtAssistantRemovalCb)(const DtAssistantRemovalMsg& inter, void* usr); 00025 00029 class DT_DLL_ASSISTANT DtAssistantRemovalMsg : public DtAssistantMsg 00030 { 00031 public: 00032 00034 DtAssistantRemovalMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER); 00035 00036 DtAssistantRemovalMsg(const DtNetAssistantRemovalMsg* netRepMsg, 00037 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER); 00038 00040 virtual ~DtAssistantRemovalMsg(); 00041 00043 virtual DtAssistantMsg* clone(bool copy = true) const; 00044 00046 virtual void printData() const; 00047 00048 public: 00049 00051 static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial, 00052 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER); 00053 00054 static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER); 00055 00058 static void addCallback(DtRtiAssistantPeer* conn, 00059 DtAssistantRemovalCb cb, void* usr); 00060 static void removeCallback(DtRtiAssistantPeer* conn, 00061 DtAssistantRemovalCb cb, void* usr); 00062 00063 protected: 00064 00066 virtual DtNetAssistantRemovalMsg* netAssistantRemovalMsg(); 00067 virtual const DtNetAssistantRemovalMsg* netAssistantRemovalMsg() const; 00068 00070 virtual DtAssistantMsgKind internalMsgKind(); 00071 00073 virtual int minSize() const; 00074 00075 }; 00076 00077 #endif // DtAssistantRemovalMsg_H_