gusimplewhiteboard
guWhiteboard::SensorsHandSensors Class Reference

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

#include <SensorsHandSensors.hpp>

Inheritance diagram for guWhiteboard::SensorsHandSensors:
Collaboration diagram for guWhiteboard::SensorsHandSensors:

Public Member Functions

 SensorsHandSensors (bool t_LHand_Touch_Left=true, bool t_LHand_Touch_Back=true, bool t_LHand_Touch_Right=true, bool t_RHand_Touch_Left=true, bool t_RHand_Touch_Back=true, bool t_RHand_Touch_Right=true)
 Create a new SensorsHandSensors. More...
 
 SensorsHandSensors (const SensorsHandSensors &t_other)
 Copy Constructor. More...
 
 SensorsHandSensors (const struct wb_sensors_hand_sensors &t_other)
 Copy Constructor. More...
 
SensorsHandSensorsoperator= (const SensorsHandSensors &t_other)
 Copy Assignment Operator. More...
 
SensorsHandSensorsoperator= (const struct wb_sensors_hand_sensors &t_other)
 Copy Assignment Operator. More...
 
bool operator== (const SensorsHandSensors &t_other) const
 
bool operator!= (const SensorsHandSensors &t_other) const
 
bool operator== (const wb_sensors_hand_sensors &t_other) const
 
bool operator!= (const wb_sensors_hand_sensors &t_other) const
 
bool & LHand_Touch_Left ()
 
const bool & LHand_Touch_Left () const
 
void set_LHand_Touch_Left (const bool &t_newValue)
 
bool & LHand_Touch_Back ()
 
const bool & LHand_Touch_Back () const
 
void set_LHand_Touch_Back (const bool &t_newValue)
 
bool & LHand_Touch_Right ()
 
const bool & LHand_Touch_Right () const
 
void set_LHand_Touch_Right (const bool &t_newValue)
 
bool & RHand_Touch_Left ()
 
const bool & RHand_Touch_Left () const
 
void set_RHand_Touch_Left (const bool &t_newValue)
 
bool & RHand_Touch_Back ()
 
const bool & RHand_Touch_Back () const
 
void set_RHand_Touch_Back (const bool &t_newValue)
 
bool & RHand_Touch_Right ()
 
const bool & RHand_Touch_Right () const
 
