gusimplewhiteboard
|
Provides a C++ wrapper around wb_input3d
.
More...
#include <Input3D.hpp>
Public Member Functions | |
Input3D (int16_t t_yaw=0, int16_t t_pitch=0, int16_t t_roll=0, int16_t t_power=0) | |
Create a new Input3D . More... | |
Input3D (const Input3D &t_other) | |
Copy Constructor. More... | |
Input3D (const struct wb_input3d &t_other) | |
Copy Constructor. More... | |
Input3D & | operator= (const Input3D &t_other) |
Copy Assignment Operator. More... | |
Input3D & | operator= (const struct wb_input3d &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const Input3D &t_other) const |
bool | operator!= (const Input3D &t_other) const |
bool | operator== (const wb_input3d &t_other) const |
bool | operator!= (const wb_input3d &t_other) const |
int16_t & | yaw () |
const int16_t & | yaw () const |
void | set_yaw (const int16_t &t_newValue) |
int16_t & | pitch () |
const int16_t & | pitch () const |
void | set_pitch (const int16_t &t_newValue) |
int16_t & | roll () |
const int16_t & | roll () const |
void | set_roll (const int16_t &t_newValue) |
int16_t & | power () |
const int16_t & | power () const |
void | set_power (const int16_t &t_newValue) |
Input3D (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 | |
Public Attributes inherited from wb_input3d | |
int16_t | yaw |
yaw More... | |
int16_t | pitch |
pitch More... | |
int16_t | roll |
roll More... | |
int16_t | power |
power value, ie. More... | |
Provides a C++ wrapper around wb_input3d
.
Definition at line 83 of file Input3D.hpp.
|
inline |
|
inline |
|
inline |
Copy Constructor.
Definition at line 116 of file Input3D.hpp.
References wb_input3d::pitch, wb_input3d::power, wb_input3d::roll, and wb_input3d::yaw.
|
inline |
|
inline |
USE_WB_INPUT3D_C_CONVERSION
Definition at line 228 of file Input3D.hpp.
References INPUT3D_DESC_BUFFER_SIZE, pitch(), power(), roll(), wb_input3d_description(), and yaw().
|
inline |
USE_WB_INPUT3D_C_CONVERSION
Definition at line 270 of file Input3D.hpp.
References INPUT3D_DESC_BUFFER_SIZE, set_pitch(), set_power(), set_roll(), and set_yaw().
Referenced by Input3D().
|
inline |
Definition at line 144 of file Input3D.hpp.
|
inline |
Definition at line 154 of file Input3D.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 131 of file Input3D.hpp.
References wb_input3d::pitch, wb_input3d::power, wb_input3d::roll, and wb_input3d::yaw.
|
inline |
|
inline |
Definition at line 149 of file Input3D.hpp.
References Input3D().
|
inline |
Definition at line 174 of file Input3D.hpp.
References wb_input3d::pitch.
Referenced by Input3D(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 179 of file Input3D.hpp.
References wb_input3d::pitch.
|
inline |
Definition at line 204 of file Input3D.hpp.
References wb_input3d::power.
Referenced by Input3D(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 209 of file Input3D.hpp.
References wb_input3d::power.
|
inline |
Definition at line 189 of file Input3D.hpp.
References wb_input3d::roll.
Referenced by Input3D(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 194 of file Input3D.hpp.
References wb_input3d::roll.
|
inline |
Definition at line 184 of file Input3D.hpp.
References wb_input3d::pitch.
Referenced by from_string().
|
inline |
Definition at line 214 of file Input3D.hpp.
References wb_input3d::power.
Referenced by from_string().
|
inline |
Definition at line 199 of file Input3D.hpp.
References wb_input3d::roll.
Referenced by from_string().
|
inline |
Definition at line 169 of file Input3D.hpp.
References wb_input3d::yaw.
Referenced by from_string().
|
inline |
USE_WB_INPUT3D_C_CONVERSION
Definition at line 247 of file Input3D.hpp.
References INPUT3D_TO_STRING_BUFFER_SIZE, pitch(), power(), roll(), wb_input3d_to_string(), and yaw().
|
inline |
Definition at line 159 of file Input3D.hpp.
References wb_input3d::yaw.
Referenced by Input3D(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 164 of file Input3D.hpp.
References wb_input3d::yaw.