GNU Radio 3.2.2 C++ API
gri_logger Class Reference

non-blocking logging to a file. More...

#include <gri_logger.h>

List of all members.

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 ()

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.


Constructor & Destructor Documentation

gri_logger::gri_logger ( const char *  filename)
gri_logger::~gri_logger ( )

Member Function Documentation

void gri_logger::printf ( const char *  format,
  ... 
)
static gri_logger_sptr gri_logger::singleton ( ) [static]
void gri_logger::write ( const void *  buf,
size_t  count 
)

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