00001 // /// // Mx clientSDK 00002 // ///// //// Mx Crossplatform Client Library 00003 // /// XXX XXX /// 00004 // /// XXX XXX /// $RCSfile: mxcpcByteStreamReceiver.h,v $ 00005 // /// XXX /// $Revision: 1.1 $ 00006 // /// XXX XXX /// $Date: 2006/01/11 19:07:06 $ 00007 // //// XXX XXX //// $Author: cvs-kai $ 00008 // //// //// 00009 // //// M O B O T I X //////////////////////////////////////////////// 00010 // //// Security Vision Systems ////////////////////////////////////////////// 00011 // // 00012 // Copyright (C) 2005 - 2006, MOBOTIX AG, Germany // 00013 // This software is made available under the BSD licence. Please refer // 00014 // to the file LICENCE.TXT contained in this distribution for details. // 00015 // // 00016 // ///////////////////////////////////////////////////////////////////// 00017 00018 00019 00020 #ifndef __MXCPC_BYTESTREAMRECEIVER_H__ 00021 #define __MXCPC_BYTESTREAMRECEIVER_H__ 00022 00023 00024 00025 #include <mxcpc_namespace.h> 00026 00027 00028 00029 //! Interface / base class to entities receiving byte streams. 00030 /*! 00031 * \ingroup mxcpc_core 00032 */ 00033 class mxcpcByteStreamReceiver { 00034 00035 public: 00036 virtual ~mxcpcByteStreamReceiver() = 0; 00037 00038 public: 00039 //! Used to send stream bytes to the receiver. 00040 virtual void receiveStreamBytes(const mxcpc::u8 *bytes, int byte_num) = 0; 00041 }; 00042 00043 00044 00045 #endif // __MXCPC_BYTESTREAMRECEIVER_H__ 00046