OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
osgMyGUI::CustomLogListener Class Reference

Custom MyGUI::ILogListener interface implementation being able to portably handle UTF-8 encoded path. More...

#include <myguiloglistener.hpp>

Inheritance diagram for osgMyGUI::CustomLogListener:
Collaboration diagram for osgMyGUI::CustomLogListener:

Public Member Functions

 CustomLogListener (const std::string &name)
 
 ~CustomLogListener ()
 
virtual void open ()
 
virtual void close ()
 
virtual void flush ()
 
virtual void log (const std::string &_section, MyGUI::LogLevel _level, const struct tm *_time, const std::string &_message, const char *_file, int _line)
 
const std::string & getFileName () const
 

Private Attributes

boost::filesystem::ofstream mStream
 
std::string mFileName
 

Detailed Description

Custom MyGUI::ILogListener interface implementation being able to portably handle UTF-8 encoded path.

Todo:
try patching MyGUI to make this easier

Constructor & Destructor Documentation

osgMyGUI::CustomLogListener::CustomLogListener ( const std::string &  name)
inline
osgMyGUI::CustomLogListener::~CustomLogListener ( )
inline

Member Function Documentation

void osgMyGUI::CustomLogListener::close ( )
virtual
void osgMyGUI::CustomLogListener::flush ( )
virtual
const std::string& osgMyGUI::CustomLogListener::getFileName ( ) const
inline
void osgMyGUI::CustomLogListener::log ( const std::string &  _section,
MyGUI::LogLevel  _level,
const struct tm *  _time,
const std::string &  _message,
const char *  _file,
int  _line 
)
virtual
void osgMyGUI::CustomLogListener::open ( )
virtual

Member Data Documentation

std::string osgMyGUI::CustomLogListener::mFileName
private
boost::filesystem::ofstream osgMyGUI::CustomLogListener::mStream
private

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