Goby v2
Public Member Functions | List of all members
Group Class Reference

Defines a group of messages to be sent to the Goby logger. For Verbosity == verbose streams, all entries appear interleaved, but each group is offset with a different color. For Verbosity == gui streams, all groups have a separate subwindow. More...

#include <goby/common/logger/logger_manipulators.h>

Public Member Functions

 Group (const std::string &name="", const std::string &description="", goby::common::Colors::Color color=goby::common::Colors::nocolor)
 
Getters
std::string name () const
 Name of this group (used in the group manipulator)
 
std::string description () const
 Human readable description of this group.
 
goby::common::Colors::Color color () const
 Color to use when displaying this group (for streams that support terminal escape codes only: std::cout, std::cerr, std::clog)
 
bool enabled () const
 Is this group enabled?
 
Setters
void name (const std::string &s)
 
void description (const std::string &s)
 
void color (goby::common::Colors::Color c)
 
void enabled (bool b)
 

Detailed Description

Defines a group of messages to be sent to the Goby logger. For Verbosity == verbose streams, all entries appear interleaved, but each group is offset with a different color. For Verbosity == gui streams, all groups have a separate subwindow.

Definition at line 68 of file logger_manipulators.h.


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