MAK RTIspy API Documentation for HLA Evolved
interDdmMgr1516e.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2010 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: interDdmMgr1516e.h,v $ $Revision: 1.0 $ $State: Exp $
00007 *********************************************************************/
00008 #ifndef interDdmMgr1516e_H_
00009 #define interDdmMgr1516e_H_
00010 
00013 
00014 #ifdef DDM
00015 #ifdef DtIFSPEC1516E
00016 
00017 #include "interDdmMgr.h"
00018 
00023 class DT_DLL_LRC DtInterDataDistMgr1516e : public DtInterDataDistMgr
00024 {
00025 protected:
00026 
00028     DtInterDataDistMgr1516e(DtFederateMgr* fedMgr);
00029 
00030 public:
00031 
00033     virtual ~DtInterDataDistMgr1516e();
00034 
00035 private:
00036 
00038     DtInterDataDistMgr1516e(DtInterDataDistMgr1516e const& other);
00039 
00041     DtInterDataDistMgr1516e& operator=(DtInterDataDistMgr1516e const& other);
00042 
00043 public:
00044 
00046     virtual void subscribe(
00047         DtInteractionClassHandle theClass,
00048         bool active);
00049 
00051     virtual void subscribeInteractionClassWithRegions (
00052         DtInteractionClassHandle theClass,
00053         rti1516e::RegionHandleSet const & theRegionHandleSet,
00054         bool active);
00055 
00057     virtual void unsubscribe(
00058         DtInteractionClassHandle theClass);
00059 
00061     virtual void unsubscribeInteractionClassWithRegions (
00062         DtInteractionClassHandle theClass,
00063         rti1516e::RegionHandleSet const & theRegionHandleSet);
00064 
00067     virtual unsigned long send(
00068         DtInteractionClassHandle theInteraction,
00069         const DtPhvps& params,
00070         rti1516e::RegionHandleSet const & theRegionHandleSet,
00071         rti1516e::LogicalTime const * theTime,
00072         rti1516e::VariableLengthData const & theTag,
00073         bool anonymous=false);
00074 
00075 public:
00076 
00078     static DtInteractionMgr* create(DtFederateMgr* fedMgr);
00079 
00080 protected:
00081 
00083     virtual void collectRegions(
00084         DtInteractionClassInfo const& classInfo,
00085         rti1516e::RegionHandleSet const & theRegionHandleSet,
00086         DtRegionEntryList & regionList);
00087 
00089     virtual void subscribeInteractionClassWithRegionActive(
00090         DtInteractionClassInfo* classDesc, DtRegionEntryList const& regionList);
00091     virtual void subscribeInteractionClassWithRegionPassive(
00092         DtInteractionClassInfo* classDesc, DtRegionEntryList const& regionList);
00093 
00095     virtual DtInteractionRegionSet& associateRegionForInteractions(
00096         DtRegionEntryList const& regionList, DtInteractionClassInfo& classDesc,
00097         bool anonymous=false);
00098 
00099 };
00100 
00101 #endif //! DtIFSPEC1516
00102 #endif //! DDM
00103 #endif //! interDdmMgr1516_H_
00104 
00105 
00106 

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)