Public Member Functions | |
virtual ARSTD::Command::PtrType | copy () const |
Static Public Member Functions | |
static PtrType | create (boost::shared_ptr< CSWEngine > &pEngine, const double &fHAngle, const double &fVAngle) |
static PtrType | create (boost::shared_ptr< CSWEngine > &pEngine, const Vector3D &vecDirection) |
CSWSetEngineDirectionCommand::PtrType CSWSetEngineDirectionCommand::create | ( | boost::shared_ptr< CSWEngine > & | pEngine, | |
const double & | fHAngle, | |||
const double & | fVAngle | |||
) | [static] |
Creates a new command that let the given engine change its direction.
pEngine | The engine which should change its direction. | |
fHAngle | The new horizontal angle. Positiv means rightward (in degree). | |
fVAngle | The new vertical angle. Positiv means upward (in degree). |
CSWSetEngineDirectionCommand::PtrType CSWSetEngineDirectionCommand::create | ( | boost::shared_ptr< CSWEngine > & | pEngine, | |
const Vector3D & | vecDirection | |||
) | [static] |
Creates a new command that let the given engine change its direction.
pEngine | The engine which should change its direction. | |
vecDirection | The new direction relative to its parent. |
ARSTD::Command::PtrType CSWSetEngineDirectionCommand::copy | ( | ) | const [virtual] |