![]() |
Hekateros
3.4.3
RoadNarrows Robotics Robot Arm Project
|
Hekateros robotic arm (manipulator) description class. More...
#include <hekDescArm.h>
Public Member Functions | |
| HekDescArm () | |
| ~HekDescArm () | |
| 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 base description's base product id. More... | |
| std::string | getProdName () |
| Get this base description's name. More... | |
| std::string | getProdBrief () |
| Get this base description's brief. More... | |
| std::string | getProdHwVer () |
| Get this base description's hardware version. More... | |
| int | getProdSize () |
| Get this base description's size. More... | |
| int | getDoF () |
| Get this base 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 product name string given the product id. More... | |
| static const char * | getProdBrief (int eProdId) |
| Get the Hekateros product one-line brief description string given the product id. More... | |
| static int | getProdSize (int eProdId) |
| Get the Hekateros base size given the product id. More... | |
| static int | getDoF (int eProdId) |
| Get the Hekateros base degrees of freedom given the product id. More... | |
Protected Attributes | |
| int | m_eProdId |
| base product id | |
| std::string | m_strProdName |
| product name | |
| std::string | m_strProdBrief |
| product brief | |
| std::string | m_strProdHwVer |
| product hardware version string | |
| 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 robotic arm (manipulator) description class.
Definition at line 77 of file hekDescArm.h.
| HekDescArm::HekDescArm | ( | ) |
Default constructor.
Definition at line 70 of file hekDescArm.cxx.
References hekateros::strToVersion().
|
inline |
Destructor.
Definition at line 89 of file hekDescArm.h.
References hekateros::HekProdSizeUnknown, and resetDesc().
|
inline |
Get this base description's degrees of freedom.
Definition at line 185 of file hekDescArm.h.
References m_nDoF.
Referenced by hekateros::HekDesc::getDoF(), and hasServo().
|
static |
Get the Hekateros base degrees of freedom given the product id.
| eProdId | Supported product id. See HekProdId. |
Definition at line 165 of file hekDescArm.cxx.
|
inline |
Get the number of expected and required servos.
Definition at line 195 of file hekDescArm.h.
References hekateros::HekSpec::getNumServos(), and m_spec.
Referenced by hekateros::HekDesc::getNumServos().
|
inline |
Get this base description's brief.
Definition at line 155 of file hekDescArm.h.
References m_strProdBrief.
Referenced by hasServo().
|
static |
Get the Hekateros product one-line brief description string given the product id.
| eProdId | Supported product id. See HekProdId. |
Definition at line 130 of file hekDescArm.cxx.
|
inline |
Get this base description's hardware version.
Definition at line 165 of file hekDescArm.h.
References m_strProdHwVer.
Referenced by hekateros::HekRobot::getVersion(), and hekateros::HekRobot::getVersionNum().
|
inline |
Get this base description's base product id.
Definition at line 135 of file hekDescArm.h.
References m_eProdId.
Referenced by hekateros::HekDesc::getProdId(), hekateros::HekRobot::getProdId(), and hekateros::HekDesc::isDescribed().
|
inline |
Get this base description's name.
Definition at line 145 of file hekDescArm.h.
References m_strProdName.
Referenced by hekateros::HekRobot::getProdName(), and hasServo().
|
static |
Get the Hekateros product name string given the product id.
| eProdId | Supported product id. See HekProdId. |
Definition at line 111 of file hekDescArm.cxx.
|
inline |
Get this base description's size.
Definition at line 175 of file hekDescArm.h.
References m_eProdSize.
Referenced by hasServo().
|
static |
Get the Hekateros base size given the product id.
| eProdId | Supported product id. See HekProdId. |
Definition at line 149 of file hekDescArm.cxx.
|
inline |
Test if servo id is in the list of servos.
| nServoId | Servo id. |
Definition at line 207 of file hekDescArm.h.
References getDoF(), getProdBrief(), getProdName(), getProdSize(), hekateros::HekSpec::hasServo(), and m_spec.
|
inline |
Test if required base description is adequately described.
Definition at line 125 of file hekDescArm.h.
References hekateros::HekProdIdUnknown, and m_eProdId.