MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fixedGridInterDdmMgr.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: fixedGridInterDdmMgr.h,v $ $Revision: 1.3 $ $State: Exp $
7 *********************************************************************/
8 #ifndef fixedGridInterDataDistMgr_H_
9 #define fixedGridInterDataDistMgr_H_
10 #ifdef DDM
11 
14 
15 #include "rtiMsConfig.h"
16 #include "interMgr.h"
17 
19 class DtFomClassMgr;
20 class DtFixedGridRegion;
21 class DtFixedGridDataDistMgr;
22 
25 
26 class DT_DLL_LRC DtFixedGridInterDataDistMgr : public DtInteractionMgr
27 {
28 protected:
29 
31  DtFixedGridInterDataDistMgr(DtFederateMgr* fedMgrPtr);
32 
33 public:
34 
36  virtual ~DtFixedGridInterDataDistMgr();
37 
38 private:
39 
41  DtFixedGridInterDataDistMgr(DtFixedGridInterDataDistMgr const& );
42 
44  DtFixedGridInterDataDistMgr& operator= (DtFixedGridInterDataDistMgr const& );
45 
46 public:
47 
49  virtual DtFixedGridDataDistMgr* ddmMgr();
50 
52  virtual DtFixedGridDataDistMgr* ddmMgr() const;
53 
55  virtual void subscribe(
56  DtInteractionClassHandle theClass,
57  bool active);
58 
59 #ifdef DtIFSPEC1516
60  virtual void sendInteractionMsg(
62  DtInteractionClassHandle theClass,
63  const DtPhvps& theParams,
64  MAKRti::DtTransportType transportType,
65  MAKRti::DtOrderType orderType,
66  rti1516::LogicalTime const * theTime,
67  rti1516::VariableLengthData const & theTag,
68  unsigned long serialNumber,
69  DtHandle channel,
70  bool anonymous=false);
71 #elif defined(DtIFSPEC1516E)
72  virtual void sendInteractionMsg(
74  DtInteractionClassHandle theClass,
75  const DtPhvps& theParams,
76  MAKRti::DtTransportType transportType,
77  MAKRti::DtOrderType orderType,
78  rti1516e::LogicalTime const * theTime,
79  rti1516e::VariableLengthData const & theTag,
80  unsigned long serialNumber,
81  DtHandle channel,
82  bool anonymous=false);
83 #else
84  virtual void sendInteractionMsg(
86  DtInteractionClassHandle theClass,
87  const DtPhvps& theParams,
88  MAKRti::DtTransportType transportType,
89  MAKRti::DtOrderType orderType,
90  RTI::FedTime const * theTime,
91  const char* theTag,
92  unsigned long serialNumber,
93  DtHandle channel,
94  bool anonymous=false);
95 #endif
96 
98  virtual void deleteRegion(DtRegion& region);
99 
103  virtual void checkForRegionalSubscribe(DtInteractionClassInfo& info);
104 
108  virtual void checkForRegionalPublish(DtInteractionClassInfo& info);
109 
112  virtual void sendSubscribeMsg(DtInteractionClassHandle theInter, bool isPassive);
113 
116  virtual void sendPublishMsg(DtInteractionClassHandle theInter);
117 
120  virtual void sendUnsubscribeMsg(DtInteractionClassHandle theInter);
121 
124  virtual void sendUnpublishMsg(DtInteractionClassHandle theInter);
125 
126 protected:
127 
129  typedef std::set<DtFixedGridRegion*> DtFixedGridRegionSet;
130 
132  typedef std::map<DtInteractionClassHandle, DtFixedGridRegionSet>
133  DtFixedGridInteractionClassRegionMap;
134 
135 protected:
136 
138  DtFixedGridRegion* mySendRegion;
139 
141  DtFixedGridInteractionClassRegionMap myInteractionClassRegionMap;
142 
143 };
144 
145 #endif
146 #endif
147 
148 
149 
virtual void deleteRegion(Region *theRegion)
The declaration of the Interaction Manager class.
virtual void sendUnsubscribeMsg(DtInteractionClassHandle theInter, bool forSmartForwarding=false)
Send unsubscribe interaction message.
virtual void sendPublishMsg(DtInteractionClassHandle theInter)
Send publish interaction message.
DtHandle DtInteractionClassHandle
Definition: internalTypes.h:35
Instances of DtFederateMgr process federation-level messages (such as create, destroy, join, resign, and sync points) and manages the objects responsible for handling general communication, objects, interactions, the FOM, MOM, and data distribution mmg.
Definition: fedMgr.h:88
virtual void sendUnpublishMsg(DtInteractionClassHandle theInter)
Send unpublish interaction message.
virtual void subscribe(DtInteractionClassHandle theClass, bool active)
Process subscribe service call.
Instances of DtInteractionMgr manage the sending and receiving of interactions.
Definition: interMgr.h:45
virtual void sendInteractionMsg(DtInteractionClassHandle theClass, const DtPhvps &theParams, MAKRti::DtTransportType transportType, MAKRti::DtOrderType orderType, RTI::FedTime const *theTime, const char *theTag, unsigned long serialNumber, DtHandle channel, bool anonymous=false)
Send interaction message.
Definition: fomMgr.h:53
Definition: intClassInfo.h:41
unsigned long DtHandle
The internal types.
Definition: internalTypes.h:25
virtual void sendSubscribeMsg(DtInteractionClassHandle theInter, bool isPassive, DtFederateHandle fedHandle)
Send subscribe interaction message.
DtInteractionMgr & operator=(DtInteractionMgr const &other)
Assignment operator not implemented – Assignment not allowed!
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126

Document ID: Generated on Thu May 11 15:55:32 EDT 2023 from SVN revision 254743
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)