MAK RTIspy API Documentation for HLA 1516
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 MAKRti::DtInetAddr webServerIp() const;
50 
52  virtual void setWebServerIp( const MAKRti::DtInetAddr& ip );
53 
55  virtual unsigned int webServerPort() const;
56 
58  virtual void setWebServerPort( unsigned int port );
59 
61  virtual void setNotifyLevel( DtNotifyLevelType level );
62 
64  virtual DtNotifyLevelType notifyLevel() const;
65 
67  virtual void printData() const;
68 
69 public:
70 
72  static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
73  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
74 
75  static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
76 
79  static void addCallback(DtRtiAssistantServer* conn,
80  DtAssistantExecObserveRspCb cb, void* usr);
81  static void removeCallback(DtRtiAssistantServer* conn,
82  DtAssistantExecObserveRspCb cb, void* usr);
83 
86  static void addCallback(DtRtiAssistantPeer* conn,
87  DtAssistantExecObserveRspCb cb, void* usr);
88  static void removeCallback(DtRtiAssistantPeer* conn,
89  DtAssistantExecObserveRspCb cb, void* usr);
90 
91 protected:
92 
94  virtual DtNetAssistantExecObserveRspMsg* netAssistantExecObserveRspMsg();
95  virtual const DtNetAssistantExecObserveRspMsg* netAssistantExecObserveRspMsg() const;
96 
99 
101  virtual int minSize() const;
102 
103 };
104 
105 #endif

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)