MAK RTIspy API Documentation for HLA 1516
assistantRemovalMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantRemovalMsg.h,v $ $Revision: 1.3 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef DtAssistantRemovalMsg_H_
10 #define DtAssistantRemovalMsg_H_
11 
14 
15 #include <vlutil/vlString.h>
16 #include <vlutil/vlUtil.h>
17 
18 #include "assistantMsg.h"
19 #include "netAssistantRemovalMsg.h"
20 
21 class DtRtiAssistantPeer;
23 
24 typedef void (*DtAssistantRemovalCb)(const DtAssistantRemovalMsg& inter, void* usr);
25 
30 {
31 public:
32 
34  DtAssistantRemovalMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
35 
37  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
38 
40  virtual ~DtAssistantRemovalMsg();
41 
43  virtual DtAssistantMsg* clone(bool copy = true) const;
44 
46  virtual void printData() const;
47 
48 public:
49 
51  static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
52  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
53 
54  static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
55 
58  static void addCallback(DtRtiAssistantPeer* conn,
59  DtAssistantRemovalCb cb, void* usr);
60  static void removeCallback(DtRtiAssistantPeer* conn,
61  DtAssistantRemovalCb cb, void* usr);
62 
63 protected:
64 
66  virtual DtNetAssistantRemovalMsg* netAssistantRemovalMsg();
67  virtual const DtNetAssistantRemovalMsg* netAssistantRemovalMsg() const;
68 
71 
73  virtual int minSize() const;
74 
75 };
76 
77 #endif // DtAssistantRemovalMsg_H_

Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (www.mak.com)