GetJointForce Class Reference
[libipsaViewer classesIPSRV remote instructions]

#include <GetJointForce.h>

Inheritance diagram for GetJointForce:

Inheritance graph
[legend]
Collaboration diagram for GetJointForce:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GetJointForce (const std::string &code=std::string("getjointforce <nodename> <1/2>"))

Protected Member Functions

virtual tExecResultType vExecute (std::vector< std::string > &Instr, std::ostringstream &answer, unsigned int &numberOfReturnValues)


Detailed Description

Definition at line 36 of file GetJointForce.h.


Constructor & Destructor Documentation

GetJointForce::GetJointForce ( const std::string &  code = std::string("getjointforce <nodename> <1/2>")  )  [inline]

Definition at line 39 of file GetJointForce.h.


Member Function Documentation

Instruction::tExecResultType GetJointForce::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().

Parameters:
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.
Returns:
a value from the enum Instruction::tExecResultType

Reimplemented from Instruction.

Definition at line 32 of file GetJointForce.cpp.

References Instruction::eJOINT_NOT_FOUND, Instruction::eJOINT_TYPE_INCOMPATIBLE, Instruction::eOK, and SoJoint::getForce().


The documentation for this class was generated from the following files:

Get IPSA - Inventor Physics Simulation API at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated on Sat Mar 10 20:00:19 2012 for IPSA by  doxygen 1.5.8