MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantQueryMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantQueryMsg.h,v $ $Revision: 1.6 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef DtAssistantQueryMsg_H_
10 #define DtAssistantQueryMsg_H_
11 
14 
15 #include <vlutil/vlString.h>
16 #include <vlutil/vlUtil.h>
17 
18 #include "assistantMsg.h"
19 #include "netAssistantQueryMsg.h"
20 
21 class DtRtiAssistantPeer;
23 
24 namespace MAKRti
25 {
26  class DtInetAddr;
27 }
28 
29 typedef void (*DtAssistantQueryCb)(const DtAssistantQueryMsg& inter, void* usr);
30 
35 {
36 public:
37 
39  DtAssistantQueryMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
40 
42  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
43 
45  virtual ~DtAssistantQueryMsg();
46 
48  virtual DtAssistantMsg* clone(bool copy = true) const;
49 
51  virtual void printData() const;
52 
53 public:
54 
56  static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
57  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
58 
59  static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
60 
63  static void addCallback(DtRtiAssistantPeer* conn,
64  DtAssistantQueryCb cb, void* usr);
65  static void removeCallback(DtRtiAssistantPeer* conn,
66  DtAssistantQueryCb cb, void* usr);
67 
68 protected:
69 
71  virtual DtNetAssistantQueryMsg* netAssistantQueryMsg();
72  virtual const DtNetAssistantQueryMsg* netAssistantQueryMsg() const;
73 
76 
78  virtual int minSize() const;
79 
80 };
81 
82 #endif // DtAssistantQueryMsg_H_

Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)