MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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_
Definition: netAssistantMsgHdr.h:26
The DtAssistantRemovalMsg defines a wrapper for the RTI Assistant removal message used by Assistants ...
Definition: assistantRemovalMsg.h:29
This file contains the declaration of DtNetAssistantRemovalMsg.
DtAssistantMsgKind
Definition: assistantMsg.h:53
Base class for assistant Messages.
Definition: assistantMsg.h:153
virtual DtAssistantMsgKind internalMsgKind()=0
#define DT_DLL_ASSISTANT
Default – Unix or Win32 static.
Definition: rtiMsConfig.h:150
DtRtiAssistantPeer manages the sharing of information between one Assistant to other Assistants using...
Definition: rtiAssistantPeer.h:82
virtual DtAssistantMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
virtual void printData() const
void(* DtAssistantRemovalCb)(const DtAssistantRemovalMsg &inter, void *usr)
Definition: assistantRemovalMsg.h:24
Network representation for the RTI Assistant Removal message.
Definition: netAssistantRemovalMsg.h:21

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)