gri_logger Class Reference

#include <gri_logger.h>

Collaboration diagram for gri_logger:

Collaboration graph
[legend]

List of all members.


Detailed Description

non-blocking logging to a file.

In reality, this may block, but only for a bounded time. Trust me, it's safe to use from portaudio and JACK callbacks.

Public Member Functions

 gri_logger (const char *filename)
 ~gri_logger ()
void write (const void *buf, size_t count)
void printf (const char *format,...)

Static Public Member Functions

static gri_logger_sptr singleton ()


Constructor & Destructor Documentation

gri_logger::gri_logger ( const char *  filename  ) 

Referenced by singleton().

gri_logger::~gri_logger (  ) 


Member Function Documentation

gri_logger_sptr gri_logger::singleton (  )  [static]

void gri_logger::write ( const void *  buf,
size_t  count 
)

void gri_logger::printf ( const char *  format,
  ... 
)

References write().


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

Generated on Thu Mar 27 14:43:08 2008 for GNU Radio 3.1.1 by  doxygen 1.5.5