ddmEntityPublisher.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2010 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00008 
00009 #ifndef lgrHlaDdmEntityPublisher_H_
00010 #define lgrHlaDdmEntityPublisher_H_
00011 
00012 #if DtHLA
00013 
00014 #include "lgrHlaEntityPublisher.h"
00015 #include <vl/region.h>
00016 
00017 namespace MAKLogger
00018 {
00019 
00020    class DtLgrHlaSimulationManager;
00021 
00024    class DtLgrHlaDdmEntityPublisher : public DtLgrHlaEntityPublisher
00025    {
00026    public:
00027 
00031       DtLgrHlaDdmEntityPublisher(DtLgrHlaSimulationManager& simMgr, RTI::ObjectClassHandle classHandle,
00032          const char* objName, const DtDDMRegionSet* regionSetToUse,
00033          double hbtime=0.0, bool silent=false, bool stat=true);
00034 
00036       virtual ~DtLgrHlaDdmEntityPublisher();
00037 
00043       virtual bool updateRegion(const DtStateMsg& msg);
00044 
00045    public:
00046 
00047       static DtLgrHlaEntityPublisher* create(DtLgrHlaSimulationManager& simMgr,
00048          RTI::ObjectClassHandle classHandle, const char* objName,
00049          const DtDDMRegionSet* regionSetToUse, double hbtime=0.0,
00050          bool silent=false, bool stat=true);
00051 
00052    protected:
00053 
00055       DtLgrHlaDdmEntityPublisher(const DtLgrHlaDdmEntityPublisher &other);
00056 
00058       DtLgrHlaDdmEntityPublisher &operator=(const DtLgrHlaDdmEntityPublisher &other);
00059 
00060    protected:
00061 
00062       DtDDMRegionSP myLgrRegion;
00063 
00064    };
00065 
00066 }
00067 
00068 #endif   //! DtHLA
00069 
00070 #endif   //! lgrHlaDdmEntityPublisher_H_
00071 

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)