RTT::Logger::In Struct Reference

Notify the Logger in which 'module' the message occured. More...

#include <rtt/Logger.hpp>

List of all members.

Public Member Functions

 In (const std::string &module)

Public Attributes

std::string oldmod

Detailed Description

Notify the Logger in which 'module' the message occured.

This returns an object whose scope (i.e. {...} ) is indicative for the boundaries of the module. This is reset to the previous module name (default is 'Logger') after the in object is destroyed. Practical usage must thus have the form:

             Logger::log() << Logger::Warning << "My warning message"<<Logger::nl;
             Logger::log() << "A second message, still in MyModule"<<Logger::nl;
         Logger::log() << Logger::Info << "A message in module 'Logger'..."<<Logger::endl;

Definition at line 149 of file Logger.hpp.

The documentation for this struct was generated from the following file:
Generated on Thu Dec 23 13:22:43 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3