MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantLogEnableMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantLogEnableMsg.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef DtAssistantLogEnableMsg_H_
10 #define DtAssistantLogEnableMsg_H_
11 
15 
16 #include <vlutil/vlString.h>
17 #include <vlutil/vlUtil.h>
18 
19 #include "assistantMsg.h"
21 
24 
25 typedef void (*DtAssistantLogEnableCb)(const DtAssistantLogEnableMsg& inter, void* usr);
26 
32 {
33 public:
34 
36  DtAssistantLogEnableMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
37 
39  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
40 
42  virtual ~DtAssistantLogEnableMsg();
43 
45  virtual DtAssistantMsg* clone(bool copy = true) const;
46 
48  virtual bool isEnable() const;
49 
51  virtual void setEnable( bool val );
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(DtRtiAssistantClient* conn,
67  DtAssistantLogEnableCb cb, void* usr);
68  static void removeCallback(DtRtiAssistantClient* conn,
69  DtAssistantLogEnableCb cb, void* usr);
70 
71 protected:
72 
74  virtual DtNetAssistantLogEnableMsg* netAssistantLogEnableMsg();
75  virtual const DtNetAssistantLogEnableMsg* netAssistantLogEnableMsg() const;
76 
79 
81  virtual int minSize() const;
82 
83 };
84 
85 #endif

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)