Robot Raconteur Core C++ Library
Public Member Functions | Public Attributes | List of all members
RobotRaconteur::rr_bool Struct Reference

Logical boolean represented using 8 bits. More...

Public Member Functions

 rr_bool ()
 Construct a new false rr_bool.
 
 rr_bool (uint8_t b)
 Construct a new rr_bool object. More...
 

Public Attributes

uint8_t value
 The vaue of the boolean. More...
 

Detailed Description

Logical boolean represented using 8 bits.

C++ does not have a standard 8 bit representation for boolean. Use this struct for booleans with Robot Raconteur messages. *

Constructor & Destructor Documentation

◆ rr_bool()

RobotRaconteur::rr_bool::rr_bool ( uint8_t  b)
inline

Construct a new rr_bool object.

Parameters
binitial logical value

Member Data Documentation

◆ value

uint8_t RobotRaconteur::rr_bool::value

The vaue of the boolean.

0 for false, >0 for true


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