![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: $ $Revision: 95512 $ $State: $ 00007 *******************************************************************************/ 00008 00012 00013 #pragma once 00014 00015 #include <vrvCore/DtVrvCommand.h> 00016 00017 namespace makVrv 00018 { 00021 class DT_DLL_VRVCORE DtRemoteGraphicSetCommand : public DtVrvCommand 00022 { 00023 public: 00024 DtRemoteGraphicSetCommand(); 00025 virtual ~DtRemoteGraphicSetCommand(); 00026 00027 virtual std::string remoteGraphicSetName() const; 00028 virtual void setRemoteGraphicSetName(const std::string& name); 00029 00030 virtual bool isEnabled() const; 00031 virtual void setEnabled(bool state); 00032 00033 virtual bool appliesToAttribute() const; 00034 virtual void setAppliesToAttribute(bool yesNo); 00035 00036 virtual void execute(DtDe& de); 00037 00038 protected: 00039 std::string mySetName; 00040 bool myState; 00041 bool myAppliesToAttribute; 00042 }; 00043 00046 class DT_DLL_VRVCORE DtRemoteGraphicsSetCommandCreator : public DtVrvCommandCreator 00047 { 00048 public: 00049 DtRemoteGraphicsSetCommandCreator(GlobalIdConvertFunc func): DtVrvCommandCreator(func) {} 00050 virtual ~DtRemoteGraphicsSetCommandCreator() {} 00051 00052 virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control); 00053 }; 00054 00055 } //makVrv::