gusimplewhiteboard
|
Provides a C++ wrapper around wb_head_joint_sensors
.
More...
#include <HeadJointSensors.hpp>
Public Member Functions | |
HeadJointSensors (int16_t t_headYaw=0, int16_t t_headPitch=0) | |
Create a new HeadJointSensors . More... | |
HeadJointSensors (const HeadJointSensors &t_other) | |
Copy Constructor. More... | |
HeadJointSensors (const struct wb_head_joint_sensors &t_other) | |
Copy Constructor. More... | |
HeadJointSensors & | operator= (const HeadJointSensors &t_other) |
Copy Assignment Operator. More... | |
HeadJointSensors & | operator= (const struct wb_head_joint_sensors &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const HeadJointSensors &t_other) const |
bool | operator!= (const HeadJointSensors &t_other) const |
bool | operator== (const wb_head_joint_sensors &t_other) const |
bool | operator!= (const wb_head_joint_sensors &t_other) const |
int16_t & | headYaw () |
const int16_t & | headYaw () const |
void | set_headYaw (const int16_t &t_newValue) |
int16_t & | headPitch () |
const int16_t & | headPitch () const |
void | set_headPitch (const int16_t &t_newValue) |
HeadJointSensors (const std::string &t_str) | |
String Constructor. More... | |
std::string | description () |
std::string | to_string () |
void | from_string (const std::string &t_str) |
Additional Inherited Members | |
![]() | |
int16_t | headYaw |
Head pos in degrees. More... | |
int16_t | headPitch |
Head pos in degrees. More... | |
Provides a C++ wrapper around wb_head_joint_sensors
.
Definition at line 83 of file HeadJointSensors.hpp.
|
inline |
Create a new HeadJointSensors
.
Definition at line 100 of file HeadJointSensors.hpp.
Referenced by operator==().
|
inline |
Copy Constructor.
Definition at line 107 of file HeadJointSensors.hpp.
References headPitch(), and headYaw().
|
inline |
Copy Constructor.
Definition at line 114 of file HeadJointSensors.hpp.
References wb_head_joint_sensors::headPitch, and wb_head_joint_sensors::headYaw.
|
inline |
|
inline |
USE_WB_HEAD_JOINT_SENSORS_C_CONVERSION
Definition at line 194 of file HeadJointSensors.hpp.
References HEAD_JOINT_SENSORS_DESC_BUFFER_SIZE, headPitch(), headYaw(), and wb_head_joint_sensors_description().
|
inline |
USE_WB_HEAD_JOINT_SENSORS_C_CONVERSION
Definition at line 228 of file HeadJointSensors.hpp.
References HEAD_JOINT_SENSORS_DESC_BUFFER_SIZE, set_headPitch(), and set_headYaw().
Referenced by HeadJointSensors().
|
inline |
Definition at line 170 of file HeadJointSensors.hpp.
References wb_head_joint_sensors::headPitch.
Referenced by HeadJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 175 of file HeadJointSensors.hpp.
References wb_head_joint_sensors::headPitch.
|
inline |
Definition at line 155 of file HeadJointSensors.hpp.
References wb_head_joint_sensors::headYaw.
Referenced by HeadJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 160 of file HeadJointSensors.hpp.
References wb_head_joint_sensors::headYaw.
|
inline |
Definition at line 140 of file HeadJointSensors.hpp.
|
inline |
Definition at line 150 of file HeadJointSensors.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 121 of file HeadJointSensors.hpp.
References headPitch(), and headYaw().
|
inline |
Copy Assignment Operator.
Definition at line 129 of file HeadJointSensors.hpp.
References wb_head_joint_sensors::headPitch, and wb_head_joint_sensors::headYaw.
|
inline |
Definition at line 134 of file HeadJointSensors.hpp.
References headPitch(), and headYaw().
|
inline |
Definition at line 145 of file HeadJointSensors.hpp.
References HeadJointSensors().
|
inline |
Definition at line 180 of file HeadJointSensors.hpp.
References wb_head_joint_sensors::headPitch.
Referenced by from_string().
|
inline |
Definition at line 165 of file HeadJointSensors.hpp.
References wb_head_joint_sensors::headYaw.
Referenced by from_string().
|
inline |
USE_WB_HEAD_JOINT_SENSORS_C_CONVERSION
Definition at line 209 of file HeadJointSensors.hpp.
References HEAD_JOINT_SENSORS_TO_STRING_BUFFER_SIZE, headPitch(), headYaw(), and wb_head_joint_sensors_to_string().