You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
6.5KB

  1. \section{Rt\-Audio\-Error Class Reference}
  2. \label{classRtAudioError}\index{RtAudioError@{Rt\-Audio\-Error}}
  3. {\tt \#include $<$Rt\-Audio.h$>$}
  4. \subsection*{Public Types}
  5. \begin{CompactItemize}
  6. \item
  7. enum {\bf TYPE} \{ {\bf WARNING},
  8. {\bf DEBUG\_\-WARNING},
  9. {\bf UNSPECIFIED},
  10. {\bf NO\_\-DEVICES\_\-FOUND},
  11. {\bf INVALID\_\-DEVICE},
  12. {\bf INVALID\_\-STREAM},
  13. {\bf MEMORY\_\-ERROR},
  14. {\bf INVALID\_\-PARAMETER},
  15. {\bf DRIVER\_\-ERROR},
  16. {\bf SYSTEM\_\-ERROR},
  17. {\bf THREAD\_\-ERROR}
  18. \}
  19. \end{CompactItemize}
  20. \subsection*{Public Methods}
  21. \begin{CompactItemize}
  22. \item
  23. {\bf Rt\-Audio\-Error} (const char $\ast$p, {\bf TYPE} tipe=Rt\-Audio\-Error::UNSPECIFIED)
  24. \begin{CompactList}\small\item\em The constructor.\item\end{CompactList}\item
  25. virtual {\bf $\sim$Rt\-Audio\-Error} (void)
  26. \begin{CompactList}\small\item\em The destructor.\item\end{CompactList}\item
  27. virtual void {\bf print\-Message} (void)
  28. \begin{CompactList}\small\item\em Prints \char`\"{}thrown\char`\"{} error message to stdout.\item\end{CompactList}\item
  29. virtual const {\bf TYPE}\& {\bf get\-Type} (void)
  30. \begin{CompactList}\small\item\em Returns the \char`\"{}thrown\char`\"{} error message TYPE.\item\end{CompactList}\item
  31. virtual const char$\ast$ {\bf get\-Message} (void)
  32. \begin{CompactList}\small\item\em Returns the \char`\"{}thrown\char`\"{} error message string.\item\end{CompactList}\end{CompactItemize}
  33. \subsection*{Protected Attributes}
  34. \begin{CompactItemize}
  35. \item
  36. char {\bf error\_\-message} [256]
  37. \item
  38. {\bf TYPE} {\bf type}
  39. \end{CompactItemize}
  40. \subsection{Member Enumeration Documentation}
  41. \index{RtAudioError@{Rt\-Audio\-Error}!TYPE@{TYPE}}
  42. \index{TYPE@{TYPE}!RtAudioError@{Rt\-Audio\-Error}}
  43. \subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum Rt\-Audio\-Error::TYPE}\label{classRtAudioError_s11}
  44. \begin{Desc}
  45. \item[{\bf Enumeration values:}]\par
  46. \begin{description}
  47. \index{WARNING@{WARNING}!RtAudioError@{Rt\-Audio\-Error}}\index{RtAudioError@{RtAudioError}!WARNING@{WARNING}}\item[
  48. {\em WARNING}\label{classRtAudioError_s11s0}
  49. ]\index{DEBUG_WARNING@{DEBUG\_\-WARNING}!RtAudioError@{Rt\-Audio\-Error}}\index{RtAudioError@{RtAudioError}!DEBUG_WARNING@{DEBUG\_\-WARNING}}\item[
  50. {\em DEBUG\_\-WARNING}\label{classRtAudioError_s11s1}
  51. ]\index{UNSPECIFIED@{UNSPECIFIED}!RtAudioError@{Rt\-Audio\-Error}}\index{RtAudioError@{RtAudioError}!UNSPECIFIED@{UNSPECIFIED}}\item[
  52. {\em UNSPECIFIED}\label{classRtAudioError_s11s2}
  53. ]\index{NO_DEVICES_FOUND@{NO\_\-DEVICES\_\-FOUND}!RtAudioError@{Rt\-Audio\-Error}}\index{RtAudioError@{RtAudioError}!NO_DEVICES_FOUND@{NO\_\-DEVICES\_\-FOUND}}\item[
  54. {\em NO\_\-DEVICES\_\-FOUND}\label{classRtAudioError_s11s3}
  55. ]\index{INVALID_DEVICE@{INVALID\_\-DEVICE}!RtAudioError@{Rt\-Audio\-Error}}\index{RtAudioError@{RtAudioError}!INVALID_DEVICE@{INVALID\_\-DEVICE}}\item[
  56. {\em INVALID\_\-DEVICE}\label{classRtAudioError_s11s4}
  57. ]\index{INVALID_STREAM@{INVALID\_\-STREAM}!RtAudioError@{Rt\-Audio\-Error}}\index{RtAudioError@{RtAudioError}!INVALID_STREAM@{INVALID\_\-STREAM}}\item[
  58. {\em INVALID\_\-STREAM}\label{classRtAudioError_s11s5}
  59. ]\index{MEMORY_ERROR@{MEMORY\_\-ERROR}!RtAudioError@{Rt\-Audio\-Error}}\index{RtAudioError@{RtAudioError}!MEMORY_ERROR@{MEMORY\_\-ERROR}}\item[
  60. {\em MEMORY\_\-ERROR}\label{classRtAudioError_s11s6}
  61. ]\index{INVALID_PARAMETER@{INVALID\_\-PARAMETER}!RtAudioError@{Rt\-Audio\-Error}}\index{RtAudioError@{RtAudioError}!INVALID_PARAMETER@{INVALID\_\-PARAMETER}}\item[
  62. {\em INVALID\_\-PARAMETER}\label{classRtAudioError_s11s7}
  63. ]\index{DRIVER_ERROR@{DRIVER\_\-ERROR}!RtAudioError@{Rt\-Audio\-Error}}\index{RtAudioError@{RtAudioError}!DRIVER_ERROR@{DRIVER\_\-ERROR}}\item[
  64. {\em DRIVER\_\-ERROR}\label{classRtAudioError_s11s8}
  65. ]\index{SYSTEM_ERROR@{SYSTEM\_\-ERROR}!RtAudioError@{Rt\-Audio\-Error}}\index{RtAudioError@{RtAudioError}!SYSTEM_ERROR@{SYSTEM\_\-ERROR}}\item[
  66. {\em SYSTEM\_\-ERROR}\label{classRtAudioError_s11s9}
  67. ]\index{THREAD_ERROR@{THREAD\_\-ERROR}!RtAudioError@{Rt\-Audio\-Error}}\index{RtAudioError@{RtAudioError}!THREAD_ERROR@{THREAD\_\-ERROR}}\item[
  68. {\em THREAD\_\-ERROR}\label{classRtAudioError_s11s10}
  69. ]\end{description}
  70. \end{Desc}
  71. \subsection{Constructor \& Destructor Documentation}
  72. \index{RtAudioError@{Rt\-Audio\-Error}!RtAudioError@{RtAudioError}}
  73. \index{RtAudioError@{RtAudioError}!RtAudioError@{Rt\-Audio\-Error}}
  74. \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Rt\-Audio\-Error::Rt\-Audio\-Error (const char $\ast$ {\em p}, {\bf TYPE} {\em tipe} = Rt\-Audio\-Error::UNSPECIFIED)}\label{classRtAudioError_a0}
  75. The constructor.
  76. \index{RtAudioError@{Rt\-Audio\-Error}!~RtAudioError@{$\sim$RtAudioError}}
  77. \index{~RtAudioError@{$\sim$RtAudioError}!RtAudioError@{Rt\-Audio\-Error}}
  78. \subsubsection{\setlength{\rightskip}{0pt plus 5cm}Rt\-Audio\-Error::$\sim$Rt\-Audio\-Error (void)\hspace{0.3cm}{\tt [virtual]}}\label{classRtAudioError_a1}
  79. The destructor.
  80. \subsection{Member Function Documentation}
  81. \index{RtAudioError@{Rt\-Audio\-Error}!printMessage@{printMessage}}
  82. \index{printMessage@{printMessage}!RtAudioError@{Rt\-Audio\-Error}}
  83. \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Rt\-Audio\-Error::print\-Message (void)\hspace{0.3cm}{\tt [virtual]}}\label{classRtAudioError_a2}
  84. Prints \char`\"{}thrown\char`\"{} error message to stdout.
  85. \index{RtAudioError@{Rt\-Audio\-Error}!getType@{getType}}
  86. \index{getType@{getType}!RtAudioError@{Rt\-Audio\-Error}}
  87. \subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TYPE} \& Rt\-Audio\-Error::get\-Type (void)\hspace{0.3cm}{\tt [inline, virtual]}}\label{classRtAudioError_a3}
  88. Returns the \char`\"{}thrown\char`\"{} error message TYPE.
  89. \index{RtAudioError@{Rt\-Audio\-Error}!getMessage@{getMessage}}
  90. \index{getMessage@{getMessage}!RtAudioError@{Rt\-Audio\-Error}}
  91. \subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Rt\-Audio\-Error::get\-Message (void)\hspace{0.3cm}{\tt [inline, virtual]}}\label{classRtAudioError_a4}
  92. Returns the \char`\"{}thrown\char`\"{} error message string.
  93. \subsection{Member Data Documentation}
  94. \index{RtAudioError@{Rt\-Audio\-Error}!error_message@{error\_\-message}}
  95. \index{error_message@{error\_\-message}!RtAudioError@{Rt\-Audio\-Error}}
  96. \subsubsection{\setlength{\rightskip}{0pt plus 5cm}char Rt\-Audio\-Error::error\_\-message\hspace{0.3cm}{\tt [protected]}}\label{classRtAudioError_n0}
  97. \index{RtAudioError@{Rt\-Audio\-Error}!type@{type}}
  98. \index{type@{type}!RtAudioError@{Rt\-Audio\-Error}}
  99. \subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TYPE} Rt\-Audio\-Error::type\hspace{0.3cm}{\tt [protected]}}\label{classRtAudioError_n1}
  100. The documentation for this class was generated from the following file:\begin{CompactItemize}
  101. \item
  102. {\bf Rt\-Audio.h}\end{CompactItemize}