Back to index

nux  3.0.0
Public Member Functions | Public Attributes | Protected Attributes
nux::LogOutputDevice Class Reference

#include <OutputDevice.h>

Inheritance diagram for nux::LogOutputDevice:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 LogOutputDevice ()
virtual ~LogOutputDevice ()
virtual void Serialize (const TCHAR *log_data, const TCHAR *log_prefix, int severity)=0
virtual void Flush ()
virtual void Shutdown ()
 VARARG_DECL (void, void,{}, LogFunction, VARARG_NONE, const TCHAR *, VARARG_EXTRA(int severity), VARARG_EXTRA(severity))
void Enable ()
void Disable ()

Public Attributes

BOOL m_terminated

Protected Attributes

bool _object_destroyed
bool _enabled

Detailed Description

Definition at line 31 of file OutputDevice.h.


Constructor & Destructor Documentation

Definition at line 65 of file OutputDevice.cpp.

  : _object_destroyed (false)
  {
    _enabled = true;
  }

Definition at line 71 of file OutputDevice.cpp.

  {
    _object_destroyed = true;
  }

Member Function Documentation

Definition at line 91 of file OutputDevice.cpp.

  {
    _enabled = false;
  }

Definition at line 86 of file OutputDevice.cpp.

  {
    _enabled = true;
  }
void nux::LogOutputDevice::Flush ( ) [virtual]

Reimplemented in nux::LogOutputRedirector, and nux::LogFileOutput.

Definition at line 81 of file OutputDevice.cpp.

  {

  }
virtual void nux::LogOutputDevice::Serialize ( const TCHAR log_data,
const TCHAR log_prefix,
int  severity 
) [pure virtual]
void nux::LogOutputDevice::Shutdown ( ) [virtual]

Reimplemented in nux::LogOutputRedirector, and nux::LogFileOutput.

Definition at line 76 of file OutputDevice.cpp.

  {
    _object_destroyed = true;
  }
nux::LogOutputDevice::VARARG_DECL ( void  ,
void   
)

Member Data Documentation

Definition at line 49 of file OutputDevice.h.

Definition at line 48 of file OutputDevice.h.

Definition at line 37 of file OutputDevice.h.


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