All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | List of all members
gazebo::common::Console Class Reference

Message, error, warning functionality. More...

#include <common/commom.hh>

Inheritance diagram for gazebo::common::Console:
Inheritance graph
[legend]

Classes

class  NullStream
 A stream that does not output anywhere.

Public Member Functions

std::ostream & ColorErr (const std::string &_lbl, const std::string &_file, unsigned int _line, int _color)
 Use this to output an error to the terminal.
std::ostream & ColorMsg (const std::string &_lbl, int _color)
 Use this to output a colored message to the terminal.
bool GetQuiet () const
 Get whether quiet output is set.
void Init (const std::string &_logFilename)
 Load the message parameters.
bool IsInitialized () const
 Return true if Init has been called.
std::ofstream & Log ()
 Use this to output a colored message to the terminal.
void SetQuiet (bool _q)
 Set quiet output.

Additional Inherited Members

- Static Public Member Functions inherited from SingletonT< T >
static T * Instance ()
 Get an instance of the singleton.
- Protected Member Functions inherited from SingletonT< T >
 SingletonT ()
 Constructor.
virtual ~SingletonT ()
 Destructor.

Detailed Description

Message, error, warning functionality.


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