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