MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantExecObserveRspMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2009 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantExecObserveRspMsg.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef DtAssistantExecObserveRspMsg_H_
10 #define DtAssistantExecObserveRspMsg_H_
11 
15 
16 #include <vlutil/vlString.h>
17 #include <vlutil/vlUtil.h>
18 
19 #include "assistantMsg.h"
21 
22 class DtRtiAssistantPeer;
25 
26 typedef void (*DtAssistantExecObserveRspCb)(const DtAssistantExecObserveRspMsg& inter, void* usr);
27 
33 {
34 public:
35 
37  DtAssistantExecObserveRspMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
38 
40  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
41 
44 
46  virtual DtAssistantMsg* clone(bool copy = true) const;
47 
49  virtual void setNotifyLevel( DtNotifyLevelType level );
50 
52  virtual DtNotifyLevelType notifyLevel() const;
53 
55  virtual void printData() const;
56 
57 public:
58 
60  static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
61  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
62 
63  static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
64 
67  static void addCallback(DtRtiAssistantServer* conn,
68  DtAssistantExecObserveRspCb cb, void* usr);
69  static void removeCallback(DtRtiAssistantServer* conn,
70  DtAssistantExecObserveRspCb cb, void* usr);
71 
74  static void addCallback(DtRtiAssistantPeer* conn,
75  DtAssistantExecObserveRspCb cb, void* usr);
76  static void removeCallback(DtRtiAssistantPeer* conn,
77  DtAssistantExecObserveRspCb cb, void* usr);
78 
79 protected:
80 
82  virtual DtNetAssistantExecObserveRspMsg* netAssistantExecObserveRspMsg();
83  virtual const DtNetAssistantExecObserveRspMsg* netAssistantExecObserveRspMsg() const;
84 
87 
89  virtual int minSize() const;
90 
91 };
92 
93 #endif
Definition: netAssistantMsgHdr.h:26
DtAssistantMsgKind
Definition: assistantMsg.h:53
Base class for assistant Messages.
Definition: assistantMsg.h:153
virtual DtAssistantMsgKind internalMsgKind()=0
Network representation for the RTI Assistant rtiexec observe response message that contains informati...
Definition: netAssistantExecObserveRspMsg.h:25
#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
Manages the server connections of the RTI Assistant.
Definition: rtiAssistantServer.h:45
virtual DtAssistantMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
virtual void printData() const
The DtAssistantExecObserveRspMsg defines a wrapper for the RTI Assistant rtiexec observe response mes...
Definition: assistantExecObserveRspMsg.h:32
This file contains the declaration of DtNetAssistantExecObserveRspMsg.
void(* DtAssistantExecObserveRspCb)(const DtAssistantExecObserveRspMsg &inter, void *usr)
Definition: assistantExecObserveRspMsg.h:26

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)