foobar2000 SDK  2015-08-03
Public Types | Public Member Functions | Private Member Functions
event_loggerabstract

#include <event_logger.h>

+ Inheritance diagram for event_logger:

Public Types

enum  { severity_status, severity_warning, severity_error }
 
- Public Types inherited from service_base
typedef service_base t_interface
 

Public Member Functions

virtual void log_entry (const char *line, unsigned severity)=0
 
void log_error (const char *line)
 
void log_status (const char *line)
 
void log_warning (const char *line)
 
- Public Member Functions inherited from service_base
template<typename outPtr_t >
bool cast (outPtr_t &outPtr)
 
virtual int service_add_ref ()=0 throw ()
 
virtual bool service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid)
 
template<class T >
bool service_query_t (service_ptr_t< T > &p_out)
 
virtual int service_release ()=0 throw ()
 

Private Member Functions

 FB2K_MAKE_SERVICE_INTERFACE (event_logger, service_base)
 

Additional Inherited Members

- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Definition at line 1 of file event_logger.h.

Member Enumeration Documentation

anonymous enum
Enumerator
severity_status 
severity_warning 
severity_error 

Definition at line 4 of file event_logger.h.

Member Function Documentation

event_logger::FB2K_MAKE_SERVICE_INTERFACE ( event_logger  ,
service_base   
)
private
virtual void event_logger::log_entry ( const char *  line,
unsigned  severity 
)
pure virtual
void event_logger::log_error ( const char *  line)
inline

Definition at line 11 of file event_logger.h.

11 {log_entry(line, severity_error);}
virtual void log_entry(const char *line, unsigned severity)=0
void event_logger::log_status ( const char *  line)
inline

Definition at line 9 of file event_logger.h.

virtual void log_entry(const char *line, unsigned severity)=0
void event_logger::log_warning ( const char *  line)
inline

Definition at line 10 of file event_logger.h.

virtual void log_entry(const char *line, unsigned severity)=0

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