Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

at_status_report.h

Go to the documentation of this file.
00001 //
00002 // The Austria library is copyright (c) Gianni Mariani 2004.
00003 // 
00004 // Grant Of License.  Grants to LICENSEE the non-exclusive right to use the Austria
00005 // library subject to the terms of the LGPL.
00006 // 
00007 // A copy of the license is available in this directory or one may be found at this URL:
00008 //      http://www.gnu.org/copyleft/lesser.txt
00009 // 
00016 #ifndef x_at_status_report_h_x
00017 #define x_at_status_report_h_x 1
00018 
00019 #include "at_exports.h"
00020 #include <string>
00021 
00022 // Austria namespace
00023 namespace at
00024 {
00025 
00026 // ======== StatusReport =================================================
00032 class AUSTRIA_EXPORT StatusReport
00033 {
00034     public:
00035 
00036         virtual ~StatusReport();
00037 
00044         enum StatusTypeCode
00045         {
00050                 NoStatus,
00051 
00058                 ErrorStatus,
00059 
00067                 WarningStatus,
00068 
00075                 UnrecoverableStatus
00076         };
00077 
00087         virtual void ReportStatus(
00088                 StatusTypeCode                                                            i_typecode,
00089                 int                                                                                       i_status,
00090                 const std::string                                                       & i_description
00091         ) = 0;
00092 
00101         virtual void ReportStatus(
00102                 const StatusReport                                              * i_sreport
00103         ) = 0;
00104 
00109         virtual void ClearStatus() = 0;
00110 
00116         virtual bool GetStatus() const = 0;
00117 
00128         virtual bool GetStatus(
00129                 StatusTypeCode                                                          & i_typecode,
00130                 int                                                                                     & i_status,
00131                 std::string                                                                     & i_description
00132         ) const = 0;
00133 
00141         virtual bool GetStatus(
00142                 StatusReport                                                            * o_srep
00143         ) const = 0;
00144         
00145         
00146 };
00147 
00148 }; // namespace
00149 #endif // x_at_status_report_h_x
00150 
00151 

Generated for Austria by doxygen and MakeXS at Sun Oct 24 17:35:34 PDT 2004