MAK RTIspy API Documentation for HLA 1.3
fixedGridObjDdmMgr1516e.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: fixedGridObjDdmMgr1516e.h,v $ $Revision: 1.0 $ $State: Exp $
00007 *********************************************************************/
00008 
00009 #ifndef fixedGridObjDdmMgr1516e_H_
00010 #define fixedGridObjDdmMgr1516e_H_
00011 #ifdef DDM
00012 #ifdef DtIFSPEC1516E
00013 
00018 
00019 #include "fixedGridObjDdmMgr.h"
00020 
00023 
00024 class DT_DLL_LRC DtFixedGridObjectDataDistMgr1516e : public DtFixedGridObjectDataDistMgr
00025 {
00026 protected:
00027 
00029     DtFixedGridObjectDataDistMgr1516e(DtFederateMgr* fedMgrPtr);
00030 
00031 public:
00032 
00034     virtual ~DtFixedGridObjectDataDistMgr1516e();
00035 
00036 private:
00037 
00039     DtFixedGridObjectDataDistMgr1516e(DtFixedGridObjectDataDistMgr1516e const& );
00040 
00042     DtFixedGridObjectDataDistMgr1516e& operator= (DtFixedGridObjectDataDistMgr1516e const& );
00043 
00044 public:
00045 
00047     virtual DtObjectInstanceHandle registerObjectInstanceWithRegions (
00048         DtObjectClassHandle theClass,
00049         rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
00050         theAttributeRegionPairs,
00051         const char * theObjectInstanceName=NULL);
00052 
00054     virtual void associateRegionsForUpdates (
00055         DtObjectInstanceHandle theObject, 
00056         rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
00057         theAttributeRegionPairs);
00058 
00060     virtual void unassociateRegionsForUpdates (
00061         DtObjectInstanceHandle theObject,
00062         rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
00063         theAttributeRegionPairs);
00064 
00066     virtual void subscribeObjectClassAttributesWithRegions (
00067         DtObjectClassHandle theClass,
00068         rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
00069         theAttributeRegionPairs,
00070         bool active);
00071 
00073     virtual void unsubscribeObjectClassAttributesWithRegions (
00074         DtObjectClassHandle theClass,
00075         rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
00076         theAttributeRegionPairs);
00077 
00079     virtual void requestAttributeValueUpdateWithRegions (
00080         DtObjectClassHandle theClass,
00081         rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
00082         theAttributeRegionPairs,
00083         rti1516e::VariableLengthData const & theUserSuppliedTag);
00084 
00085 
00086 public:
00087 
00089     static DtObjectMgr* create(DtFederateMgr* fedMgrPtr);
00090 
00091 protected:
00092 
00094     virtual void calculateRegionSet(
00095         unsigned long channel, rti1516e::RegionHandleSet & regionHandles);
00096 
00104     virtual DtFixedGridRegion* getRegionAndValidateRegionSet(
00105         DtFixedGridRegion* candidateRegion,
00106         rti1516e::RegionHandleSet const &regionHandleSet);
00107 
00110     void validateAndAddRegionSet(
00111         DtFixedGridRegionSet& targetRegionSet,
00112         rti1516e::RegionHandleSet const &sourceRegionSet);
00113 
00114 };
00115 
00116 #endif //! DtIFSPEC1516
00117 #endif //! DDM
00118 #endif //! fixedGridObjDdmMgr1516_H_
00119 
00120 

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)