A class for defining the versions of the iCub limbs.
More...
#include <iKinFwd.h>
A class for defining the versions of the iCub limbs.
Definition at line 1044 of file iKinFwd.h.
◆ iKinLimbVersion() [1/4]
iKinLimbVersion::iKinLimbVersion |
( |
| ) |
|
◆ iKinLimbVersion() [2/4]
iKinLimbVersion::iKinLimbVersion |
( |
const std::string & |
version | ) |
|
Constructor.
- Parameters
-
version | is a string for specifying different kinematics, e.g., "1.23". |
Definition at line 1552 of file iKinFwd.cpp.
◆ iKinLimbVersion() [3/4]
iKinLimbVersion::iKinLimbVersion |
( |
const unsigned long int |
v_major, |
|
|
const unsigned long int |
v_minor |
|
) |
| |
Constructor.
- Parameters
-
v_major | the major version. |
v_minor | the mninor version. |
Definition at line 1569 of file iKinFwd.cpp.
◆ iKinLimbVersion() [4/4]
◆ get_major()
unsigned long int iKinLimbVersion::get_major |
( |
| ) |
const |
Return the major version.
- Returns
- the major version.
Definition at line 1586 of file iKinFwd.cpp.
◆ get_minor()
unsigned long int iKinLimbVersion::get_minor |
( |
| ) |
const |
Return the minor version.
- Returns
- the minor version.
Definition at line 1593 of file iKinFwd.cpp.
◆ get_version()
string iKinLimbVersion::get_version |
( |
| ) |
const |
Return the version string.
- Returns
- the version string.
Definition at line 1600 of file iKinFwd.cpp.
◆ operator!=()
Overloaded != operator.
- Parameters
-
v | the version to compare with. |
- Returns
- true iff != v.
Definition at line 1644 of file iKinFwd.cpp.
◆ operator-()
Overloaded - operator.
- Parameters
-
v | the version to compare with. |
- Returns
- the distance from v.
Definition at line 1665 of file iKinFwd.cpp.
◆ operator<()
Overloaded < operator.
- Parameters
-
v | the version to compare with. |
- Returns
- true iff < v.
Definition at line 1618 of file iKinFwd.cpp.
◆ operator<=()
Overloaded <= operator.
- Parameters
-
v | the version to compare with. |
- Returns
- true iff <= v.
Definition at line 1651 of file iKinFwd.cpp.
◆ operator=()
Overloaded assignment operator.
- Parameters
-
v | the version to be assigned. |
- Returns
- .
Definition at line 1609 of file iKinFwd.cpp.
◆ operator==()
Overloaded == operator.
- Parameters
-
v | the version to compare with. |
- Returns
- true iff == v.
Definition at line 1637 of file iKinFwd.cpp.
◆ operator>()
Overloaded > operator.
- Parameters
-
v | the version to compare with. |
- Returns
- true iff > v.
Definition at line 1630 of file iKinFwd.cpp.
◆ operator>=()
Overloaded >=</=> operator.
- Parameters
-
v | the version to compare with. |
- Returns
- true iff >= v.
Definition at line 1658 of file iKinFwd.cpp.
◆ v_major
unsigned long int iCub::iKin::iKinLimbVersion::v_major |
|
protected |
◆ v_minor
unsigned long int iCub::iKin::iKinLimbVersion::v_minor |
|
protected |
The documentation for this class was generated from the following files:
- icub-main/src/libraries/iKin/include/iCub/iKin/iKinFwd.h
- icub-main/src/libraries/iKin/src/iKinFwd.cpp