#include <SetJointSpeed.h>
Public Member Functions | |
SetJointSpeed (const std::string &code=std::string("jointspeed <nodename> <velocity>")) | |
Protected Member Functions | |
virtual tExecResultType | vExecute (std::vector< std::string > &Instr, std::ostringstream &answer, unsigned int &numberOfReturnValues) |
Definition at line 36 of file SetJointSpeed.h.
SetJointSpeed::SetJointSpeed | ( | const std::string & | code = std::string("jointspeed <nodename> <velocity>") |
) | [inline] |
Definition at line 39 of file SetJointSpeed.h.
Instruction::tExecResultType SetJointSpeed::vExecute | ( | std::vector< std::string > & | Instr, | |
std::ostringstream & | answer, | |||
unsigned int & | numberOfReturnValues | |||
) | [protected, virtual] |
Virtual method which must be overridden by any subclass. It does the "real" execution of the command and is called by Instruction::findAndExecute().
Instr | instruction vector which is build like Instruction::instrdata of the specific subclass of Instruction | |
answer | a stringstream where the answer of Instruction::vExecute() gets written to | |
numberOfReturnValues | tells the method how many values should be stored in answer . |
Reimplemented from Instruction.
Definition at line 31 of file SetJointSpeed.cpp.
References Instruction::eJOINT_NOT_FOUND, Instruction::eJOINT_TYPE_INCOMPATIBLE, Instruction::eOK, SoJointSlider::Velocity, SoJointHinge2::Velocity, and SoJointHinge::Velocity.
Generated on Sat Mar 10 20:00:20 2012 for IPSA by 1.5.8 |