gusimplewhiteboard
guWhiteboard::TemperatureSensors Class Reference

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

#include <TemperatureSensors.hpp>

Inheritance diagram for guWhiteboard::TemperatureSensors:
Collaboration diagram for guWhiteboard::TemperatureSensors:

Public Member Functions

 TemperatureSensors (bool t_LKneePitch=false, bool t_LAnklePitch=false, bool t_LAnkleRoll=false, bool t_RKneePitch=false, bool t_RAnklePitch=false, bool t_RAnkleRoll=false)
 Create a new TemperatureSensors. More...
 
 TemperatureSensors (const TemperatureSensors &t_other)
 Copy Constructor. More...
 
 TemperatureSensors (const struct wb_temperature_sensors &t_other)
 Copy Constructor. More...
 
TemperatureSensorsoperator= (const TemperatureSensors &t_other)
 Copy Assignment Operator. More...
 
TemperatureSensorsoperator= (const struct wb_temperature_sensors &t_other)
 Copy Assignment Operator. More...
 
bool operator== (const TemperatureSensors &t_other) const
 
bool operator!= (const TemperatureSensors &t_other) const
 
bool operator== (const wb_temperature_sensors &t_other) const
 
bool operator!= (const wb_temperature_sensors &t_other) const
 
bool & LKneePitch ()
 
const bool & LKneePitch () const
 
void set_LKneePitch (const bool &t_newValue)
 
bool & LAnklePitch ()
 
const bool & LAnklePitch () const
 
void set_LAnklePitch (const bool &t_newValue)
 
bool & LAnkleRoll ()
 
const bool & LAnkleRoll () const
 
void set_LAnkleRoll (const bool &t_newValue)
 
bool & RKneePitch ()
 
const bool & RKneePitch () const
 
void set_RKneePitch (const bool &t_newValue)
 
bool & RAnklePitch ()
 
const bool & RAnklePitch () const
 
void set_RAnklePitch (const bool &t_newValue)
 
bool & RAnkleRoll ()
 
const bool & RAnkleRoll () const
 
