csl::Seekable Class Reference

#include <CSL_Core.h>

Inheritance diagram for csl::Seekable:

csl::Abst_SoundFile csl::BufferStream csl::RingBufferTap csl::CASoundFile csl::JSoundFile csl::LSoundFile

List of all members.

Public Member Functions

 Seekable ()
 Constructor.
virtual ~Seekable ()
virtual unsigned seekTo (int position, SeekPosition whence)=0 throw (CException)
 general-purpose seek on a stream
virtual void reset () throw (CException)
 reset-to-zero
virtual unsigned duration () const =0
 number of frames in the Seekable

Public Attributes

unsigned mCurrentFrame
 where I currently am in the buffer
double mActualFrame
 where I currently am in the buffer


Detailed Description

Seekable -- a mix-in for positionable streams

Constructor & Destructor Documentation

csl::Seekable::Seekable (  )  [inline]

Constructor.

virtual csl::Seekable::~Seekable (  )  [inline, virtual]


Member Function Documentation

virtual unsigned csl::Seekable::seekTo ( int  position,
SeekPosition  whence 
) throw (CException) [pure virtual]

general-purpose seek on a stream

Implemented in csl::Abst_SoundFile, csl::CASoundFile, csl::JSoundFile, csl::LSoundFile, csl::RingBufferTap, and csl::BufferStream.

Referenced by reset().

void Seekable::reset (  )  throw (CException) [virtual]

reset-to-zero

References csl::kPositionStart, and seekTo().

virtual unsigned csl::Seekable::duration (  )  const [pure virtual]

number of frames in the Seekable

Implemented in csl::Abst_SoundFile, csl::JSoundFile, csl::RingBufferTap, and csl::BufferStream.


Member Data Documentation

where I currently am in the buffer


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

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8