PositionBase Class
(Kinematics::PositionBase)CDPPort based base class for position classes like Kinematics::Position, Kinematics::Velocity, Kinematics::Angles and Kinematics::AngularVelocity. More...
Header: | #include <PositionBase> |
Inherits: | CDPPort and |
Inherited By: | Kinematics::Angles, Kinematics::AngularVelocity, Kinematics::Position, and Kinematics::Velocity |
Public Functions
virtual std::optional<AngleValues> | GetAngles() const = 0 |
virtual std::optional<AngularVelocityValues> | GetAngularVelocity() const = 0 |
virtual std::optional<PositionValues> | GetPosition() const = 0 |
virtual std::optional<VelocityValues> | GetVelocity() const = 0 |
void | RegisterStructureChangeCallback(const std::function<void() > &callback) |
void | RegisterValueChangeCallback(const std::function<void() > &callback) |
Reimplemented Public Functions
virtual void | Configure(XMLElementEx *xml) override |
- 25 public functions inherited from CDPPort
- 37 public functions inherited from CDPObject
- 46 public functions inherited from CDPBaseObject
- 26 public functions inherited from CDP::StudioAPI::CDPNode
- 22 public functions inherited from CDP::StudioAPI::ICDPNode
Protected Functions
void | AttachValueProperty(IPortConnection &connection, const std::string &name, T **property) |
void | InvokeStructureChangeCallback() |
- 5 protected functions inherited from CDPPort
- 13 protected functions inherited from CDPObject
- 1 protected function inherited from CDP::StudioAPI::CDPNode
Additional Inherited Members
- 6 static public members inherited from CDPObject
- 1 static public member inherited from CDPBaseObject
- 9 protected variables inherited from CDPObject
- 11 protected variables inherited from CDPBaseObject
Detailed Description
CDPPort based base class for position classes like Kinematics::Position, Kinematics::Velocity, Kinematics::Angles and Kinematics::AngularVelocity.
See also DHChain.
Member Function Documentation
[protected]
void PositionBase::AttachValueProperty(IPortConnection &connection, const std::string &name, T **property)
[override virtual]
void PositionBase::Configure(XMLElementEx *xml)
[pure virtual]
std::optional<AngleValues> PositionBase::GetAngles() const
[pure virtual]
std::optional<AngularVelocityValues> PositionBase::GetAngularVelocity() const
[pure virtual]
std::optional<PositionValues> PositionBase::GetPosition() const
[pure virtual]
std::optional<VelocityValues> PositionBase::GetVelocity() const
[protected]
void PositionBase::InvokeStructureChangeCallback()
void PositionBase::RegisterStructureChangeCallback(const std::function<void() > &callback)
void PositionBase::RegisterValueChangeCallback(const std::function<void() > &callback)
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.