Back to index

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

Output to null device. More...

#include <OutputDevice.h>

Inheritance diagram for nux::NullOutput:
Inheritance graph
Collaboration diagram for nux::NullOutput:
Collaboration graph

List of all members.

Public Member Functions

void Serialize (const TCHAR *V, const TCHAR *LogPrefix, int severity)
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

Private Member Functions

 NUX_DECLARE_GLOBAL_OBJECT (NullOutput, GlobalSingletonInitializer)

Detailed Description

Output to null device.

Definition at line 53 of file OutputDevice.h.

Member Function Documentation

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::LogOutputDevice::Flush ( ) [virtual, inherited]

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

Definition at line 81 of file OutputDevice.cpp.


void nux::NullOutput::Serialize ( const TCHAR V,
const TCHAR LogPrefix,
int  severity 
) [inline, virtual]

Implements nux::LogOutputDevice.

Definition at line 57 of file OutputDevice.h.

void nux::LogOutputDevice::Shutdown ( ) [virtual, inherited]

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

Definition at line 76 of file OutputDevice.cpp.

    _object_destroyed = true;
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.

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