gusimplewhiteboard
|
Provides a C++ wrapper around wb_sensors_headjointsensors
.
More...
#include <SENSORSHeadJointSensors.hpp>
Public Member Functions | |
SENSORSHeadJointSensors (float t_HeadYaw=0.0f, float t_HeadPitch=0.0f) | |
Create a new SENSORSHeadJointSensors . More... | |
SENSORSHeadJointSensors (const SENSORSHeadJointSensors &t_other) | |
Copy Constructor. More... | |
SENSORSHeadJointSensors (const struct wb_sensors_headjointsensors &t_other) | |
Copy Constructor. More... | |
SENSORSHeadJointSensors & | operator= (const SENSORSHeadJointSensors &t_other) |
Copy Assignment Operator. More... | |
SENSORSHeadJointSensors & | operator= (const struct wb_sensors_headjointsensors &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const SENSORSHeadJointSensors &t_other) const |
bool | operator!= (const SENSORSHeadJointSensors &t_other) const |
bool | operator== (const wb_sensors_headjointsensors &t_other) const |
bool | operator!= (const wb_sensors_headjointsensors &t_other) const |
float & | HeadYaw () |
const float & | HeadYaw () const |
void | set_HeadYaw (const float &t_newValue) |
float & | HeadPitch () |
const float & | HeadPitch () const |
void | set_HeadPitch (const float &t_newValue) |
SENSORSHeadJointSensors (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 | |
![]() | |
float | HeadYaw |
Head pos in RAD. More... | |
float | HeadPitch |
Head pos in RAD. More... | |
Provides a C++ wrapper around wb_sensors_headjointsensors
.
Definition at line 84 of file SENSORSHeadJointSensors.hpp.
|
inline |
Create a new SENSORSHeadJointSensors
.
Definition at line 101 of file SENSORSHeadJointSensors.hpp.
Referenced by operator==().
|
inline |
Copy Constructor.
Definition at line 108 of file SENSORSHeadJointSensors.hpp.
References HeadPitch(), and HeadYaw().
|
inline |
Copy Constructor.
Definition at line 115 of file SENSORSHeadJointSensors.hpp.
References wb_sensors_headjointsensors::HeadPitch, and wb_sensors_headjointsensors::HeadYaw.
|
inline |
String Constructor.
Definition at line 190 of file SENSORSHeadJointSensors.hpp.
References from_string().
|
inline |
USE_WB_SENSORS_HEADJOINTSENSORS_C_CONVERSION
Definition at line 195 of file SENSORSHeadJointSensors.hpp.
References HeadPitch(), HeadYaw(), SENSORS_HEADJOINTSENSORS_DESC_BUFFER_SIZE, and wb_sensors_headjointsensors_description().
|
inline |
USE_WB_SENSORS_HEADJOINTSENSORS_C_CONVERSION
Definition at line 229 of file SENSORSHeadJointSensors.hpp.
References SENSORS_HEADJOINTSENSORS_DESC_BUFFER_SIZE, set_HeadPitch(), and set_HeadYaw().
Referenced by SENSORSHeadJointSensors().
|
inline |
Definition at line 171 of file SENSORSHeadJointSensors.hpp.
References wb_sensors_headjointsensors::HeadPitch.
Referenced by SENSORSHeadJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 176 of file SENSORSHeadJointSensors.hpp.
References wb_sensors_headjointsensors::HeadPitch.
|
inline |
Definition at line 156 of file SENSORSHeadJointSensors.hpp.
References wb_sensors_headjointsensors::HeadYaw.
Referenced by SENSORSHeadJointSensors(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 161 of file SENSORSHeadJointSensors.hpp.
References wb_sensors_headjointsensors::HeadYaw.
|
inline |
Definition at line 141 of file SENSORSHeadJointSensors.hpp.
|
inline |
Definition at line 151 of file SENSORSHeadJointSensors.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 122 of file SENSORSHeadJointSensors.hpp.
References HeadPitch(), and HeadYaw().
|
inline |
Copy Assignment Operator.
Definition at line 130 of file SENSORSHeadJointSensors.hpp.
References wb_sensors_headjointsensors::HeadPitch, and wb_sensors_headjointsensors::HeadYaw.
|
inline |
Definition at line 135 of file SENSORSHeadJointSensors.hpp.
References HeadPitch(), and HeadYaw().
|
inline |
Definition at line 146 of file SENSORSHeadJointSensors.hpp.
References SENSORSHeadJointSensors().
|
inline |
Definition at line 181 of file SENSORSHeadJointSensors.hpp.
References wb_sensors_headjointsensors::HeadPitch.
Referenced by from_string().
|
inline |
Definition at line 166 of file SENSORSHeadJointSensors.hpp.
References wb_sensors_headjointsensors::HeadYaw.
Referenced by from_string().
|
inline |
USE_WB_SENSORS_HEADJOINTSENSORS_C_CONVERSION
Definition at line 210 of file SENSORSHeadJointSensors.hpp.
References HeadPitch(), HeadYaw(), SENSORS_HEADJOINTSENSORS_TO_STRING_BUFFER_SIZE, and wb_sensors_headjointsensors_to_string().