MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantNotifyObserveMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2011 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef DtAssistantNotifyObserveMsg_H_
7 #define DtAssistantNotifyObserveMsg_H_
8 
12 
13 #include <vlutil/vlString.h>
14 #include <vlutil/vlUtil.h>
15 
16 #include "assistantMsg.h"
18 
19 class DtRtiAssistantPeer;
23 
24 typedef void (*DtAssistantNotifyObserveCb)(const DtAssistantNotifyObserveMsg& inter, void* usr);
25 
31 {
32 public:
33 
35  DtAssistantNotifyObserveMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
36 
39  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
40 
42  virtual ~DtAssistantNotifyObserveMsg();
43 
45  virtual DtAssistantMsg* clone(bool copy = true) const;
46 
48  virtual bool isObserved() const;
49 
51  virtual void setIsObserved( bool observed );
52 
54  virtual void printData() const;
55 
56 public:
57 
59  static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
60  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
61 
62  static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
63 
66  static void addCallback(DtRtiAssistantPeer* conn,
67  DtAssistantNotifyObserveCb cb, void* usr);
68  static void removeCallback(DtRtiAssistantPeer* conn,
69  DtAssistantNotifyObserveCb cb, void* usr);
70 
71 protected:
72 
74  virtual DtNetAssistantNotifyObserveMsg* netAssistantNotifyObserveMsg();
75  virtual const DtNetAssistantNotifyObserveMsg* netAssistantNotifyObserveMsg() const;
76 
79 
81  virtual int minSize() const;
82 
83 };
84 
85 #endif
86 

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)