MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fixedGridObjDdmMgr1516e.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: fixedGridObjDdmMgr1516e.h,v $ $Revision: 1.0 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef fixedGridObjDdmMgr1516e_H_
10 #define fixedGridObjDdmMgr1516e_H_
11 #ifdef DDM
12 #ifdef DtIFSPEC1516E
13 
18 
19 #include "fixedGridObjDdmMgr.h"
20 
23 
24 class DT_DLL_LRC DtFixedGridObjectDataDistMgr1516e : public DtFixedGridObjectDataDistMgr
25 {
26 protected:
27 
29  DtFixedGridObjectDataDistMgr1516e(DtFederateMgr* fedMgrPtr);
30 
31 public:
32 
34  virtual ~DtFixedGridObjectDataDistMgr1516e();
35 
36 private:
37 
39  DtFixedGridObjectDataDistMgr1516e(DtFixedGridObjectDataDistMgr1516e const& );
40 
42  DtFixedGridObjectDataDistMgr1516e& operator= (DtFixedGridObjectDataDistMgr1516e const& );
43 
44 public:
45 
47  virtual DtObjectInstanceHandle registerObjectInstanceWithRegions (
48  DtObjectClassHandle theClass,
50  theAttributeRegionPairs,
51  const char * theObjectInstanceName=NULL);
52 
54  virtual void associateRegionsForUpdates (
55  DtObjectInstanceHandle theObject,
57  theAttributeRegionPairs);
58 
60  virtual void unassociateRegionsForUpdates (
61  DtObjectInstanceHandle theObject,
63  theAttributeRegionPairs);
64 
66  virtual void subscribeObjectClassAttributesWithRegions (
67  DtObjectClassHandle theClass,
69  theAttributeRegionPairs,
70  bool active);
71 
73  virtual void unsubscribeObjectClassAttributesWithRegions (
74  DtObjectClassHandle theClass,
76  theAttributeRegionPairs);
77 
79  virtual void requestAttributeValueUpdateWithRegions (
80  DtObjectClassHandle theClass,
82  theAttributeRegionPairs,
83  rti1516e::VariableLengthData const & theUserSuppliedTag);
84 
85 
86 public:
87 
89  static DtObjectMgr* create(DtFederateMgr* fedMgrPtr);
90 
91 protected:
92 
94  virtual void calculateRegionSet(
95  unsigned long channel, rti1516e::RegionHandleSet & regionHandles);
96 
104  virtual DtFixedGridRegion* getRegionAndValidateRegionSet(
105  DtFixedGridRegion* candidateRegion,
106  rti1516e::RegionHandleSet const &regionHandleSet);
107 
110  void validateAndAddRegionSet(
111  DtFixedGridRegionSet& targetRegionSet,
112  rti1516e::RegionHandleSet const &sourceRegionSet);
113 
114 };
115 
116 #endif
117 #endif
118 #endif
119 
120 
std::set< RegionHandle > RegionHandleSet
Definition: Typedefs.h:31
DtHandle DtObjectClassHandle
Definition: internalTypes.h:48
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
DtHandle DtObjectInstanceHandle
Definition: internalTypes.h:50
The object manager class processes the object management services.
Definition: objMgr.h:81
std::vector< AttributeHandleSetRegionHandleSetPair > AttributeHandleSetRegionHandleSetPairVector
Definition: Typedefs.h:49
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155

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)