MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rtiShmQNetMgr.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2005 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: rtiShmQNetMgr.h,v $ $Revision: 1.10 $ $State: Exp $
7 *********************************************************************/
10 
11 #ifndef DtRtiShmQNetMgr_H_
12 #define DtRtiShmQNetMgr_H_
13 
14 
15 #include "rtiMsConfig.h"
16 #include "asyConMgr.h"
17 #include <vlutil/vlThread.h>
18 #include "RIDparams.h"
19 #include "multicastDiscoveryMgr.h"
20 
21 #include <vlutil/vlSelectParamW.h>
22 #include <vlutil/vlHashlist.h>
23 
24 #include <vector>
25 
28 class DtRtiMsg;
29 class DtMessageFilter;
30 class DtSmConnectionMgr;
31 
41 {
42 protected:
43 
45  DtRtiShmQNetMgr( DtRIDParameters * params );
46 
47 public:
48 
50  virtual ~DtRtiShmQNetMgr();
51 
55  virtual int init(DtRIDParameters* params);
56 
59  virtual void setSmConnMgr( DtSmConnectionMgr *smConnMgr );
60 
62  virtual void enrollSmFederate( DtFederateHandle federateHandle, int fedExHandle );
63  virtual void dropSmFederate( DtFederateHandle federateHandle, int fedExHandle );
64 
65 protected:
66 
68  DtRtiShmQNetMgr( const DtRtiShmQNetMgr& orig );
70 
73  virtual bool processConnection( DtRtiConnection* conn, MAKRti::DtTransportType trans );
74  virtual DtNetReadStatus processMsg( const DtRtiMsg& msg );
75 
77  virtual void applyOutboundMsgFilters( DtRtiMsg *msg );
78  virtual DtNetReadStatus filterReliableLoopbacks( const DtRtiMsg& msg );
79 
82 
84 
85  virtual bool performMulticastDiscovery();
86 
87 public:
88 
93 
94 protected:
95 
98  MAKRti::DtInetAddr myHostIpAddr;
99  unsigned int myPort;
101 
104 
109  typedef std::multimap< DtFederateHandle, int > DtFedHandleToFedExHandleMap;
111 
115  typedef std::map< int, DtBitMask* > DtRouteMaskFilterByFedexHandle;
116  typedef std::map< MAKRti::DtString, DtBitMask* > DtRouteMaskFilterByFedexName;
117 
120 
121 };
122 
123 #endif
124 

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)