Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TestRobot::TestRobotManipulator Class Reference

Inherits robot::SerialManipulator.

Inheritance diagram for TestRobot::TestRobotManipulator:

Inheritance graph
[legend]
Collaboration diagram for TestRobot::TestRobotManipulator:

Collaboration graph
[legend]
List of all members.

Public Types

typedef base::array< JointParameters > Parameters
 Parameters describing complete manipulator. More...

enum  Type { Serial, Parallel }

Public Methods

 TestRobotManipulator (const IVector &jointType, const Vector &alpha, const Vector &a, const Vector &d, const Vector &theta)
virtual String className () const
virtual Matrix4 getBaseTransform () const
 !! change this to a small transform or something. More...

virtual const ParametersgetParameters () const
 returns all of manipulator's joint parameters. More...

virtual ParametersgetParameters ()
 returns all of manipulator's joint parameters. More...

virtual Type type () const
virtual void serialize (base::Serializer &s)
 read or write object state to Serializer. More...

virtual String getName () const
virtual bool isSameKindAs (const ReferencedObject &) const
virtual bool isSameKindAs (const Object &) const
void reference () const
bool unreference () const
const int referenceCount () const
void enableOnUnreferenceCall (bool enabled)
virtual void onUnreference () const

Static Public Methods

template<class BaseClass, class DerivedClass> void registerSerializableInstantiator (const SerializableInstantiator &instantiator)
void registerSerializableInstantiator (const String &baseClassTypeName, const String &derivedClassTypeName, const SerializableInstantiator &instantiator)
template<class BaseClass> const SerializableInstantiator & getSerializableInstantiator (const String &derivedClassTypeName)
const SerializableInstantiator & getSerializableInstantiator (const String &baseClassTypeName, const String &derivedClassTypeName)

Protected Attributes

Parameters parameters
String name
int _refCount
bool onUnreferenceEnabled

Member Typedef Documentation

typedef base::array<JointParameters> robot::SerialManipulator::Parameters [inherited]
 

Parameters describing complete manipulator.

Definition at line 100 of file SerialManipulator.

Referenced by robot::sim::SimulatedSerialManipulator::externalize, robot::sim::SimulatedSerialManipulator::getParameters, and TestRobotManipulator.


Member Enumeration Documentation

enum robot::Manipulator::Type [inherited]
 

Enumeration values:
Serial 
Parallel 

Definition at line 43 of file Manipulator.

Referenced by robot::SerialManipulator::type, and robot::ParallelManipulator::type.


Constructor & Destructor Documentation

TestRobotManipulator::TestRobotManipulator const IVector &    jointType,
const Vector &    alpha,
const Vector &    a,
const Vector &    d,
const Vector &    theta
 

Definition at line 66 of file TestRobot.cpp.

References a, Assert, d, base::Int, base::IVector, parameters, robot::SerialManipulator::Parameters, and base::Vector.


Member Function Documentation

virtual String TestRobotManipulator::className   const [inline, virtual]
 

return the name of the object's class type. Must be defined by derived classes.

Implements base::Object.

Definition at line 40 of file TestRobot.cpp.

References base::className, and base::String.

void base::Referenced::enableOnUnreferenceCall bool    enabled [inline, inherited]
 

If enabled, each call to unreference() will also call virtual method onUnreference()

Definition at line 108 of file Referenced.

References base::Referenced::onUnreferenceEnabled.

Referenced by robot::control::ControllableAdaptor::ControllableAdaptor.

virtual Matrix4 TestRobotManipulator::getBaseTransform   const [inline, virtual]
 

!! change this to a small transform or something.

Implements robot::Manipulator.

Definition at line 43 of file TestRobot.cpp.

virtual String robot::RobotPart::getName   const [inline, virtual, inherited]
 

Definition at line 41 of file RobotPart.

References robot::RobotPart::name, and base::String.

Referenced by robot::SerialManipulator::serialize.

virtual Parameters& TestRobotManipulator::getParameters   [inline, virtual]
 

returns all of manipulator's joint parameters.

Implements robot::SerialManipulator.

Definition at line 46 of file TestRobot.cpp.

virtual const Parameters& TestRobotManipulator::getParameters   const [inline, virtual]
 

returns all of manipulator's joint parameters.

Implements robot::SerialManipulator.

Definition at line 45 of file TestRobot.cpp.

