Back to index

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

Standard printf output console. More...

#include <OutputDevice.h>

Inheritance diagram for nux::PrintfOutputConsole:
Inheritance graph
[legend]
Collaboration diagram for nux::PrintfOutputConsole:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Serialize (const TCHAR *text, const TCHAR *log_prefix, int severity)
 Write text to the standard printf output debug console.
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 (PrintfOutputConsole, GlobalSingletonInitializer)

Detailed Description

Standard printf output console.

Definition at line 115 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::PrintfOutputConsole::Serialize ( const TCHAR text,
const TCHAR log_prefix,
int  severity 
) [virtual]

Write text to the standard printf output debug console.

Parameters:
textText to log.
log_prefixPrefix for the text.
severityImportance of the message.

Implements nux::LogOutputDevice.

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  ,
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: