![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtSpotReportDataHandler.h,v $ $Revision: 1.12 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00017 00018 #pragma once 00019 00020 #include <vrfGuiCore/vrfGuiCore.h> 00021 #include <vrfGuiCore/DtSpotReportState.h> 00022 00023 #include <vrvUtil/signalslib.h> 00024 #include <vrvCore/DtUniqueID.h> 00025 00026 namespace makVrv 00027 { 00028 class DtDe; 00029 } 00030 00031 namespace makVrf 00032 { 00033 class DtSpotReportHandler; 00034 class DtSpotReportDataHandlerCreatorInterface; 00035 class DtSpotReportStateObjectAgent; 00036 00037 class DT_DLL_VRFGUICORE DtSpotReportDataHandler 00038 { 00039 public: 00040 DtSpotReportDataHandler(makVrv::DtDe&, makVrv::DtUniqueID); 00041 virtual ~DtSpotReportDataHandler(); 00042 00046 virtual void update(void*) = 0; 00047 00049 virtual bool objectEntryRemoved(makVrv::DtUniqueID) = 0; 00050 00051 virtual void updateState(DtSpotReportState&); 00052 00053 makVrv::DtUniqueID uniqueId() const 00054 { 00055 return myUniqueID; 00056 } 00057 00058 protected: 00059 makVrv::DtUniqueID myUniqueID; 00060 makVrv::DtDe& myDe; 00061 DtSpotReportStateObjectAgent* myAgent; 00062 }; 00063 00064 class DT_DLL_VRFGUICORE DtSpotReportDataHandlerCreatorInterface 00065 { 00066 public: 00067 virtual ~DtSpotReportDataHandlerCreatorInterface(); 00068 00069 virtual DtSpotReportDataHandler* create(makVrv::DtDe&, makVrv::DtUniqueID) = 0; 00070 }; 00071 }