Back to index

nux  3.0.0
Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | Private Attributes
nux::LogOutputRedirector Class Reference

#include <OutputDevice.h>

Inheritance diagram for nux::LogOutputRedirector:
Inheritance graph
Collaboration diagram for nux::LogOutputRedirector:
Collaboration graph

List of all members.

Public Member Functions

virtual void AddOutputDevice (LogOutputDevice *OutputDevice)
virtual void RemoveOutputDevice (LogOutputDevice *OutputDevice)
virtual bool IsRedirectingTo (LogOutputDevice *OutputDevice)
void Serialize (const TCHAR *log_data, const TCHAR *log_prefix, int severity)
void Flush ()
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

Private Member Functions

 NUX_DECLARE_GLOBAL_OBJECT (LogOutputRedirector, GlobalSingletonInitializer)

Private Attributes

std::vector< LogOutputDevice * > OutputDevices

Detailed Description

Definition at line 129 of file OutputDevice.h.

Member Function Documentation

virtual void nux::LogOutputRedirector::AddOutputDevice ( LogOutputDevice OutputDevice) [virtual]
void nux::LogOutputDevice::Disable ( ) [inherited]

Definition at line 91 of file OutputDevice.cpp.

    _enabled = false;
void nux::LogOutputDevice::Enable ( ) [inherited]

Definition at line 86 of file OutputDevice.cpp.

    _enabled = true;
void nux::LogOutputRedirector::Flush ( ) [virtual]

Reimplemented from nux::LogOutputDevice.

virtual bool nux::LogOutputRedirector::IsRedirectingTo ( LogOutputDevice OutputDevice) [virtual]
virtual void nux::LogOutputRedirector::RemoveOutputDevice ( LogOutputDevice OutputDevice) [virtual]
void nux::LogOutputRedirector::Serialize ( const TCHAR log_data,
const TCHAR log_prefix,
int  severity 
) [virtual]

Implements nux::LogOutputDevice.

Reimplemented from nux::LogOutputDevice.

nux::LogOutputDevice::VARARG_DECL ( void  ,
) [inherited]

Member Data Documentation

bool nux::LogOutputDevice::_enabled [protected, inherited]

Definition at line 49 of file OutputDevice.h.

bool nux::LogOutputDevice::_object_destroyed [protected, inherited]

Definition at line 48 of file OutputDevice.h.

Definition at line 37 of file OutputDevice.h.

Definition at line 142 of file OutputDevice.h.

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