Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Audio::Stream::NoBufferException Class Reference

#include <Stream.h>

Inheritance diagram for Audio::Stream::NoBufferException:
Audio::Exception

Public Member Functions

 NoBufferException ()
 
 NoBufferException (const NoBufferException &other)
 
 NoBufferException (const std::string &message)
 
- Public Member Functions inherited from Audio::Exception
 Exception ()
 
 Exception (const Exception &other)
 
 Exception (const std::string &message)
 
virtual ~Exception () throw ()
 
virtual const char * what () const throw ()
 

Detailed Description

No Buffer exception

Remarks
thrown when a call to getBufferImpl() is made without a preceding call to nextBufferImpl(). Notice that this is commonplace at times, since calling nextBufferImpl() would advance the stream, and sometimes one must read the current buffer without advancing the stream, but whether or not a call was made to nextBufferImpl() may be hard to know.

Definition at line 38 of file Stream.h.

Constructor & Destructor Documentation

Audio::Stream::NoBufferException::NoBufferException ( )
inline

Definition at line 40 of file Stream.h.

40 {}
Audio::Stream::NoBufferException::NoBufferException ( const NoBufferException other)
inline

Definition at line 41 of file Stream.h.

41 : Exception(other) {}
Audio::Stream::NoBufferException::NoBufferException ( const std::string &  message)
inlineexplicit

Definition at line 42 of file Stream.h.

42 : Exception(message) {}

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