gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
ALSA::ALSADebug Class Reference

#include <ALSADebug.H>

Inheritance diagram for ALSA::ALSADebug:
[legend]
Collaboration diagram for ALSA::ALSADebug:
[legend]

Public Member Functions

 ALSADebug (void)
 
virtual int evaluateError (int errorNum)
 
virtual int evaluateError (int errorNum, std::string append)
 
bool noChannelError (int val)
 
- Public Member Functions inherited from Debug
 Debug ()
 
virtual ~Debug ()
 
std::string getErrorString (int errorNum)
 

Additional Inherited Members

- Protected Attributes inherited from Debug
std::map< int, std::string > errors
 This will contain a map between error numbers and descriptive std::strings for the errors. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ ALSADebug()

ALSA::ALSADebug::ALSADebug ( void  )
inline

Definition at line 41 of file ALSADebug.H.

Member Function Documentation

◆ evaluateError() [1/2]

virtual int ALSA::ALSADebug::evaluateError ( int  errorNum)
inlinevirtual

Displays the error header, which includes the error number and the mapped error std::string

Parameters
errorNumThe error number to use to index the errors map for textual information
Returns
The errorNum for further processing.

Reimplemented from Debug.

Examples:
ALSACaptureTest.C, ALSAExternalPluginTest.C, ALSAFullDuplexTest.C, and ALSAPlaybackTest.C.

Definition at line 61 of file ALSADebug.H.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ evaluateError() [2/2]

virtual int ALSA::ALSADebug::evaluateError ( int  errorNum,
std::string  append 
)
inlinevirtual

Appends a std::string to the error header.

Parameters
errorNumThe error number to use to index the errors map for textual information
appendA std::string message to append to the standard error.
Returns
The errorNum for further processing.

Reimplemented from Debug.

Definition at line 70 of file ALSADebug.H.

Here is the call graph for this function:

◆ noChannelError()

bool ALSA::ALSADebug::noChannelError ( int  val)
inline

Check if an error is ALSA_MIXER_NO_CHANNEL_ERROR

Parameters
varThe error value to compare against
Returns
true if var == ALSA_MIXER_NO_CHANNEL_ERROR

Definition at line 78 of file ALSADebug.H.


The documentation for this class was generated from the following file:
gtkIOStream: ALSA::ALSADebug Class Reference
GTK+ IOStream  Beta