Version: 8.3.0
Logger Class Reference

#include <SALOME_Logger_Server.hxx>

Inheritance diagram for Logger:

Public Member Functions

 Logger ()
 
 Logger (const char *filename)
 
virtual ~Logger ()
 
void putMessage (const char *message)
 
void ping ()
 
void SetOrb (CORBA::ORB_ptr orb)
 
void shutdown ()
 

Private Attributes

bool m_putIntoFile
 
std::ofstream m_outputFile
 
CORBA::ORB_ptr _orb
 

Static Private Attributes

static omni_mutex myLock
 

Constructor & Destructor Documentation

Logger::Logger ( )

References m_putIntoFile.

Logger::Logger ( const char filename)

References m_outputFile, m_putIntoFile, and out.

Logger::~Logger ( )
virtual

References m_outputFile, and m_putIntoFile.

Member Function Documentation

void Logger::ping ( )
void Logger::putMessage ( const char message)

References m_outputFile, m_putIntoFile, and myLock.

void Logger::SetOrb ( CORBA::ORB_ptr  orb)

Referenced by main().

void Logger::shutdown ( )

Field Documentation

CORBA::ORB_ptr Logger::_orb
private
std::ofstream Logger::m_outputFile
private

Referenced by Logger(), putMessage(), and ~Logger().

bool Logger::m_putIntoFile
private

Referenced by Logger(), putMessage(), and ~Logger().

omni_mutex Logger::myLock
staticprivate

Referenced by putMessage().