#include <logger_formatters.hh>
Inheritance diagram for lestes::msg::plain_formatter:

Public Member Functions | |
| virtual ::std::ostream & | format (const ptr< logger > &,::std::ostream &) |
| virtual void | format_end (const ptr< logger > &,::std::ostream &) |
Static Public Member Functions | |
| static ptr< plain_formatter > | instance () |
Protected Member Functions | |
| plain_formatter () | |
Static Private Attributes | |
| static ptr< plain_formatter > | the_instance = the_instance |
Definition at line 67 of file logger_formatters.hh.
| lestes::msg::plain_formatter::plain_formatter | ( | ) | [protected] |
| ptr< plain_formatter > lestes::msg::plain_formatter::instance | ( | ) | [static] |
Definition at line 86 of file logger_formatters.cc.
References plain_formatter(), and the_instance.
Referenced by lestes::msg::formatter_factory::create_formatter().
00087 { 00088 if (!the_instance) 00089 the_instance = new plain_formatter(); 00090 return the_instance; 00091 }
| std::ostream & lestes::msg::plain_formatter::format | ( | const ptr< logger > & | , | |
| ::std::ostream & | ||||
| ) | [virtual] |
| void lestes::msg::plain_formatter::format_end | ( | const ptr< logger > & | , | |
| ::std::ostream & | ||||
| ) | [virtual] |
ptr< plain_formatter > lestes::msg::plain_formatter::the_instance = the_instance [static, private] |
1.5.1-20070107