![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtSharedVrvCommandSettings.h,v $ $Revision: 95512 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 #pragma once 00013 00014 #include <vrvCore/vrvCore.h> 00015 #include <vrvCore/DtVrvCommand.h> 00016 00017 #include <vrvCore/DtSharedSettings.h> 00018 #include <vrvCore/DtUniqueID.h> 00019 00020 #include <string> 00021 #include <vector> 00022 00023 namespace makVrv 00024 { 00027 class DT_DLL_VRVCORE DtSharedVrvCommandSettings : public DtSharedSettings 00028 { 00029 public: 00030 00031 typedef std::map<vrvControlToolkit::DtVrvControlTypeEnum, DtVrvBaseCommandCreatorSeed*> DtVrvCommandSeedMap; 00032 00035 friend class DtReadSettingsLock<DtSharedVrvCommandSettings>; 00036 friend class DtWriteSettingsLock<DtSharedVrvCommandSettings>; 00037 friend class DtSharedSettingsManager; 00038 00042 static std::string className(); 00043 00045 virtual ~DtSharedVrvCommandSettings(); 00046 00048 virtual DtVrvCommandSeedMap& seedMap(); 00049 00050 // const version for read settings lock 00051 virtual const DtVrvCommandSeedMap& seedMap() const; 00052 00053 protected: 00054 00056 DtSharedVrvCommandSettings(DtSharedSettingsManager& manager); 00057 00058 DtVrvCommandSeedMap myVrvCommandSeedMap; 00059 }; 00060 00061 } //makVrv::