MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantLogRequestMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantLogRequestMsg.h,v $ $Revision: 1.2 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef DtAssistantLogRequestMsg_H_
10 #define DtAssistantLogRequestMsg_H_
11 
15 
16 #include <vlutil/vlString.h>
17 #include <vlutil/vlUtil.h>
18 
19 #include "assistantMsg.h"
21 
23 class DtRtiAssistantPeer;
25 
26 typedef void (*DtAssistantLogRequestCb)(const DtAssistantLogRequestMsg& inter, void* usr);
27 
32 {
33 public:
34 
36  DtAssistantLogRequestMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
37 
39  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
40 
42  virtual ~DtAssistantLogRequestMsg();
43 
45  virtual DtAssistantMsg* clone(bool copy = true) const;
46 
48  virtual unsigned maxLogSize() const;
49 
51  virtual void setMaxLogSize( unsigned size );
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  DtAssistantLogRequestCb cb, void* usr);
68  static void removeCallback(DtRtiAssistantClient* conn,
69  DtAssistantLogRequestCb cb, void* usr);
70 
73  static void addCallback(DtRtiAssistantPeer* conn,
74  DtAssistantLogRequestCb cb, void* usr);
75  static void removeCallback(DtRtiAssistantPeer* conn,
76  DtAssistantLogRequestCb cb, void* usr);
77 
78 protected:
79 
81  virtual DtNetAssistantLogRequestMsg* netAssistantLogRequestMsg();
82  virtual const DtNetAssistantLogRequestMsg* netAssistantLogRequestMsg() const;
83 
86 
88  virtual int minSize() const;
89 
90 };
91 
92 #endif
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
#define DT_DLL_ASSISTANT
_WIN32
Definition: rtiMsConfig.h:121
void(* DtAssistantLogRequestCb)(const DtAssistantLogRequestMsg &inter, void *usr)
Definition: assistantLogRequestMsg.h:26
DtRtiAssistantPeer manages the sharing of information between one Assistant to other Assistants using...
Definition: rtiAssistantPeer.h:82
virtual DtAssistantMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
virtual void printData() const
The DtAssistantLogRequestMsg defines a wrapper for the RTI Assistant message used by the Assistant to...
Definition: assistantLogRequestMsg.h:31
Definition: netAssistantLogRequestMsg.h:17

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)