void set_RAnkleRoll (const bool &t_newValue)
 
 TemperatureSensors (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_temperature_sensors
bool LKneePitch
 Is the left knee pitch overheating. More...
 
bool LAnklePitch
 Is the left ankle pitch overheating. More...
 
bool LAnkleRoll
 Is the left ankle roll overheating. More...
 
bool RKneePitch
 Is the right knee pitch overheating. More...
 
bool RAnklePitch
 Is the right ankle pitch overheating. More...
 
bool RAnkleRoll
 Is the right ankle roll overheating. More...
 

Detailed Description

Provides a C++ wrapper around wb_temperature_sensors.

Definition at line 83 of file TemperatureSensors.hpp.

Constructor & Destructor Documentation

◆ TemperatureSensors() [1/4]

guWhiteboard::TemperatureSensors::TemperatureSensors ( bool  t_LKneePitch = false,
bool  t_LAnklePitch = false,
bool  t_LAnkleRoll = false,
bool  t_RKneePitch = false,
bool  t_RAnklePitch = false,
bool  t_RAnkleRoll = false 
)
inline

Create a new TemperatureSensors.

Definition at line 104 of file TemperatureSensors.hpp.

Referenced by operator==().

◆ TemperatureSensors() [2/4]

guWhiteboard::TemperatureSensors::TemperatureSensors ( const TemperatureSensors t_other)
inline

Copy Constructor.

Definition at line 111 of file TemperatureSensors.hpp.

References LAnklePitch(), LAnkleRoll(), LKneePitch(), RAnklePitch(), RAnkleRoll(), and RKneePitch().

◆ TemperatureSensors() [3/4]

◆ TemperatureSensors() [4/4]

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

String Constructor.

Definition at line 257 of file TemperatureSensors.hpp.

References from_string().

Member Function Documentation

◆ description()

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

◆ from_string()

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

◆ LAnklePitch() [1/2]

bool & guWhiteboard::TemperatureSensors::LAnklePitch ( )
inline

◆ LAnklePitch() [2/2]

const bool & guWhiteboard::TemperatureSensors::LAnklePitch ( ) const
inline

Definition at line 183 of file TemperatureSensors.hpp.

References wb_temperature_sensors::LAnklePitch.

◆ LAnkleRoll() [1/2]

bool & guWhiteboard::TemperatureSensors::LAnkleRoll ( )
inline

◆ LAnkleRoll() [2/2]

const bool & guWhiteboard::TemperatureSensors::LAnkleRoll ( ) const
inline

Definition at line 198 of file TemperatureSensors.hpp.

References wb_temperature_sensors::LAnkleRoll.

◆ LKneePitch() [1/2]

bool & guWhiteboard::TemperatureSensors::LKneePitch ( )
inline

◆ LKneePitch() [2/2]

const bool & guWhiteboard::TemperatureSensors::LKneePitch ( ) const
inline

Definition at line 168 of file TemperatureSensors.hpp.

References wb_temperature_sensors::LKneePitch.

◆ operator!=() [1/2]

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

Definition at line 148 of file TemperatureSensors.hpp.

◆ operator!=() [2/2]

bool guWhiteboard::TemperatureSensors::operator!= ( const wb_temperature_sensors t_other) const
inline

Definition at line 158 of file TemperatureSensors.hpp.

◆ operator=() [1/2]

◆ operator=() [2/2]

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

Copy Assignment Operator.

Definition at line 125 of file TemperatureSensors.hpp.

References LAnklePitch(), LAnkleRoll(), LKneePitch(), RAnklePitch(), RAnkleRoll(), and RKneePitch().

◆ operator==() [1/2]

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

◆ operator==() [2/2]

bool guWhiteboard::TemperatureSensors::operator== ( const wb_temperature_sensors t_other) const
inline

Definition at line 153 of file TemperatureSensors.hpp.

References TemperatureSensors().

◆ RAnklePitch() [1/2]

bool & guWhiteboard::TemperatureSensors::RAnklePitch ( )
inline

◆ RAnklePitch() [2/2]

const bool & guWhiteboard::TemperatureSensors::RAnklePitch ( ) const
inline

Definition at line 228 of file TemperatureSensors.hpp.

References wb_temperature_sensors::RAnklePitch.

◆ RAnkleRoll() [1/2]

bool & guWhiteboard::TemperatureSensors::RAnkleRoll ( )
inline

◆ RAnkleRoll() [2/2]

const bool & guWhiteboard::TemperatureSensors::RAnkleRoll ( ) const
inline

Definition at line 243 of file TemperatureSensors.hpp.

References wb_temperature_sensors::RAnkleRoll.

◆ RKneePitch() [1/2]

bool & guWhiteboard::TemperatureSensors::RKneePitch ( )
inline

◆ RKneePitch() [2/2]

const bool & guWhiteboard::TemperatureSensors::RKneePitch ( ) const
inline

Definition at line 213 of file TemperatureSensors.hpp.

References wb_temperature_sensors::RKneePitch.

◆ set_LAnklePitch()

void guWhiteboard::TemperatureSensors::set_LAnklePitch ( const bool &  t_newValue)
inline

Definition at line 188 of file TemperatureSensors.hpp.

References wb_temperature_sensors::LAnklePitch.

Referenced by from_string().

◆ set_LAnkleRoll()

void guWhiteboard::TemperatureSensors::set_LAnkleRoll ( const bool &  t_newValue)
inline

Definition at line 203 of file TemperatureSensors.hpp.

References wb_temperature_sensors::LAnkleRoll.

Referenced by from_string().

◆ set_LKneePitch()

void guWhiteboard::TemperatureSensors::set_LKneePitch ( const bool &  t_newValue)
inline

Definition at line 173 of file TemperatureSensors.hpp.

References wb_temperature_sensors::LKneePitch.

Referenced by from_string().

◆ set_RAnklePitch()

void guWhiteboard::TemperatureSensors::set_RAnklePitch ( const bool &  t_newValue)
inline

Definition at line 233 of file TemperatureSensors.hpp.

References wb_temperature_sensors::RAnklePitch.

Referenced by from_string().

◆ set_RAnkleRoll()

void guWhiteboard::TemperatureSensors::set_RAnkleRoll ( const bool &  t_newValue)
inline

Definition at line 248 of file TemperatureSensors.hpp.

References wb_temperature_sensors::RAnkleRoll.

Referenced by from_string().

◆ set_RKneePitch()

void guWhiteboard::TemperatureSensors::set_RKneePitch ( const bool &  t_newValue)
inline

Definition at line 218 of file TemperatureSensors.hpp.

References wb_temperature_sensors::RKneePitch.

Referenced by from_string().

◆ to_string()

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

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