argos::SLogColor Struct Reference

Stream modifier to set attribute and color of the subsequent text. More...

#include <argos_colored_text.h>

Public Member Functions

 SLogColor ()
 Constructor with standard settings. More...
 
 SLogColor (EARGoSLogAttributes e_attribute, EARGoSLogColors e_foreground_color)
 Constructor with custom settings. More...
 

Public Attributes

UInt8 Attribute
 The text attribute. More...
 
UInt8 Foreground
 The foreground color. More...
 

Detailed Description

Stream modifier to set attribute and color of the subsequent text.

Definition at line 49 of file argos_colored_text.h.

Constructor & Destructor Documentation

◆ SLogColor() [1/2]

argos::SLogColor::SLogColor ( )
inline

Constructor with standard settings.

Definition at line 62 of file argos_colored_text.h.

◆ SLogColor() [2/2]

argos::SLogColor::SLogColor ( EARGoSLogAttributes  e_attribute,
EARGoSLogColors  e_foreground_color 
)
inline

Constructor with custom settings.

Definition at line 68 of file argos_colored_text.h.

Member Data Documentation

◆ Attribute

UInt8 argos::SLogColor::Attribute

The text attribute.

Definition at line 53 of file argos_colored_text.h.

◆ Foreground

UInt8 argos::SLogColor::Foreground

The foreground color.

Definition at line 57 of file argos_colored_text.h.