#include <UnscheduleIPSA.h>
Public Member Functions | |
UnscheduleIPSA (IpsaSimulator *simulator, const std::string &code=std::string("unschedule")) | |
Protected Member Functions | |
virtual tExecResultType | vExecute (std::vector< std::string > &Instr, std::ostringstream &answer, unsigned int &numberOfReturnValues) |
Protected Attributes | |
IpsaSimulator * | ipsaSimulator |
Definition at line 37 of file UnscheduleIPSA.h.
UnscheduleIPSA::UnscheduleIPSA | ( | IpsaSimulator * | simulator, | |
const std::string & | code = std::string("unschedule") | |||
) | [inline] |
Definition at line 40 of file UnscheduleIPSA.h.
Instruction::tExecResultType UnscheduleIPSA::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 33 of file UnscheduleIPSA.cpp.
References SoWorldPhysics::ApplyActionToWorldPhysicNodesInGraph(), Instruction::eOK, IpsaSimulator::getSceneGraph(), ipsaSimulator, and SoWorldPhysics::UnscheduleWorldCB().
IpsaSimulator* UnscheduleIPSA::ipsaSimulator [protected] |
Generated on Sat Mar 10 20:00:21 2012 for IPSA by 1.5.8 |