gusimplewhiteboard
guWhiteboard::TeleoperationControlVR Class Reference

Provides a C++ wrapper around wb_teleoperation_control_v_r. More...

#include <TeleoperationControlVR.hpp>

Inheritance diagram for guWhiteboard::TeleoperationControlVR:
Collaboration diagram for guWhiteboard::TeleoperationControlVR:

Public Member Functions

 TeleoperationControlVR (uint8_t t_ip=0, int32_t t_action=0, float t_HeadYaw=0, float t_HeadPitch=0, int32_t t_stance=0, int32_t t_streamType=0, int32_t t_selectedCamera=0, std::string t_sayString="", int32_t t_walk=0, int32_t t_turn=0, int32_t t_timestamp=0)
 Create a new TeleoperationControlVR. More...
 
 TeleoperationControlVR (const TeleoperationControlVR &t_other)
 Copy Constructor. More...
 
 TeleoperationControlVR (const struct wb_teleoperation_control_v_r &t_other)
 Copy Constructor. More...
 
TeleoperationControlVRoperator= (const TeleoperationControlVR &t_other)
 Copy Assignment Operator. More...
 
TeleoperationControlVRoperator= (const struct wb_teleoperation_control_v_r &t_other)
 Copy Assignment Operator. More...
 
bool operator== (const TeleoperationControlVR &t_other) const
 
bool operator!= (const TeleoperationControlVR &t_other) const
 
bool operator== (const wb_teleoperation_control_v_r &t_other) const
 
bool operator!= (const wb_teleoperation_control_v_r &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)
 
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)
 
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)
 
int32_t & walk ()
 
const int32_t & walk () const
 
void set_walk (const int32_t &t_newValue)
 
int32_t & turn ()
 
const int32_t & turn () const
 
void set_turn (const int32_t &t_newValue)
 
int32_t & timestamp ()
 
const int32_t & timestamp () const
 
