gusimplewhiteboard
|
Provides a C++ wrapper around wb_teleoperation_control
.
More...
#include <TeleoperationControl.hpp>
Public Member Functions | |
TeleoperationControl (uint8_t t_ip=0, int32_t t_action=0, int32_t t_stance=0, int32_t t_streamType=0, int32_t t_selectedCamera=0, std::string t_sayString="") | |
Create a new TeleoperationControl . More... | |
TeleoperationControl (const TeleoperationControl &t_other) | |
Copy Constructor. More... | |
TeleoperationControl (const struct wb_teleoperation_control &t_other) | |
Copy Constructor. More... | |
TeleoperationControl & | operator= (const TeleoperationControl &t_other) |
Copy Assignment Operator. More... | |
TeleoperationControl & | operator= (const struct wb_teleoperation_control &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const TeleoperationControl &t_other) const |
bool | operator!= (const TeleoperationControl &t_other) const |
bool | operator== (const wb_teleoperation_control &t_other) const |
bool | operator!= (const wb_teleoperation_control &t_other) const |
uint8_t & | ip () |
const uint8_t & | ip () const |
void | set_ip (const uint8_t &t_newValue) |
int32_t & | action () |
const int32_t & | action () const |
void | set_action (const int32_t &t_newValue) |
int32_t & | stance () |
const int32_t & | stance () const |
void | set_stance (const int32_t &t_newValue) |
int32_t & | streamType () |
const int32_t & | streamType () const |
void | set_streamType (const int32_t &t_newValue) |
int32_t & | selectedCamera () |
const int32_t & | selectedCamera () const |
void | set_selectedCamera (const int32_t &t_newValue) |
const char * | sayString () const |
size_t | sayString_size () const |
char & | sayString (int t_i) |
const char & | sayString (int t_i) const |
void | set_sayString (const char *t_newValue) |
TeleoperationControl (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 | |
![]() | |
uint8_t | ip |
Last octet of IP address. More... | |
int32_t | action |
Use guWhiteboard::Motions::action enum values! More... | |
int32_t | stance |
guWhiteboard::Motions::stance More... | |
int32_t | streamType |
Use enum StreamingType (Vision_Control.h) More... | |
int32_t | selectedCamera |
VisionCamera. More... | |
char | sayString [30] |
String passed to Say_t. More... | |
Provides a C++ wrapper around wb_teleoperation_control
.
Definition at line 83 of file TeleoperationControl.hpp.
|
inline |
Create a new TeleoperationControl
.
Definition at line 104 of file TeleoperationControl.hpp.
Referenced by operator==().
|
inline |
Copy Constructor.
Definition at line 111 of file TeleoperationControl.hpp.
References action(), ip(), sayString(), selectedCamera(), stance(), and streamType().
|
inline |
Copy Constructor.
Definition at line 118 of file TeleoperationControl.hpp.
References wb_teleoperation_control::action, wb_teleoperation_control::ip, wb_teleoperation_control::sayString, wb_teleoperation_control::selectedCamera, wb_teleoperation_control::stance, and wb_teleoperation_control::streamType.
|
inline |
String Constructor.
Definition at line 267 of file TeleoperationControl.hpp.
References from_string().
|
inline |
Definition at line 178 of file TeleoperationControl.hpp.
References wb_teleoperation_control::action.
Referenced by TeleoperationControl(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 183 of file TeleoperationControl.hpp.
References wb_teleoperation_control::action.
|
inline |
USE_WB_TELEOPERATION_CONTROL_C_CONVERSION
Definition at line 272 of file TeleoperationControl.hpp.
References action(), ip(), sayString(), selectedCamera(), stance(), streamType(), TELEOPERATIONCONTROL_DESC_BUFFER_SIZE, and wb_teleoperation_control_description().
|
inline |
USE_WB_TELEOPERATION_CONTROL_C_CONVERSION
Definition at line 330 of file TeleoperationControl.hpp.
References wb_teleoperation_control::sayString, set_action(), set_ip(), set_selectedCamera(), set_stance(), set_streamType(), and TELEOPERATIONCONTROL_DESC_BUFFER_SIZE.
Referenced by TeleoperationControl().
|
inline |
Definition at line 163 of file TeleoperationControl.hpp.
References wb_teleoperation_control::ip.
Referenced by TeleoperationControl(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 168 of file TeleoperationControl.hpp.
References wb_teleoperation_control::ip.
|
inline |
Definition at line 148 of file TeleoperationControl.hpp.
|
inline |
Definition at line 158 of file TeleoperationControl.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 133 of file TeleoperationControl.hpp.
References wb_teleoperation_control::action, wb_teleoperation_control::ip, wb_teleoperation_control::sayString, wb_teleoperation_control::selectedCamera, wb_teleoperation_control::stance, and wb_teleoperation_control::streamType.
|
inline |
Copy Assignment Operator.
Definition at line 125 of file TeleoperationControl.hpp.
References action(), ip(), sayString(), selectedCamera(), stance(), and streamType().
|
inline |
Definition at line 138 of file TeleoperationControl.hpp.
References action(), ip(), sayString(), selectedCamera(), stance(), and streamType().
|
inline |
Definition at line 153 of file TeleoperationControl.hpp.
References TeleoperationControl().
|
inline |
Definition at line 238 of file TeleoperationControl.hpp.
References wb_teleoperation_control::sayString.
Referenced by TeleoperationControl(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 248 of file TeleoperationControl.hpp.
References wb_teleoperation_control::sayString.
|
inline |
Definition at line 253 of file TeleoperationControl.hpp.
References wb_teleoperation_control::sayString.
|
inline |
Definition at line 243 of file TeleoperationControl.hpp.
|
inline |
Definition at line 223 of file TeleoperationControl.hpp.
References wb_teleoperation_control::selectedCamera.
Referenced by TeleoperationControl(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 228 of file TeleoperationControl.hpp.
References wb_teleoperation_control::selectedCamera.
|
inline |
Definition at line 188 of file TeleoperationControl.hpp.
References wb_teleoperation_control::action.
Referenced by from_string().
|
inline |
Definition at line 173 of file TeleoperationControl.hpp.
References wb_teleoperation_control::ip.
Referenced by from_string().
|
inline |
Definition at line 258 of file TeleoperationControl.hpp.
References wb_teleoperation_control::sayString.
|
inline |
Definition at line 233 of file TeleoperationControl.hpp.
References wb_teleoperation_control::selectedCamera.
Referenced by from_string().
|
inline |
Definition at line 203 of file TeleoperationControl.hpp.
References wb_teleoperation_control::stance.
Referenced by from_string().
|
inline |
Definition at line 218 of file TeleoperationControl.hpp.
References wb_teleoperation_control::streamType.
Referenced by from_string().
|
inline |
Definition at line 193 of file TeleoperationControl.hpp.
References wb_teleoperation_control::stance.
Referenced by TeleoperationControl(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 198 of file TeleoperationControl.hpp.
References wb_teleoperation_control::stance.
|
inline |
Definition at line 208 of file TeleoperationControl.hpp.
References wb_teleoperation_control::streamType.
Referenced by TeleoperationControl(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 213 of file TeleoperationControl.hpp.
References wb_teleoperation_control::streamType.
|
inline |
USE_WB_TELEOPERATION_CONTROL_C_CONVERSION
Definition at line 299 of file TeleoperationControl.hpp.
References action(), ip(), sayString(), selectedCamera(), stance(), streamType(), TELEOPERATIONCONTROL_TO_STRING_BUFFER_SIZE, and wb_teleoperation_control_to_string().