Tutorial   Class/Enum List   File List   Compound Members  

RtAudioError Class Reference

#include <RtAudio.h>

List of all members.

Public Types

enum  TYPE {
  WARNING, DEBUG_WARNING, UNSPECIFIED, NO_DEVICES_FOUND,
  INVALID_DEVICE, INVALID_STREAM, MEMORY_ERROR, INVALID_PARAMETER,
  DRIVER_ERROR, SYSTEM_ERROR, THREAD_ERROR
}

Public Methods

 RtAudioError (const char *p, TYPE tipe=RtAudioError::UNSPECIFIED)
 The constructor. More...

virtual ~RtAudioError (void)
 The destructor. More...

virtual void printMessage (void)
 Prints "thrown" error message to stdout. More...

virtual const TYPEgetType (void)
 Returns the "thrown" error message TYPE. More...

virtual const char* getMessage (void)
 Returns the "thrown" error message string. More...


Protected Attributes

char error_message [256]
TYPE type


Member Enumeration Documentation

enum RtAudioError::TYPE
 

Enumeration values:
WARNING  
DEBUG_WARNING  
UNSPECIFIED  
NO_DEVICES_FOUND  
INVALID_DEVICE  
INVALID_STREAM  
MEMORY_ERROR  
INVALID_PARAMETER  
DRIVER_ERROR  
SYSTEM_ERROR  
THREAD_ERROR  


Constructor & Destructor Documentation

RtAudioError::RtAudioError ( const char * p,
TYPE tipe = RtAudioError::UNSPECIFIED )
 

The constructor.

RtAudioError::~RtAudioError ( void ) [virtual]
 

The destructor.


Member Function Documentation

void RtAudioError::printMessage ( void ) [virtual]
 

Prints "thrown" error message to stdout.

const TYPE & RtAudioError::getType ( void ) [inline, virtual]
 

Returns the "thrown" error message TYPE.

const char * RtAudioError::getMessage ( void ) [inline, virtual]
 

Returns the "thrown" error message string.


Member Data Documentation

char RtAudioError::error_message [protected]
 

TYPE RtAudioError::type [protected]
 


The documentation for this class was generated from the following file:
©2001-2002 CCRMA, Stanford University. All Rights Reserved.
Maintained by Gary P. Scavone, gary@ccrma.stanford.edu