Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Friends
OVR::Log Class Reference

#include <OVR_Log.h>

List of all members.

Public Types

enum  { MaxLogBufferMessageSize = 2048 }

Public Member Functions

unsigned GetLoggingMask () const
 Log (unsigned logMask=LogMask_Debug)
void LogMessage (LogMessageType messageType, const char *fmt,...) OVR_LOG_VAARG_ATTRIBUTE(3
virtual void LogMessageVarg (LogMessageType messageType, const char *fmt, va_list argList)
void SetLoggingMask (unsigned logMask)
virtual ~Log ()

Static Public Member Functions

static LogConfigureDefaultLog (unsigned logMask=LogMask_Debug)
static void DefaultLogOutput (const char *textBuffer, bool debug)
void static void FormatLog (char *buffer, unsigned bufferSize, LogMessageType messageType, const char *fmt, va_list argList)
static LogGetDefaultLog ()
static LogGetGlobalLog ()
static bool IsDebugMessage (LogMessageType messageType)
static void SetGlobalLog (Log *log)

Private Attributes

unsigned LoggingMask

Friends

class System

Detailed Description

Definition at line 92 of file OVR_Log.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
MaxLogBufferMessageSize 

Definition at line 100 of file OVR_Log.h.


Constructor & Destructor Documentation

OVR::Log::Log ( unsigned  logMask = LogMask_Debug) [inline]

Definition at line 96 of file OVR_Log.h.

OVR::Log::~Log ( ) [virtual]

Definition at line 35 of file OVR_Log.cpp.


Member Function Documentation

static Log* OVR::Log::ConfigureDefaultLog ( unsigned  logMask = LogMask_Debug) [inline, static]

Definition at line 146 of file OVR_Log.h.

void OVR::Log::DefaultLogOutput ( const char *  textBuffer,
bool  debug 
) [static]

Definition at line 95 of file OVR_Log.cpp.

void OVR::Log::FormatLog ( char *  buffer,
unsigned  bufferSize,
LogMessageType  messageType,
const char *  fmt,
va_list  argList 
) [static]

Definition at line 68 of file OVR_Log.cpp.

Log * OVR::Log::GetDefaultLog ( ) [static]

Definition at line 141 of file OVR_Log.cpp.

Log * OVR::Log::GetGlobalLog ( ) [static]

Definition at line 132 of file OVR_Log.cpp.

unsigned OVR::Log::GetLoggingMask ( ) const [inline]

Definition at line 102 of file OVR_Log.h.

static bool OVR::Log::IsDebugMessage ( LogMessageType  messageType) [inline, static]

Definition at line 126 of file OVR_Log.h.

void OVR::Log::LogMessage ( LogMessageType  messageType,
const char *  fmt,
  ... 
)

Definition at line 59 of file OVR_Log.cpp.

void OVR::Log::LogMessageVarg ( LogMessageType  messageType,
const char *  fmt,
va_list  argList 
) [virtual]

Definition at line 45 of file OVR_Log.cpp.

void OVR::Log::SetGlobalLog ( Log log) [static]

Definition at line 127 of file OVR_Log.cpp.

void OVR::Log::SetLoggingMask ( unsigned  logMask) [inline]

Definition at line 103 of file OVR_Log.h.


Friends And Related Function Documentation

friend class System [friend]

Definition at line 94 of file OVR_Log.h.


Member Data Documentation

unsigned OVR::Log::LoggingMask [private]

Definition at line 155 of file OVR_Log.h.


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


oculus_sdk
Author(s):
autogenerated on Mon Oct 6 2014 03:01:20