MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantNtfyLvlUpdateMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantNtfyLvlUpdateMsg.h,v $ $Revision: 1.4 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef DtAssistantNtfyLvlUpdateMsg_H_
10 #define DtAssistantNtfyLvlUpdateMsg_H_
11 
15 
16 #include <vlutil/vlString.h>
17 #include <vlutil/vlUtil.h>
18 
19 #include "assistantMsg.h"
21 
24 
25 typedef void (*DtAssistantNtfyLvlUpdateCb)(const DtAssistantNtfyLvlUpdateMsg& inter, void* usr);
26 
32 {
33 public:
34 
36  DtAssistantNtfyLvlUpdateMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
37 
39  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
40 
41  DtAssistantNtfyLvlUpdateMsg( DtNotifyLevelType notifyLevel,
42  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
43 
45  virtual ~DtAssistantNtfyLvlUpdateMsg();
46 
48  virtual DtAssistantMsg* clone(bool copy = true) const;
49 
51  virtual void setNotifyLevel( DtNotifyLevelType level );
52 
54  virtual DtNotifyLevelType notifyLevel() const;
55 
57  virtual void printData() const;
58 
59 public:
60 
62  static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
63  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
64 
65  static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
66 
69  static void addCallback(DtRtiAssistantClient* conn,
70  DtAssistantNtfyLvlUpdateCb cb, void* usr);
71  static void removeCallback(DtRtiAssistantClient* conn,
72  DtAssistantNtfyLvlUpdateCb cb, void* usr);
73 
74 protected:
75 
77  virtual DtNetAssistantNtfyLvlUpdateMsg* netAssistantNtfyLvlUpdateMsg();
78  virtual const DtNetAssistantNtfyLvlUpdateMsg* netAssistantNtfyLvlUpdateMsg() const;
79 
82 
84  virtual int minSize() const;
85 
86 };
87 
88 #endif

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)