Gazebo

GazeboMessage Class Reference
[Server]

#include <GazeboMessage.hh>

List of all members.


Detailed Description

Gazebo class for outputings messages Use gzmsg(level) as an ostream to output messages, where level is an integer priority level.

Example:

   gzmsg(0) << "This is an important message";
   gzmsg(2) << "This is a less important message";
   

Public Member Functions

 GazeboMessage ()
virtual ~GazeboMessage ()
void Load (XMLConfigNode *node)
void SetVerbose (int level)
std::ostream & Msg (int level=0)
std::ofstream & Log ()

Static Public Member Functions

static GazeboMessageInstance ()

Constructor & Destructor Documentation

GazeboMessage (  ) 

Default constructor

virtual ~GazeboMessage (  )  [virtual]

Destructor


Member Function Documentation

static GazeboMessage* Instance (  )  [static]

Return an instance to this class

void Load ( XMLConfigNode node  ) 

Load the message parameters

void SetVerbose ( int  level  ) 

Set the verbosity

Parameters:
level Level of the verbosity

std::ostream& Msg ( int  level = 0  ) 

Use this to output a message to the terminal

Parameters:
level Level of the message

std::ofstream& Log (  ) 

Use this to output a message to a log file


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

Last updated Aug 04 2007