![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtVrfSpotReportDataHandler.h,v $ $Revision: 1.12 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00013 00014 #pragma once 00015 00016 #include <vrfGuiCore/vrfGuiCore.h> 00017 #include <vrfGuiCore/DtSpotReportDataHandler.h> 00018 00019 namespace makVrf 00020 { 00021 struct DT_DLL_VRFGUICORE DtVrfSpotReportState : public DtSpotReportState 00022 { 00023 public: 00024 virtual void addObservedBy(makVrv::DtUniqueID s); 00025 virtual void removeObservedBy(makVrv::DtUniqueID s); 00026 virtual bool observedBy(makVrv::DtUniqueID s) const; 00027 virtual std::vector<makVrv::DtUniqueID> observedBy() const; 00028 00029 DtVrfSpotReportState& operator=(const DtSpotReportState& rhs); 00030 }; 00031 00032 class DT_DLL_VRFGUICORE DtVrfSpotReportDataHandler : public DtSpotReportDataHandler 00033 { 00034 public: 00035 DtVrfSpotReportDataHandler(makVrv::DtDe&, makVrv::DtUniqueID); 00036 virtual ~DtVrfSpotReportDataHandler(); 00037 00038 virtual void update(void*); 00039 virtual bool objectEntryRemoved(makVrv::DtUniqueID); 00040 00041 static std::string handlerType(); 00042 00043 protected: 00044 DtVrfSpotReportState mySpotState; 00045 makVrv::DtUniqueID myContactId; 00046 }; 00047 00048 class DT_DLL_VRFGUICORE DtVrfSpotReportDataHandlerCreator : public DtSpotReportDataHandlerCreatorInterface 00049 { 00050 public: 00051 virtual ~DtVrfSpotReportDataHandlerCreator(); 00052 00053 virtual DtSpotReportDataHandler* create(makVrv::DtDe&, makVrv::DtUniqueID); 00054 }; 00055 }