MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantShmCompInfoMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantShmCompInfoMsg.h,v $ $Revision: 1.2 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef assistantShmCompInfoMsg_H_
10 #define assistantShmCompInfoMsg_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 (*DtAssistantShmCompInfoCb)(const DtAssistantShmCompInfoMsg& inter, void* usr);
32 
33 
39 {
40 
41 public:
42 
44  DtAssistantShmCompInfoMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
45 
47  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
48 
50  virtual ~DtAssistantShmCompInfoMsg();
51 
53  virtual DtAssistantMsg* clone(bool copy = true) const;
54 
56  virtual void setIpAddress(const MAKRti::DtInetAddr& ipAddr);
57 
59  virtual MAKRti::DtInetAddr ipAddress() const;
60 
62  virtual void setPort(int port);
63 
65  virtual int port() const;
66 
68  virtual void setLogFilename(const MAKRti::DtFilename& filename);
69 
71  virtual MAKRti::DtFilename logFilename() const;
72 
74  virtual void setNotifyLevel( DtNotifyLevelType level );
75 
77  virtual DtNotifyLevelType notifyLevel() const;
78 
80  virtual void printData() const;
81 
82 public:
83 
85  static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
86  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
87 
88  static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
89 
92  static void addCallback(DtRtiAssistantServer* conn, DtAssistantShmCompInfoCb cb, void* usr);
93  static void removeCallback(DtRtiAssistantServer* conn, DtAssistantShmCompInfoCb cb, void* usr);
94 
95 protected:
96 
98  virtual void setAddressFamily(MAKRti::DtInetUtils::DtInetAddrFamily fam);
99 
101  virtual MAKRti::DtInetUtils::DtInetAddrFamily addressFamily() const;
102 
104  virtual DtNetAssistantShmCompInfoMsg* netAssistantShmCompInfoMsg();
105  virtual const DtNetAssistantShmCompInfoMsg* netAssistantShmCompInfoMsg() 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
Definition: netAssistantMsgHdr.h:26
DtAssistantMsgKind
Definition: assistantMsg.h:54
Base class for assistant Messages.
Definition: assistantMsg.h:154
This file contains the declaration of DtNetAssistantShmCompInfoMsg.
virtual DtAssistantMsgKind internalMsgKind()=0
Network representation for the RTI Assistant Shm component information message.
Definition: netAssistantShmCompInfoMsg.h:19
#define DT_DLL_ASSISTANT
Default – Unix or Win32 static.
Definition: rtiMsConfig.h:150
Manages the server connections of the RTI Assistant.
Definition: rtiAssistantServer.h:45
virtual DtAssistantMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
This file contains the declaration of DtAssistantConnMsg.
virtual void printData() const
The DtAssistantShmCompInfoMsg defines a wrapper for the RTI Assistant component information message u...
Definition: assistantShmCompInfoMsg.h:38
void(* DtAssistantShmCompInfoCb)(const DtAssistantShmCompInfoMsg &inter, void *usr)
Definition: assistantShmCompInfoMsg.h:31

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)