MAK RTIspy API Documentation for HLA 1.3
interDdmMgr1516.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2004 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: interDdmMgr1516.h,v $ $Revision: 1.7 $ $State: Exp $
00007 *********************************************************************/
00008 #ifndef interDdmMgr1516_H_
00009 #define interDdmMgr1516_H_
00010 
00013 
00014 #ifdef DDM
00015 #ifdef DtIFSPEC1516
00016 
00017 #include "interDdmMgr.h"
00018 
00023 class DT_DLL_LRC DtInterDataDistMgr1516 : public DtInterDataDistMgr
00024 {
00025 protected:
00026 
00028    DtInterDataDistMgr1516(DtFederateMgr* fedMgr);
00029 
00030 public:
00031 
00033    virtual ~DtInterDataDistMgr1516();
00034 
00035 private:
00036 
00038    DtInterDataDistMgr1516(DtInterDataDistMgr1516 const& other);
00039 
00041    DtInterDataDistMgr1516& operator=(DtInterDataDistMgr1516 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       rti1516::RegionHandleSet const & theRegionHandleSet,
00054       bool active);
00055 
00057    virtual void unsubscribe(
00058       DtInteractionClassHandle theClass);
00059 
00061    virtual void unsubscribeInteractionClassWithRegions (
00062       DtInteractionClassHandle theClass,
00063       rti1516::RegionHandleSet const & theRegionHandleSet);
00064 
00067    virtual unsigned long send(
00068       DtInteractionClassHandle theInteraction,
00069       const DtPhvps& params,
00070       rti1516::RegionHandleSet const & theRegionHandleSet,
00071       rti1516::LogicalTime const * theTime,
00072       rti1516::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       rti1516::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)