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
Definition: netAssistantMsgHdr.h:26
Manages the client connection to the RTI Assistant.
Definition: rtiAssistantClient.h:59
void(* DtAssistantExitCb)(const DtAssistantExitMsg &inter, void *usr)
Definition: assistantExitMsg.h:26
Network representation for the RTI Assistant exit message.
Definition: netAssistantExitMsg.h:23
DtAssistantMsgKind
Definition: assistantMsg.h:54
Base class for assistant Messages.
Definition: assistantMsg.h:154
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
The DtAssistantExitMsg defines a wrapper for the RTI Assistant exit message used by the Assistant to ...
Definition: assistantExitMsg.h:32
This file contains the declaration of DtNetAssistantExitMsg.

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)