MAK RTIspy API Documentation for HLA 1.3
fixedGridObjDdmMgr1516.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: fixedGridObjDdmMgr1516.h,v $ $Revision: 1.3 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef fixedGridObjDdmMgr1516_H_
10 #define fixedGridObjDdmMgr1516_H_
11 #ifdef DDM
12 #ifdef DtIFSPEC1516
13 
18 
19 #include "fixedGridObjDdmMgr.h"
20 
23 
24 class DT_DLL_LRC DtFixedGridObjectDataDistMgr1516 : public DtFixedGridObjectDataDistMgr
25 {
26 protected:
27 
29  DtFixedGridObjectDataDistMgr1516(DtFederateMgr* fedMgrPtr);
30 
31 public:
32 
34  virtual ~DtFixedGridObjectDataDistMgr1516();
35 
36 private:
37 
39  DtFixedGridObjectDataDistMgr1516(DtFixedGridObjectDataDistMgr1516 const& );
40 
42  DtFixedGridObjectDataDistMgr1516& operator= (DtFixedGridObjectDataDistMgr1516 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  rti1516::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, rti1516::RegionHandleSet & regionHandles);
96 
104  virtual DtFixedGridRegion* getRegionAndValidateRegionSet(
105  DtFixedGridRegion* candidateRegion,
106  rti1516::RegionHandleSet const &regionHandleSet);
107 
110  void validateAndAddRegionSet(
111  DtFixedGridRegionSet& targetRegionSet,
112  rti1516::RegionHandleSet const &sourceRegionSet);
113 
114 };
115 
116 #endif
117 #endif
118 #endif
119 
120 

Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (www.mak.com)