00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00028 #ifndef _RTXCPPSTREAMIF_H_
00029 #define _RTXCPPSTREAMIF_H_
00030
00031 #include "rtxsrc/rtxCommon.h"
00032 #include "rtxsrc/rtxCppContext.h"
00033
00037 class EXTERNRTX OSStreamIF {
00038 public:
00042 virtual ~OSStreamIF ();
00043
00054 virtual int close () = 0;
00055
00064 virtual int flush () = 0;
00065
00075 virtual OSCtxtPtr getContext () = 0;
00076
00083 virtual OSCTXT* getCtxtPtr () = 0;
00084
00092 virtual char* getErrorInfo () = 0;
00093
00110 virtual char* getErrorInfo (char* pBuf, size_t& bufSize) = 0;
00111
00121 virtual int getStatus () const = 0;
00122
00128 virtual OSBOOL isOpened () = 0;
00129
00134 virtual void printErrorInfo () = 0;
00135
00140 virtual void resetErrorInfo () = 0;
00141
00142 } ;
00143
00144 #endif