![]() |
Hekateros
3.4.3
RoadNarrows Robotics Robot Arm Project
|
Hekateros end effector tool description class. More...
#include <hekDescEE.h>
Public Member Functions | |
| HekDescEE () | |
| virtual | ~HekDescEE () |
| void | setDesc (int eProdId, const std::string &strProdName="", const std::string &strProdBrief="", const std::string &strHwVer="1.0.0", int nDoF=0, int eProdSize=HekProdSizeUnknown) |
| void | resetDesc () |
| Reset base description to the "unitialized" values. | |
| bool | isDescribed () |
| Test if required base description is adequately described. More... | |
| int | getProdId () |
| Get this end effector description's product id. More... | |
| std::string | getProdName () |
| Get this end effector description's name. More... | |
| std::string | getProdBrief () |
| Get this end effector description's brief. More... | |
| std::string | getProdHwVer () |
| Get this end effector description's hardware version. More... | |
| int | getProdSize () |
| Get this end effector description's size. More... | |
| int | getDoF () |
| Get this end effector description's degrees of freedom. More... | |
| int | getNumServos () |
| Get the number of expected and required servos. More... | |
| bool | hasServo (int nServoId) |
| Test if servo id is in the list of servos. More... | |
Static Public Member Functions | |
| static const char * | getProdName (int eProdId) |
| Get the Hekateros end effector product name string given the product id. More... | |
| static const char * | getProdBrief (int eProdId) |
| Get the Hekateros end effector product one-line brief description string given the product id. More... | |
| static int | getProdSize (int eProdId) |
| Get the Hekateros end effector size given the product id. More... | |
| static int | getDoF (int eProdId) |
| Get the Hekateros end effector degrees of freedom given the product id. More... | |
Protected Attributes | |
| int | m_eProdId |
| end effector product id | |
| std::string | m_strProdName |
| product name | |
| std::string | m_strProdBrief |
| product brief | |
| std::string | m_strProdHwVer |
| product hardware version | |
| uint_t | m_uProdHwVer |
| product hardware version number | |
| int | m_eProdSize |
| product size code | |
| int | m_nDoF |
| degrees of freedom | |
| HekSpec | m_spec |
| fixed specification | |
Friends | |
| class | HekDesc |
| class | HekRobot |
Hekateros end effector tool description class.
Definition at line 71 of file hekDescEE.h.
| HekDescEE::HekDescEE | ( | ) |
Default constructor.
Definition at line 69 of file hekDescEE.cxx.
References hekateros::strToVersion().
|
inlinevirtual |
Destructor.
Definition at line 83 of file hekDescEE.h.
References hekateros::HekProdSizeUnknown, and resetDesc().
|
inline |
Get this end effector description's degrees of freedom.
Definition at line 180 of file hekDescEE.h.
References m_nDoF.
Referenced by hekateros::HekDesc::getDoF(), and hasServo().
|
static |
Get the Hekateros end effector degrees of freedom given the product id.
| eProdId | Supported product id. See HekEEProdId. |
Definition at line 148 of file hekDescEE.cxx.
|
inline |
Get the number of expected and required servos.
Definition at line 190 of file hekDescEE.h.
References hekateros::HekSpec::getNumServos(), and m_spec.
Referenced by hekateros::HekDesc::getNumServos().
|
inline |
Get this end effector description's brief.
Definition at line 150 of file hekDescEE.h.
References m_strProdBrief.
Referenced by hasServo().
|
static |
Get the Hekateros end effector product one-line brief description string given the product id.
| eProdId | Supported product id. See HekEEProdId. |
Definition at line 123 of file hekDescEE.cxx.
|
inline |
Get this end effector description's hardware version.
Definition at line 160 of file hekDescEE.h.
References m_strProdHwVer.
|
inline |
Get this end effector description's product id.
Definition at line 130 of file hekDescEE.h.
References m_eProdId.
Referenced by hekateros::HekDesc::hasEndEffector(), and hekateros::HekDesc::isDescribed().
|
inline |
Get this end effector description's name.
Definition at line 140 of file hekDescEE.h.
References m_strProdName.
Referenced by hasServo().
|
static |
Get the Hekateros end effector product name string given the product id.
| eProdId | Supported product id. See HekEEProdId. |
Definition at line 110 of file hekDescEE.cxx.
|
inline |
Get this end effector description's size.
Definition at line 170 of file hekDescEE.h.
References m_eProdSize.
Referenced by hasServo().
|
static |
Get the Hekateros end effector size given the product id.
| eProdId | Supported product id. See HekEEProdId. |
Definition at line 136 of file hekDescEE.cxx.
|
inline |
Test if servo id is in the list of servos.
| nServoId | Servo id. |
Definition at line 202 of file hekDescEE.h.
References getDoF(), getProdBrief(), getProdName(), getProdSize(), hekateros::HekSpec::hasServo(), and m_spec.
|
inline |
Test if required base description is adequately described.
Definition at line 120 of file hekDescEE.h.
References hekateros::HekProdIdUnknown, and m_eProdId.