void set_RHand_Touch_Right (const bool &t_newValue)
 
 SensorsHandSensors (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_sensors_hand_sensors
bool LHand_Touch_Left
 state of the hand capacitive sensor on the Left side of Left Hand, on / off. More...
 
bool LHand_Touch_Back
 state of the hand capacitive sensor on the Back of Left Hand, on / off. More...
 
bool LHand_Touch_Right
 state of the hand capacitive sensor on the Right side of Left Hand, on / off. More...
 
bool RHand_Touch_Left
 state of the hand capacitive sensor on the Left side of Right Hand, on / off. More...
 
bool RHand_Touch_Back
 state of the hand capacitive sensor on the Back of Right Hand, on / off. More...
 
bool RHand_Touch_Right
 state of the hand capacitive sensor on the Right side of Right Hand, on / off. More...
 

Detailed Description

Provides a C++ wrapper around wb_sensors_hand_sensors.

Definition at line 83 of file SensorsHandSensors.hpp.

Constructor & Destructor Documentation

◆ SensorsHandSensors() [1/4]

guWhiteboard::SensorsHandSensors::SensorsHandSensors ( bool  t_LHand_Touch_Left = true,
bool  t_LHand_Touch_Back = true,
bool  t_LHand_Touch_Right = true,
bool  t_RHand_Touch_Left = true,
bool  t_RHand_Touch_Back = true,
bool  t_RHand_Touch_Right = true 
)
inline

Create a new SensorsHandSensors.

Definition at line 104 of file SensorsHandSensors.hpp.

Referenced by operator==().

◆ SensorsHandSensors() [2/4]

guWhiteboard::SensorsHandSensors::SensorsHandSensors ( const SensorsHandSensors t_other)
inline

◆ SensorsHandSensors() [3/4]

◆ SensorsHandSensors() [4/4]

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

String Constructor.

Definition at line 257 of file SensorsHandSensors.hpp.

References from_string().

Member Function Documentation

◆ description()

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

◆ from_string()

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

◆ LHand_Touch_Back() [1/2]

bool & guWhiteboard::SensorsHandSensors::LHand_Touch_Back ( )
inline

◆ LHand_Touch_Back() [2/2]

const bool & guWhiteboard::SensorsHandSensors::LHand_Touch_Back ( ) const
inline

Definition at line 183 of file SensorsHandSensors.hpp.

References wb_sensors_hand_sensors::LHand_Touch_Back.

◆ LHand_Touch_Left() [1/2]

bool & guWhiteboard::SensorsHandSensors::LHand_Touch_Left ( )
inline

◆ LHand_Touch_Left() [2/2]

const bool & guWhiteboard::SensorsHandSensors::LHand_Touch_Left ( ) const
inline

Definition at line 168 of file SensorsHandSensors.hpp.

References wb_sensors_hand_sensors::LHand_Touch_Left.

◆ LHand_Touch_Right() [1/2]

bool & guWhiteboard::SensorsHandSensors::LHand_Touch_Right ( )
inline

◆ LHand_Touch_Right() [2/2]

const bool & guWhiteboard::SensorsHandSensors::LHand_Touch_Right ( ) const
inline

◆ operator!=() [1/2]

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

Definition at line 148 of file SensorsHandSensors.hpp.

◆ operator!=() [2/2]

bool guWhiteboard::SensorsHandSensors::operator!= ( const wb_sensors_hand_sensors t_other) const
inline

Definition at line 158 of file SensorsHandSensors.hpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

◆ operator==() [1/2]

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

◆ operator==() [2/2]

bool guWhiteboard::SensorsHandSensors::operator== ( const wb_sensors_hand_sensors t_other) const
inline

Definition at line 153 of file SensorsHandSensors.hpp.

References SensorsHandSensors().

◆ RHand_Touch_Back() [1/2]

bool & guWhiteboard::SensorsHandSensors::RHand_Touch_Back ( )
inline

◆ RHand_Touch_Back() [2/2]

const bool & guWhiteboard::SensorsHandSensors::RHand_Touch_Back ( ) const
inline

Definition at line 228 of file SensorsHandSensors.hpp.

References wb_sensors_hand_sensors::RHand_Touch_Back.

◆ RHand_Touch_Left() [1/2]

bool & guWhiteboard::SensorsHandSensors::RHand_Touch_Left ( )
inline

◆ RHand_Touch_Left() [2/2]

const bool & guWhiteboard::SensorsHandSensors::RHand_Touch_Left ( ) const
inline

Definition at line 213 of file SensorsHandSensors.hpp.

References wb_sensors_hand_sensors::RHand_Touch_Left.

◆ RHand_Touch_Right() [1/2]

bool & guWhiteboard::SensorsHandSensors::RHand_Touch_Right ( )
inline

◆ RHand_Touch_Right() [2/2]

const bool & guWhiteboard::SensorsHandSensors::RHand_Touch_Right ( ) const
inline

◆ set_LHand_Touch_Back()

void guWhiteboard::SensorsHandSensors::set_LHand_Touch_Back ( const bool &  t_newValue)
inline

Definition at line 188 of file SensorsHandSensors.hpp.

References wb_sensors_hand_sensors::LHand_Touch_Back.

Referenced by from_string().

◆ set_LHand_Touch_Left()

void guWhiteboard::SensorsHandSensors::set_LHand_Touch_Left ( const bool &  t_newValue)
inline

Definition at line 173 of file SensorsHandSensors.hpp.

References wb_sensors_hand_sensors::LHand_Touch_Left.

Referenced by from_string().

◆ set_LHand_Touch_Right()

void guWhiteboard::SensorsHandSensors::set_LHand_Touch_Right ( const bool &  t_newValue)
inline

Definition at line 203 of file SensorsHandSensors.hpp.

References wb_sensors_hand_sensors::LHand_Touch_Right.

Referenced by from_string().

◆ set_RHand_Touch_Back()

void guWhiteboard::SensorsHandSensors::set_RHand_Touch_Back ( const bool &  t_newValue)
inline

Definition at line 233 of file SensorsHandSensors.hpp.

References wb_sensors_hand_sensors::RHand_Touch_Back.

Referenced by from_string().

◆ set_RHand_Touch_Left()

void guWhiteboard::SensorsHandSensors::set_RHand_Touch_Left ( const bool &  t_newValue)
inline

Definition at line 218 of file SensorsHandSensors.hpp.

References wb_sensors_hand_sensors::RHand_Touch_Left.

Referenced by from_string().

◆ set_RHand_Touch_Right()

void guWhiteboard::SensorsHandSensors::set_RHand_Touch_Right ( const bool &  t_newValue)
inline

Definition at line 248 of file SensorsHandSensors.hpp.

References wb_sensors_hand_sensors::RHand_Touch_Right.

Referenced by from_string().

◆ to_string()

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

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