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
This file contains the declaration of DtNetAssistantNtfyLvlUpdateMsg.
Definition: netAssistantMsgHdr.h:26
Manages the client connection to the RTI Assistant.
Definition: rtiAssistantClient.h:59
DtAssistantMsgKind
Definition: assistantMsg.h:52
Base class for assistant Messages.
Definition: assistantMsg.h:152
virtual DtAssistantMsgKind internalMsgKind()=0
The DtAssistantNtfyLvlUpdateMsg defines a wrapper for the RTI Assistant notify level update message u...
Definition: assistantNtfyLvlUpdateMsg.h:31
#define DT_DLL_ASSISTANT
_WIN32
Definition: rtiMsConfig.h:121
void(* DtAssistantNtfyLvlUpdateCb)(const DtAssistantNtfyLvlUpdateMsg &inter, void *usr)
Definition: assistantNtfyLvlUpdateMsg.h:25
virtual DtAssistantMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
virtual void printData() const
Network representation for the RTI Assistant notify level update message.
Definition: netAssistantNtfyLvlUpdateMsg.h:24

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)