const Serializable::SerializableInstantiator & Serializable::getSerializableInstantiator const String &    baseClassTypeName,
const String &    derivedClassTypeName
[static, inherited]
 

Definition at line 52 of file Serializable.cpp.

References Exception, and base::String.

template<class BaseClass>
const SerializableInstantiator& base::Serializable::getSerializableInstantiator const String &    derivedClassTypeName [inline, static, inherited]
 

Definition at line 71 of file Serializable.

References base::String.

virtual bool base::Object::isSameKindAs const Object   const [inline, virtual, inherited]
 

Definition at line 47 of file Object.

virtual bool base::ReferencedObject::isSameKindAs const ReferencedObject   const [inline, virtual, inherited]
 

Definition at line 58 of file ReferencedObject.

virtual void base::Referenced::onUnreference   const [inline, virtual, inherited]
 

Called by unreference() if enabled via enableOnUnreferenceCall(true). Typically overridden in subclasses that wish to know about unreference() calls - for example to handle manually breaking cyclic references

Reimplemented in robot::control::ControllableAdaptor::AdaptorControlInterface.

Definition at line 114 of file Referenced.

Referenced by base::Referenced::unreference.

void base::Referenced::reference   const [inline, inherited]
 

Increment the reference count by one, indicating that this object has another pointer which is referencing it.

Definition at line 58 of file Referenced.

References base::Referenced::_refCount.

Referenced by robot::control::kinematics::FullSpaceSolver::reduceA.

const int base::Referenced::referenceCount   const [inline, inherited]
 

Return the number pointers currently referencing this object.

Definition at line 105 of file Referenced.

References base::Referenced::_refCount.

Referenced by robot::control::ControllableAdaptor::onUnreference, and robot::control::ControllableAdaptor::AdaptorControlInterface::onUnreference.

void Serializable::registerSerializableInstantiator const String &    baseClassTypeName,
const String &    derivedClassTypeName,
const SerializableInstantiator &    instantiator
[static, inherited]
 

Definition at line 33 of file Serializable.cpp.

References Exception, and base::String.

template<class BaseClass, class DerivedClass>
void base::Serializable::registerSerializableInstantiator const SerializableInstantiator &    instantiator [inline, static, inherited]
 

Definition at line 62 of file Serializable.

virtual void robot::SerialManipulator::serialize base::Serializer   s [inline, virtual, inherited]
 

read or write object state to Serializer.

Implements base::Serializable.

Definition at line 105 of file SerialManipulator.

References robot::RobotPart::getName, and robot::SerialManipulator::getParameters.

virtual Type robot::SerialManipulator::type   const [inline, virtual, inherited]
 

Implements robot::Manipulator.

Definition at line 46 of file SerialManipulator.

References robot::Manipulator::Serial, and robot::Manipulator::Type.

Referenced by robot::sim::SimulatedSerialManipulator::formatSupported.

bool base::Referenced::unreference   const [inline, inherited]
 

Decrement the reference count by one, indicating that a pointer to this object is referencing it. If the refence count goes to zero, it is assumed that this object is nolonger referenced and is automatically deleted.

Definition at line 74 of file Referenced.

References base::Referenced::_refCount, Exception, and base::Referenced::onUnreference.


Member Data Documentation

int base::Referenced::_refCount [protected, inherited]
 

Definition at line 129 of file Referenced.

Referenced by base::Referenced::reference, base::Referenced::referenceCount, base::Referenced::Referenced, base::Referenced::unreference, and base::Referenced::~Referenced.

String robot::RobotPart::name [protected, inherited]
 

Definition at line 48 of file RobotPart.

Referenced by robot::sim::SimulatedSerialManipulator::externalize, robot::RobotPart::getName, robot::Manipulator::Manipulator, robot::Platform::Platform, robot::RobotPart::RobotPart, robot::SerialManipulator::SerialManipulator, and robot::sim::SimulatedPlatform::SimulatedPlatform.

bool base::Referenced::onUnreferenceEnabled [protected, inherited]
 

Definition at line 130 of file Referenced.

Referenced by base::Referenced::enableOnUnreferenceCall, and base::Referenced::Referenced.

Parameters TestRobot::TestRobotManipulator::parameters [protected]
 

Definition at line 50 of file TestRobot.cpp.

Referenced by TestRobotManipulator.


The documentation for this class was generated from the following file:
Generated on Fri Nov 22 00:10:57 2002 for OpenSim by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002