Inherits robot::Manipulator.
Inherited by robot::sim::SimulatedSerialManipulator, and TestRobot::TestRobotManipulator.
Inheritance diagram for robot::SerialManipulator:
Public Types | |
typedef base::array< JointParameters > | Parameters |
Parameters describing complete manipulator. More... | |
enum | Type { Serial, Parallel } |
Public Methods | |
virtual Type | type () const |
virtual const Parameters & | getParameters () const=0 |
returns all of manipulator's joint parameters. More... | |
virtual Parameters & | getParameters ()=0 |
returns all of manipulator's joint parameters. More... | |
virtual void | serialize (base::Serializer &s) |
read or write object state to Serializer. More... | |
virtual Matrix4 | getBaseTransform () const=0 |
the transformation from the base origin to the origin of the first joint(s). More... | |
virtual String | getName () const |
virtual bool | isSameKindAs (const ReferencedObject &) const |
virtual bool | isSameKindAs (const Object &) const |
virtual String | className () const=0 |
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 Methods | |
SerialManipulator () | |
SerialManipulator (const SerialManipulator &sm) | |
SerialManipulator (String name) | |
Protected Attributes | |
String | name |
int | _refCount |
bool | onUnreferenceEnabled |
Describables serial manipulator via Denavit-Hartenberg parameters.
Definition at line 42 of file SerialManipulator.
|
Parameters describing complete manipulator.
Definition at line 100 of file SerialManipulator. Referenced by robot::sim::SimulatedSerialManipulator::externalize, robot::sim::SimulatedSerialManipulator::getParameters, and TestRobot::TestRobotManipulator::TestRobotManipulator. |
|
Definition at line 43 of file Manipulator. Referenced by type, and robot::ParallelManipulator::type. |
|
Definition at line 112 of file SerialManipulator. Referenced by SerialManipulator, and robot::sim::SimulatedSerialManipulator::SimulatedSerialManipulator. |
|
Definition at line 113 of file SerialManipulator. References robot::Manipulator::Manipulator, and SerialManipulator. |
|
Definition at line 114 of file SerialManipulator. References robot::Manipulator::Manipulator, robot::RobotPart::name, and base::String. |
|
return the name of the object's class type. Must be defined by derived classes. Implemented in base::Application. |
|
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. |
|
the transformation from the base origin to the origin of the first joint(s).
Implemented in robot::sim::SimulatedSerialManipulator. |
|
Definition at line 41 of file RobotPart. References robot::RobotPart::name, and base::String. Referenced by serialize. |
|
returns all of manipulator's joint parameters.
Implemented in robot::sim::SimulatedSerialManipulator. |
|
returns all of manipulator's joint parameters.
Implemented in robot::sim::SimulatedSerialManipulator. Referenced by serialize. |
|
Definition at line 52 of file Serializable.cpp. References Exception, and base::String. |
|
Definition at line 71 of file Serializable. References base::String. |
|
|
|
Definition at line 58 of file ReferencedObject. |
|
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. |
|
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. |
|
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. |
|
Definition at line 33 of file Serializable.cpp. References Exception, and base::String. |
|
Definition at line 62 of file Serializable. |
|
read or write object state to Serializer.
Implements base::Serializable. Definition at line 105 of file SerialManipulator. References robot::RobotPart::getName, and getParameters. |
|
Implements robot::Manipulator. Definition at line 46 of file SerialManipulator. References robot::Manipulator::Serial, and robot::Manipulator::Type. Referenced by robot::sim::SimulatedSerialManipulator::formatSupported. |
|
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. |
|
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. |
|
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, SerialManipulator, and robot::sim::SimulatedPlatform::SimulatedPlatform. |
|
Definition at line 130 of file Referenced. Referenced by base::Referenced::enableOnUnreferenceCall, and base::Referenced::Referenced. |