MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
objDdmMgr13.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: objDdmMgr13.h,v $ $Revision: 1.9 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef objDdmMgr13_H_
10 #define objDdmMgr13_H_
11 #ifdef DDM
12 #ifdef DtIFSPEC13
13 
16 
17 #include "objDdmMgr.h"
18 
24 class DT_DLL_LRC DtObjectDataDistMgr13 : public DtObjectDataDistMgr
25 {
26 protected:
27 
29  DtObjectDataDistMgr13(DtFederateMgr* fedMgr);
30 
31 public:
32 
34  virtual ~DtObjectDataDistMgr13();
35 
36 private:
37 
39  DtObjectDataDistMgr13(DtObjectDataDistMgr13 const& );
40 
42  DtObjectDataDistMgr13& operator= (DtObjectDataDistMgr13 const& );
43 
44 public:
45 
47  virtual DtObjectInstanceHandle registerObjectInstanceWithRegion(
48  DtObjectClassHandle theClass,
49  DtAttributeHandle theAttributes[],
50  DtRegion13 *theRegions[],
51  unsigned long theNumberOfHandles,
52  const char *theObject);
53 
55  virtual void associateRegionForUpdates(
56  DtRegion& theRegion,
57  DtObjectInstanceHandle theObject,
58  const DtAttributeHandleSet& theAttributes);
59 
61  virtual void unassociateRegionForUpdates(
62  DtRegion& theRegion, DtObjectInstanceHandle theObject);
63 
65  virtual void subscribe(
66  DtObjectClassHandle theClass,
67  const DtAttributeHandleSet& attributeList,
68  bool active);
69 
71  virtual void subscribeObjectClassAttributesWithRegion (
72  DtObjectClassHandle theClass,
73  DtRegion &theRegion,
74  const DtAttributeHandleSet &attributeList,
75  bool active);
76 
78  virtual void unsubscribeClass(
79  DtObjectClassHandle theClass);
80 
82  virtual void unsubscribeObjectClassWithRegion (
83  DtObjectClassHandle theClass, DtRegion &theRegion);
84 
86  virtual void requestClassAttributeValueUpdateWithRegion (
87  DtObjectClassHandle theClass,
88  const DtAttributeHandleSet &theAttributes,
89  const DtRegion &theRegion);
90 
91 public:
92 
94  static DtObjectMgr* create(DtFederateMgr* fedMgr);
95 
96 protected:
97 
99  virtual bool isValidRegionContext(DtObjectClassInfo const& classDesc,
100  DtAttributeHandle attrHandle, DtDistributedRegion const& theRegion) const;
101 
104  virtual DtRegionEntryListWithAttributes* getRegionList(MAKRti::DtList& masterList,
105  DtRegionEntryListWithAttributes* seedList, DtRegionRealization* region);
106 
109  virtual void collectRegionLists(
110  DtRtiObject* object,
111  DtAttributeHandle theAttributes[],
112  DtRegion13 *theRegions[],
113  unsigned long theNumberOfHandles,
114  MAKRti::DtList& regionSets,
115  DtAttributeHandleSet& defaultAttrSet);
116 
119  virtual DtAttributeHandleSet pubAttributesToRemove(
120  DtRegionRealization& region, DtRtiObject& object,
121  const DtAttributeHandleSet& excludedAttrs);
122 
125  virtual DtAttributeHandleSet subAttributesToRemove(
126  DtRegionRealization& region, DtObjectClassInfo& classDesc,
127  const DtAttributeHandleSet& attributes);
128 
130  virtual void associateRegionToAttributes(
131  DtRegionRealization& theRegion,
132  DtRtiObject* obj,
133  const DtAttributeHandleSet& theAttributes);
134 
136  virtual void unassociateRegionFromAttributes(DtRegionRealization& theRegion,
137  DtRtiObject& theObject, const DtAttributeHandleSet& theAttributes);
138 
140  void subscribeObjectClassAttributesWithRegionActive(
141  DtObjectClassInfo* classDesc, DtRegionRealization* region,
142  const DtAttributeHandleSet &theAttributes);
143 
145  void subscribeObjectClassAttributesWithRegionPassive(
146  DtObjectClassInfo* classDesc, DtRegionRealization* region,
147  const DtAttributeHandleSet &theAttributes);
148 
150  virtual void unsubscribeObjectClassAttributesFromRegion (
151  DtObjectClassInfo& theClass,
152  DtRegionRealization& theRegion,
153  const DtAttributeHandleSet& theAttributes);
154 };
155 
156 #endif
157 #endif
158 #endif
159 
160 
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
Defines the internal representation of attribute/parameter handle sets.
Definition: attrHandSet.h:30
DtHandle DtObjectInstanceHandle
Definition: internalTypes.h:50
The RTI object maintains the internal RTI object state.
Definition: rtiObject.h:123
The object manager class processes the object management services.
Definition: objMgr.h:81
DtHandle DtAttributeHandle
Definition: internalTypes.h:54
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
Definition: objClassInfo.h:36

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)