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(DtInteractionClassHandle theClass, bool active);
56 
58  virtual void sendInteractionMsg(
59  DtInteractionClassHandle theClass,
60  const DtPhvps& theParams,
61  MAKRti::DtTransportType transportType,
62  MAKRti::DtOrderType orderType,
63  DtRtiApiTime const * theTime,
64  DtRtiApiTagConstRef theTag,
65  unsigned long serialNumber,
66  DtHandle channel,
67  bool anonymous = false);
68 
70  virtual void deleteRegion(DtRegion& region);
71 
76 
81 
84  virtual void sendSubscribeMsg(DtInteractionClassHandle theInter, bool isPassive);
85 
88  virtual void sendPublishMsg(DtInteractionClassHandle theInter);
89 
92  virtual void sendUnsubscribeMsg(DtInteractionClassHandle theInter);
93 
96  virtual void sendUnpublishMsg(DtInteractionClassHandle theInter);
97 
98 protected:
99 
101  typedef std::set<DtFixedGridRegion*> DtFixedGridRegionSet;
102 
104  typedef std::map<DtInteractionClassHandle, DtFixedGridRegionSet>
105  DtFixedGridInteractionClassRegionMap;
106 
107 protected:
108 
110  DtFixedGridRegion* mySendRegion;
111 
113  DtFixedGridInteractionClassRegionMap myInteractionClassRegionMap;
114 
115 };
116 
117 #endif
118 #endif
119 
120 
121 
virtual void deleteRegion(Region *theRegion)
The declaration of the Interaction Manager class.
virtual void checkForRegionalSubscribe(DtInteractionClassInfo &info)
The empty methods below are overridden in the DtInterDataDistMgr and help implement DDM...
Definition: interMgr.h:286
virtual void checkForRegionalPublish(DtInteractionClassInfo &info)
When subscribing, check whether region publication info needs to get sent to other LRCs/rtiexec along...
Definition: interMgr.h:290
virtual void sendUnsubscribeMsg(DtInteractionClassHandle theInter, bool forSmartForwarding=false)
Send unsubscribe interaction message.
virtual void sendPublishMsg(DtInteractionClassHandle theInter)
Send publish interaction message.
RTI_API::LogicalTime DtRtiApiTime
Typedefs for RTI API types that frequently require conditional precompile directives.
Definition: rtiApiTypes.h:91
DtHandle DtInteractionClassHandle
Definition: internalTypes.h:52
DtRtiApiVariableLengthData const & DtRtiApiTagConstRef
Definition: rtiApiTypes.h:98
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:93
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:46
Definition: fomMgr.h:49
Definition: intClassInfo.h:40
unsigned long DtHandle
The internal types.
Definition: internalTypes.h:41
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:155
Definition: pHandValSet.h:38
virtual void sendInteractionMsg(DtInteractionClassHandle theClass, const DtPhvps &theParams, MAKRti::DtTransportType transportType, MAKRti::DtOrderType orderType, DtRtiApiTime const *theTime, DtRtiApiTagConstRef theTag, unsigned long serialNumber, DtHandle channel, bool anonymous=false)
Send interaction message.

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)