void set_timestamp (const int32_t &t_newValue)
 
 TeleoperationControlVR (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_teleoperation_control_v_r
uint8_t ip
 Last octet of IP address. More...
 
int32_t action
 Use guWhiteboard::Motions::action enum values! More...
 
float HeadYaw
 Head pos in RAD. More...
 
float HeadPitch
 Head pos in RAD. 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...
 
int32_t walk
 Walk value. More...
 
int32_t turn
 Turn value. More...
 
int32_t timestamp
 Timestamp for task distinguishing. More...
 

Detailed Description

Provides a C++ wrapper around wb_teleoperation_control_v_r.

Definition at line 84 of file TeleoperationControlVR.hpp.

Constructor & Destructor Documentation

◆ TeleoperationControlVR() [1/4]

guWhiteboard::TeleoperationControlVR::TeleoperationControlVR ( uint8_t  t_ip = 0,
int32_t  t_action = 0,
float  t_HeadYaw = 0,
float  t_HeadPitch = 0,
int32_t  t_stance = 0,
int32_t  t_streamType = 0,
int32_t  t_selectedCamera = 0,
std::string  t_sayString = "",
int32_t  t_walk = 0,
int32_t  t_turn = 0,
int32_t  t_timestamp = 0 
)
inline

Create a new TeleoperationControlVR.

Definition at line 110 of file TeleoperationControlVR.hpp.

Referenced by operator==().

◆ TeleoperationControlVR() [2/4]

guWhiteboard::TeleoperationControlVR::TeleoperationControlVR ( const TeleoperationControlVR t_other)
inline

◆ TeleoperationControlVR() [3/4]

◆ TeleoperationControlVR() [4/4]

guWhiteboard::TeleoperationControlVR::TeleoperationControlVR ( const std::string &  t_str)
inline

String Constructor.

Definition at line 353 of file TeleoperationControlVR.hpp.

References from_string().

Member Function Documentation

◆ action() [1/2]

int32_t & guWhiteboard::TeleoperationControlVR::action ( )
inline

◆ action() [2/2]

const int32_t & guWhiteboard::TeleoperationControlVR::action ( ) const
inline

Definition at line 194 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::action.

◆ description()

std::string guWhiteboard::TeleoperationControlVR::description ( )
inline

◆ from_string()

void guWhiteboard::TeleoperationControlVR::from_string ( const std::string &  t_str)
inline

◆ HeadPitch() [1/2]

float & guWhiteboard::TeleoperationControlVR::HeadPitch ( )
inline

◆ HeadPitch() [2/2]

const float & guWhiteboard::TeleoperationControlVR::HeadPitch ( ) const
inline

◆ HeadYaw() [1/2]

float & guWhiteboard::TeleoperationControlVR::HeadYaw ( )
inline

◆ HeadYaw() [2/2]

const float & guWhiteboard::TeleoperationControlVR::HeadYaw ( ) const
inline

Definition at line 209 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::HeadYaw.

◆ ip() [1/2]

uint8_t & guWhiteboard::TeleoperationControlVR::ip ( )
inline

◆ ip() [2/2]

const uint8_t & guWhiteboard::TeleoperationControlVR::ip ( ) const
inline

Definition at line 179 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::ip.

◆ operator!=() [1/2]

bool guWhiteboard::TeleoperationControlVR::operator!= ( const TeleoperationControlVR t_other) const
inline

Definition at line 159 of file TeleoperationControlVR.hpp.

◆ operator!=() [2/2]

bool guWhiteboard::TeleoperationControlVR::operator!= ( const wb_teleoperation_control_v_r t_other) const
inline

Definition at line 169 of file TeleoperationControlVR.hpp.

◆ operator=() [1/2]

◆ operator=() [2/2]

TeleoperationControlVR & guWhiteboard::TeleoperationControlVR::operator= ( const TeleoperationControlVR t_other)
inline

Copy Assignment Operator.

Definition at line 131 of file TeleoperationControlVR.hpp.

References action(), HeadPitch(), HeadYaw(), ip(), sayString(), selectedCamera(), stance(), streamType(), timestamp(), turn(), and walk().

◆ operator==() [1/2]

bool guWhiteboard::TeleoperationControlVR::operator== ( const TeleoperationControlVR t_other) const
inline

◆ operator==() [2/2]

bool guWhiteboard::TeleoperationControlVR::operator== ( const wb_teleoperation_control_v_r t_other) const
inline

Definition at line 164 of file TeleoperationControlVR.hpp.

References TeleoperationControlVR().

◆ sayString() [1/3]

const char * guWhiteboard::TeleoperationControlVR::sayString ( ) const
inline

◆ sayString() [2/3]

char & guWhiteboard::TeleoperationControlVR::sayString ( int  t_i)
inline

◆ sayString() [3/3]

const char & guWhiteboard::TeleoperationControlVR::sayString ( int  t_i) const
inline

◆ sayString_size()

size_t guWhiteboard::TeleoperationControlVR::sayString_size ( ) const
inline

Definition at line 284 of file TeleoperationControlVR.hpp.

◆ selectedCamera() [1/2]

int32_t & guWhiteboard::TeleoperationControlVR::selectedCamera ( )
inline

◆ selectedCamera() [2/2]

const int32_t & guWhiteboard::TeleoperationControlVR::selectedCamera ( ) const
inline

◆ set_action()

void guWhiteboard::TeleoperationControlVR::set_action ( const int32_t &  t_newValue)
inline

Definition at line 199 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::action.

Referenced by from_string().

◆ set_HeadPitch()

void guWhiteboard::TeleoperationControlVR::set_HeadPitch ( const float &  t_newValue)
inline

Definition at line 229 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::HeadPitch.

Referenced by from_string().

◆ set_HeadYaw()

void guWhiteboard::TeleoperationControlVR::set_HeadYaw ( const float &  t_newValue)
inline

Definition at line 214 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::HeadYaw.

Referenced by from_string().

◆ set_ip()

void guWhiteboard::TeleoperationControlVR::set_ip ( const uint8_t &  t_newValue)
inline

Definition at line 184 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::ip.

Referenced by from_string().

◆ set_sayString()

void guWhiteboard::TeleoperationControlVR::set_sayString ( const char *  t_newValue)
inline

◆ set_selectedCamera()

void guWhiteboard::TeleoperationControlVR::set_selectedCamera ( const int32_t &  t_newValue)
inline

Definition at line 274 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::selectedCamera.

Referenced by from_string().

◆ set_stance()

void guWhiteboard::TeleoperationControlVR::set_stance ( const int32_t &  t_newValue)
inline

Definition at line 244 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::stance.

Referenced by from_string().

◆ set_streamType()

void guWhiteboard::TeleoperationControlVR::set_streamType ( const int32_t &  t_newValue)
inline

Definition at line 259 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::streamType.

Referenced by from_string().

◆ set_timestamp()

void guWhiteboard::TeleoperationControlVR::set_timestamp ( const int32_t &  t_newValue)
inline

Definition at line 344 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::timestamp.

Referenced by from_string().

◆ set_turn()

void guWhiteboard::TeleoperationControlVR::set_turn ( const int32_t &  t_newValue)
inline

Definition at line 329 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::turn.

Referenced by from_string().

◆ set_walk()

void guWhiteboard::TeleoperationControlVR::set_walk ( const int32_t &  t_newValue)
inline

Definition at line 314 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::walk.

Referenced by from_string().

◆ stance() [1/2]

int32_t & guWhiteboard::TeleoperationControlVR::stance ( )
inline

◆ stance() [2/2]

const int32_t & guWhiteboard::TeleoperationControlVR::stance ( ) const
inline

Definition at line 239 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::stance.

◆ streamType() [1/2]

int32_t & guWhiteboard::TeleoperationControlVR::streamType ( )
inline

◆ streamType() [2/2]

const int32_t & guWhiteboard::TeleoperationControlVR::streamType ( ) const
inline

◆ timestamp() [1/2]

int32_t & guWhiteboard::TeleoperationControlVR::timestamp ( )
inline

◆ timestamp() [2/2]

const int32_t & guWhiteboard::TeleoperationControlVR::timestamp ( ) const
inline

◆ to_string()

std::string guWhiteboard::TeleoperationControlVR::to_string ( )
inline

◆ turn() [1/2]

int32_t & guWhiteboard::TeleoperationControlVR::turn ( )
inline

◆ turn() [2/2]

const int32_t & guWhiteboard::TeleoperationControlVR::turn ( ) const
inline

Definition at line 324 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::turn.

◆ walk() [1/2]

int32_t & guWhiteboard::TeleoperationControlVR::walk ( )
inline

◆ walk() [2/2]

const int32_t & guWhiteboard::TeleoperationControlVR::walk ( ) const
inline

Definition at line 309 of file TeleoperationControlVR.hpp.

References wb_teleoperation_control_v_r::walk.


The documentation for this class was generated from the following file: