MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantExitMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantExitMsg.h,v $ $Revision: 1.6 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef DtAssistantExitMsg_H_
10 #define DtAssistantExitMsg_H_
11 
15 
16 #include <vlutil/vlString.h>
17 #include <vlutil/vlUtil.h>
18 
19 #include "assistantMsg.h"
20 #include "netAssistantExitMsg.h"
21 
23 class DtRtiAssistantPeer;
24 class DtAssistantExitMsg;
25 
26 typedef void (*DtAssistantExitCb)(const DtAssistantExitMsg& inter, void* usr);
27 
33 {
34 public:
35 
37  DtAssistantExitMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
38 
40  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
41 
43  virtual ~DtAssistantExitMsg();
44 
46  virtual DtAssistantMsg* clone(bool copy = true) const;
47 
49  virtual void printData() const;
50 
51 public:
52 
54  static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
55  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
56 
57  static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
58 
61  static void addCallback(DtRtiAssistantClient* conn,
62  DtAssistantExitCb cb, void* usr);
63  static void removeCallback(DtRtiAssistantClient* conn,
64  DtAssistantExitCb cb, void* usr);
65 
68  static void addCallback(DtRtiAssistantPeer* conn,
69  DtAssistantExitCb cb, void* usr);
70  static void removeCallback(DtRtiAssistantPeer* conn,
71  DtAssistantExitCb cb, void* usr);
72 
73 protected:
74 
76  virtual DtNetAssistantExitMsg* netAssistantExitMsg();
77  virtual const DtNetAssistantExitMsg* netAssistantExitMsg() const;
78 
81 
83  virtual int minSize() const;
84 
85 };
86 
87 #endif

Document ID: Generated on Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)