csl::NullIO Class Reference

#include <NullIO.h>

Inheritance diagram for csl::NullIO:

csl::IO csl::ThreadPthread csl::Thread List of all members.

Detailed Description

NullIO is an IO that uses a thread and a timer to call its graph's nextBuffer(); it doesn't do anything with the resulting buffer, but assumes that other objects (observers of the graph) will handle some actual IO.


Public Member Functions

 NullIO ()
 Constructor.
virtual ~NullIO ()
void start () throw (CException)
 start my timer thread
void stop () throw (CException)
 stop the timer thread
BuffergetInput () throw (CException)
BuffergetInput (unsigned numFrames, unsigned numChannels) throw (CException)

Static Protected Member Functions

static void * FeederFunction (void *arg)
 shared init function

Protected Attributes

bool mRunning
ThreadmThread
 whether or not I'm running my timer thread
SynchmSynch
Buffer mEmptyBuffer


Constructor & Destructor Documentation

NullIO::NullIO  ) 
 

Constructor.

NullIO::~NullIO  )  [virtual]
 


Member Function Documentation

void NullIO::start void   )  throw (CException)
 

start my timer thread

< start my timer thread

whether or not I'm running

< my timer thread

void NullIO::stop void   )  throw (CException)
 

stop the timer thread

< stop the timer thread

Buffer& csl::NullIO::getInput  )  throw (CException) [inline]
 

Buffer& csl::NullIO::getInput unsigned  numFrames,
unsigned  numChannels
throw (CException) [inline]
 

void * NullIO::FeederFunction void *  arg  )  [static, protected]
 

shared init function


Member Data Documentation

bool csl::NullIO::mRunning [protected]
 

Thread* csl::NullIO::mThread [protected]
 

whether or not I'm running my timer thread

Reimplemented from csl::ThreadPthread.

Synch* csl::NullIO::mSynch [protected]
 

Buffer csl::NullIO::mEmptyBuffer [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Apr 6 20:18:18 2007 for CSL by  doxygen 1.4.5-20051010