#include <CSWVariousCommands.h>
Public Member Functions | |
virtual ARSTD::Command::PtrType | copy () const |
![]() | |
virtual std::string | getName () const |
![]() | |
virtual PtrType | copy () const =0 |
virtual std::string | getName () const =0 |
virtual bool | wasExecuted () const |
virtual double | getProgress () const |
Static Public Member Functions | |
static PtrType | create (std::shared_ptr< CSWEngine > &pEngine, const double &fIntensity) |
This is a specialization of a command. It provides the functionality to set the intensity of an engine.
|
virtual |
|
static |
Creates a new command that let the given engine change its intensity.
pEngine | The engine which should change its intensity. |
fIntensity | The new intensity in range [-1, 1]. |