FME Server C++ API 3.0
|
00001 #ifndef _IFMESERVERSTATUS_H 00002 #define _IFMESERVERSTATUS_H 00003 00056 #include <fmeservertypes.h> 00057 00058 //=========================================================================== 00059 // Abstract Interface Class -- all methods are virtual and it has no data 00060 class IFMEServerStatus 00061 { 00062 public: 00063 00064 // ----------------------------------------------------------------------- 00065 virtual const char* getErrorMessage() const = 0; 00066 00067 // ----------------------------------------------------------------------- 00068 virtual FME_MsgNum getErrorNumber() const = 0; 00069 00070 // ----------------------------------------------------------------------- 00071 virtual FMEServerErrorType getErrorType() const = 0; 00072 00073 protected: 00074 00075 // ----------------------------------------------------------------------- 00076 // No one should be creating an instance of this directly, so we 00077 // make the constructor protected. 00078 IFMEServerStatus() {} 00079 00080 // ----------------------------------------------------------------------- 00081 // No one should be destroying an instance of this directly, so we 00082 // make the destructor protected. 00083 virtual ~IFMEServerStatus() {} 00084 00085 private: 00086 00087 // ----------------------------------------------------------------------- 00088 // The copy constructor is not implemented. 00089 IFMEServerStatus(const IFMEServerStatus &other); 00090 00091 //--------------------------------------------------------------- 00092 // The assignment operator is not implemented. 00093 IFMEServerStatus &operator=(const IFMEServerStatus &other); 00094 }; 00095 00096 00097 #endif