CSL  6.0
csl::Seekable Class Referenceabstract

Seekable – a mix-in for positionable streams. More...

#include <CSL_Core.h>

+ Inheritance diagram for csl::Seekable:

Public Member Functions

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

Public Attributes

unsigned mCurrentFrame
 where I currently am in the buffer More...
 
double mActualFrame
 where I actually am in the buffer More...
 

Detailed Description

Seekable – a mix-in for positionable streams.

Definition at line 577 of file CSL_Core.h.

Constructor & Destructor Documentation

csl::Seekable::Seekable ( )
inline

Constructor.

Definition at line 579 of file CSL_Core.h.

virtual csl::Seekable::~Seekable ( )
inlinevirtual

Definition at line 580 of file CSL_Core.h.

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::BufferStream, csl::LSoundFile, csl::JSoundFile, csl::CASoundFile, and csl::RingBufferTap.

Referenced by reset().

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

reset-to-zero

Definition at line 1277 of file CSL_Core.cpp.

References csl::kPositionStart, and seekTo().

virtual unsigned csl::Seekable::duration ( )
inlinevirtual

Reimplemented in csl::Abst_SoundFile, csl::BufferStream, and csl::RingBufferTap.

Definition at line 588 of file CSL_Core.h.

Member Data Documentation

double csl::Seekable::mActualFrame

where I actually am in the buffer

Definition at line 583 of file CSL_Core.h.


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