Tutorial   Class/Enum List   File List   Compound Members  

RtError 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

 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 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 RtError::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

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

The constructor.

RtError::~RtError ( void ) [virtual]
 

The destructor.


Member Function Documentation

void RtError::printMessage ( void ) [virtual]
 

Prints "thrown" error message to stdout.

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

Returns the "thrown" error message TYPE.

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

Returns the "thrown" error message string.


Member Data Documentation

char RtError::error_message [protected]
 

TYPE RtError::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