gusimplewhiteboard
guWhiteboard::NXT_Lights_Control Class Reference

Class for controlling differential robots Defines whiteboard message. More...

#include <NXT_Lights_Control.hpp>

Inheritance diagram for guWhiteboard::NXT_Lights_Control:
Collaboration diagram for guWhiteboard::NXT_Lights_Control:

Public Member Functions

 NXT_Lights_Control ()
 Designated constructor. More...
 
 NXT_Lights_Control (const std::string &name)
 String constructor. More...
 
std::string description ()
 get message description More...
 
void from_string (std::string str)
 string conversion More...
 
bool operator== (const NXT_Lights_Control &s)
 override equality operator so we can compare instances More...
 

Detailed Description

Class for controlling differential robots Defines whiteboard message.

Definition at line 17 of file NXT_Lights_Control.hpp.

Constructor & Destructor Documentation

◆ NXT_Lights_Control() [1/2]

guWhiteboard::NXT_Lights_Control::NXT_Lights_Control ( )
inline

Designated constructor.

Definition at line 20 of file NXT_Lights_Control.hpp.

◆ NXT_Lights_Control() [2/2]

guWhiteboard::NXT_Lights_Control::NXT_Lights_Control ( const std::string &  name)
inline

String constructor.

Definition at line 24 of file NXT_Lights_Control.hpp.

References from_string().

Member Function Documentation

◆ description()

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

get message description

Definition at line 29 of file NXT_Lights_Control.hpp.

References u_int8_t, and wb_lights_h_NUMBER_OF_LIGHTS.

◆ from_string()

void guWhiteboard::NXT_Lights_Control::from_string ( std::string  str)
inline

string conversion

Definition at line 39 of file NXT_Lights_Control.hpp.

References u_int8_t, and wb_lights_h_NUMBER_OF_LIGHTS.

Referenced by NXT_Lights_Control().

◆ operator==()

bool guWhiteboard::NXT_Lights_Control::operator== ( const NXT_Lights_Control s)
inline

override equality operator so we can compare instances

Definition at line 53 of file NXT_Lights_Control.hpp.

References u_int8_t, and wb_lights_h_NUMBER_OF_LIGHTS.


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