MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
forwarderNodeInfoProcessor.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2007 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: forwarderNodeInfoProcessor.h,v $ $Revision: 1.7 $ $State: Exp $
7 *********************************************************************/
10 
11 #ifndef DtForwarderNodeInfoProcessor_H_
12 #define DtForwarderNodeInfoProcessor_H_
13 
14 #include "forwarderNode.h"
15 #include "routeMap.h"
16 #include "rtiMsConfig.h"
17 #include "forwarderNodeInfoMsg.h"
18 
19 #include <vlutil/vlUtil.h>
20 #include <vlutil/vlSmartPointers.h>
21 #include <map>
22 #include <set>
23 #include <list>
24 
27 
35 {
36 public:
38  typedef bool (DtForwarderNodeInfoProcessor::* forwarderNodeInfoMsgHandlerMemberCb)(
40 
42  DtForwarderNodeInfoProcessor( std::shared_ptr<DtForwarderNode> parent );
43 
46 
48  virtual bool processForwarderNodeMsg( const DtForwarderPort::DtAddressMsgPair& msg );
49 
50 public:
51 
56  static int lostConnection( const MAKRti::DtString& connName, const MAKRti::DtString& hostName,
57  unsigned int connID, const std::pair<DtInetAddrAndPort, DtInetAddrAndPort>& addr, void* usr);
58 
59 protected:
60 
62  virtual int lostConnection( const MAKRti::DtString& connName, const MAKRti::DtString& hostName,
63  unsigned int connID, const std::pair<DtInetAddrAndPort, DtInetAddrAndPort>& addr);
64 
65 
66 protected:
67 
68  std::shared_ptr<DtForwarderNode> myParent;
70 
71 
72  MAKRti::DtString myNodeName;
73  MAKRti::DtString myHostName;
74  unsigned long myConnId;
76 
77 };
78 
79 #endif
80 
std::pair< MAKRti::DtInetAddr, int > DtInetAddrAndPort
Definition: rtiUtil.h:148
MAKRti::DtString myHostName
Definition: forwarderNodeInfoProcessor.h:73
std::pair< DtInetAddrAndPort, DtForwarderMsg > DtAddressMsgPair
Definition: forwarderPort.h:59
unsigned long myConnId
Definition: forwarderNodeInfoProcessor.h:74
MAKRti::DtString myNodeName
Definition: forwarderNodeInfoProcessor.h:72
std::shared_ptr< DtForwarderNode > myParent
Definition: forwarderNodeInfoProcessor.h:68
DtInetAddrAndPort myIp
Definition: forwarderNodeInfoProcessor.h:75
The DtForwarderNodeInfoMsg defines a msg for a client to report the results of a latency test...
Definition: forwarderNodeInfoMsg.h:88
#define DT_DLL_FORWARDER
Definition: rtiMsConfig.h:153
DtForwarderNodeInfoFilter * myInitializationMsgsFilter
Definition: forwarderNodeInfoProcessor.h:69
Simple message processing filter which forwards forwarderNode Info to its parent processor.
Definition: forwarderNodeInfoFilter.h:23
The DtForwarderNodeInfoProcessor class registers filters for ForwarderNodeInfo messages ...
Definition: forwarderNodeInfoProcessor.h:34

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)