![]() |
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 DtMuzzleFlashesCommand : public DtVrvCommand 00022 { 00023 public: 00024 DtMuzzleFlashesCommand(); 00025 virtual ~DtMuzzleFlashesCommand(); 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 }; 00035 00038 class DT_DLL_VRVCORE DtMuzzleFlashesCommandCreator : public DtVrvCommandCreator 00039 { 00040 public: 00041 DtMuzzleFlashesCommandCreator(GlobalIdConvertFunc func): DtVrvCommandCreator(func) {} 00042 virtual ~DtMuzzleFlashesCommandCreator() {} 00043 00044 virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control); 00045 }; 00046 } //makVrv::