#include <ListBody2BodyForces.h>
Public Member Functions | |
ListBody2BodyForces (IpsaViewer *viewer, const std::string &code=std::string("getb2bforces <nodename> <nodename>")) | |
Protected Member Functions | |
virtual tExecResultType | vExecute (std::vector< std::string > &Instr, std::ostringstream &answer, unsigned int &numberOfReturnValues) |
Protected Attributes | |
IpsaViewer * | lviewer |
Definition at line 37 of file ListBody2BodyForces.h.
ListBody2BodyForces::ListBody2BodyForces | ( | IpsaViewer * | viewer, | |
const std::string & | code = std::string("getb2bforces <nodename> <nodename>") | |||
) | [inline] |
Definition at line 40 of file ListBody2BodyForces.h.
Instruction::tExecResultType ListBody2BodyForces::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 35 of file ListBody2BodyForces.cpp.
References Instruction::eBODY_NOT_FOUND, Instruction::eNO_ODE_BODY_FOUND, Instruction::eNODE_IS_NOT_A_BODY, Instruction::eOK, Instruction::eUNKNOWN_ERROR, and SoPhysics::getBody().
IpsaViewer* ListBody2BodyForces::lviewer [protected] |
Definition at line 44 of file ListBody2BodyForces.h.
Generated on Sat Mar 10 20:00:19 2012 for IPSA by 1.5.8 |