MAK RTIspy API Documentation for HLA 1.3
interDdmMgr13.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2004 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: interDdmMgr13.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *********************************************************************/
00008 #ifndef interDdmMgr13_H_
00009 #define interDdmMgr13_H_
00010 
00014 
00015 
00016 #ifdef DDM
00017 #ifdef DtIFSPEC13
00018 
00019 #include "interDdmMgr.h"
00020 
00025 class DT_DLL_LRC DtInterDataDistMgr13 : public DtInterDataDistMgr
00026 {
00027 protected:
00028 
00030    DtInterDataDistMgr13(DtFederateMgr* fedMgr);
00031 
00032 public:
00033 
00035    virtual ~DtInterDataDistMgr13();
00036 
00037 private:
00038 
00040    DtInterDataDistMgr13(DtInterDataDistMgr13 const& other);
00041 
00043    DtInterDataDistMgr13& operator=(DtInterDataDistMgr13 const& other);
00044 
00045 public:
00047    virtual void subscribe(
00048       DtInteractionClassHandle theClass,
00049       bool active);
00050 
00052    virtual void subscribeInteractionClassWithRegion(
00053       DtInteractionClassHandle theClass,
00054       DtRegion &theRegion,
00055       bool active);
00056 
00058    virtual void unsubscribe(
00059       DtInteractionClassHandle theClass);
00060 
00062    virtual void unsubscribeInteractionClassWithRegion (
00063       DtInteractionClassHandle theClass,
00064       DtRegion &theRegion);
00065 
00068    virtual unsigned long send(
00069       DtInteractionClassHandle theInteraction,
00070       const DtPhvps& params,
00071       RTI::FedTime const * theTime,
00072       char const * theTag,
00073       DtRegion& theRegion,
00074       bool anonymous=false);
00075 
00076 public:
00077 
00079    static DtInteractionMgr* create(DtFederateMgr* fedMgr);
00080 
00081 protected:
00082 
00084    virtual bool isValidRegionContext(DtInteractionClassInfo const& classInfo,
00085       DtDistributedRegion const& region) const;
00086 
00088    virtual void subscribeInteractionClassWithRegionActive(
00089       DtInteractionClassInfo* classDesc, DtRegionRealization* region);
00090    virtual void subscribeInteractionClassWithRegionPassive(
00091       DtInteractionClassInfo* classDesc, DtRegionRealization* region);
00092 
00094    virtual DtInteractionRegionSet& associateRegionForInteractions(
00095       DtRegionRealization &region, DtInteractionClassInfo& classDesc,
00096       bool anonymous);
00097 
00098 };
00099 
00100 #endif //! !DtIFSPEC1516
00101 #endif //! DDM
00102 #endif //! interDdmMgr13_H_

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)