MAK RTIspy API Documentation for HLA 1516
assistantWwwCompInfoMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantWwwCompInfoMsg.h,v $ $Revision: 1.4 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef assistantWwwCompInfoMsg_H_
10 #define assistantWwwCompInfoMsg_H_
11 
15 
16 #include <vlutil/vlFilename.h>
17 #include <vlutil/vlPrint.h>
18 
19 #include "assistantMsg.h"
20 #include "assistantConnMsg.h"
22 
25 
26 namespace MAKRti
27 {
28  class DtInetAddr;
29 }
30 
31 typedef void (*DtAssistantWwwCompInfoCb)(const DtAssistantWwwCompInfoMsg& inter, void* usr);
32 
33 
39 {
40 
41 public:
42 
44  DtAssistantWwwCompInfoMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
45 
47  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
48 
50  virtual ~DtAssistantWwwCompInfoMsg();
51 
53  virtual DtAssistantMsg* clone(bool copy = true) const;
54 
56  virtual void setWebSpyIpAddress(const MAKRti::DtInetAddr& ipAddr);
57 
59  virtual MAKRti::DtInetAddr webSpyIpAddress() const;
60 
62  virtual void setWebSpyHttpPort(int port);
63 
65  virtual int webSpyHttpPort() const;
66 
68  virtual void setWebSpyRtiPort(int port);
69 
71  virtual int webSpyRtiPort() const;
72 
74  virtual void setLogFilename(const MAKRti::DtFilename& filename);
75 
77  virtual MAKRti::DtFilename logFilename() const;
78 
80  virtual void setNotifyLevel( DtNotifyLevelType level );
81 
83  virtual DtNotifyLevelType notifyLevel() const;
84 
86  virtual void printData() const;
87 
88 public:
89 
91  static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
92  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
93 
94  static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
95 
98  static void addCallback(DtRtiAssistantServer* conn, DtAssistantWwwCompInfoCb cb, void* usr);
99  static void removeCallback(DtRtiAssistantServer* conn, DtAssistantWwwCompInfoCb cb, void* usr);
100 
101 protected:
102 
104  virtual DtNetAssistantWwwCompInfoMsg* netAssistantWwwCompInfoMsg();
105  virtual const DtNetAssistantWwwCompInfoMsg* netAssistantWwwCompInfoMsg() const;
106 
109 
111  virtual int minSize() const;
112 
114  virtual void setLogFilenameSize( unsigned long size );
115  virtual unsigned long logFilenameSize() const;
116 
118  virtual const char* logFilenamePtr() const;
119  virtual char* logFilenamePtr();
120 
121 
122 
123 };
124 
125 #endif

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)