![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2012 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtSpotReportDataInterface.h,v $ $Revision: 1.4 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrfGuiCore/vrfGuiCore.h> 00017 #include <vrfGuiCore/DtObjectDataInterface.h> 00018 #include <vrfGuiCore/DtVrfSpotReportDataHandler.h> 00019 00020 namespace makVrf 00021 { 00028 class DT_DLL_VRFGUICORE DtSpotReportDataInterface : public DtObjectDataInterface 00029 { 00030 public: 00031 DtSpotReportDataInterface(makVrv::DtDe&); 00032 virtual ~DtSpotReportDataInterface(); 00033 00035 virtual makVrv::DtElementEntry::ElementType type() const; 00036 00038 makVrv::DtStateView<DtSpotReportState>* spotReportStateView() const 00039 { 00040 return mySpotReportStateView; 00041 } 00042 00044 virtual DtVector location(Representation rep = Local) const; 00045 00047 virtual std::string name() const; 00048 00050 virtual DtTaitBryan orientation(Representation rep = Local) const; 00051 00053 virtual std::string entityType() const; 00054 00056 virtual DtVector velocity(Representation rep = Local) const; 00057 00059 virtual DtVector acceleration(Representation rep = Local) const; 00060 00062 virtual double heading() const; 00063 00065 virtual void setStateView(const makVrv::DtStateView<makVrv::DtSimState>*); 00066 00067 protected: 00069 virtual void slot_simObjectEntryAboutToBeRemoved(makVrv::DtSimObjectEntry&); 00070 00071 protected: 00072 makVrv::DtStateView<DtSpotReportState>* mySpotReportStateView; 00073 }; 00074 00075 typedef DtObjectDataInterfaceCreator<DtSpotReportDataInterface> DtSpotReportDataInterfaceCreator; 00076 00077 typedef DtBoost::shared_ptr<DtSpotReportDataInterface> DtSpotReportDataInterfacePtr; 00078 }