![]() |
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 #include <vrvVrl/vrvVrl.h> 00017 00018 namespace makVrv 00019 { 00022 class DT_DLL_VRVVRL DtTacticalGraphicsCommand : public DtVrvCommand 00023 { 00024 public: 00025 DtTacticalGraphicsCommand(); 00026 virtual ~DtTacticalGraphicsCommand(); 00027 00028 virtual bool isEnabled() const; 00029 virtual void setEnabled(bool state); 00030 00031 virtual void execute(DtDe& de); 00032 00033 protected: 00034 bool myState; 00035 }; 00036 00039 class DT_DLL_VRVVRL DtTacticalGraphicsCommandCreator : public DtVrvCommandCreator 00040 { 00041 public: 00042 DtTacticalGraphicsCommandCreator(GlobalIdConvertFunc func): DtVrvCommandCreator(func) {} 00043 virtual ~DtTacticalGraphicsCommandCreator() {} 00044 00045 virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control); 00046 }; 00047 } //makVrv::