#include <RtAudio.h>
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 | |
RtError (const char *p, TYPE tipe=RtError::UNSPECIFIED) | |
The constructor. More... | |
virtual | ~RtError (void) |
The destructor. More... | |
virtual void | printMessage (void) |
Prints "thrown" error message to stdout. More... | |
virtual const TYPE& | getType (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 |
|
|
|
The constructor.
|
|
The destructor.
|
|
Prints "thrown" error message to stdout.
|
|
Returns the "thrown" error message TYPE.
|
|
Returns the "thrown" error message string.
|
|
|
|
|
©2001-2002 CCRMA, Stanford University. All Rights Reserved. Maintained by Gary P. Scavone, gary@ccrma.stanford.edu
|