Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members

mxcpcMJPEGServerpushWriter.h

00001 //           ///          //
00002 //          /////        ////
00003 //         /// XXX     XXX ///
00004 //        ///    XXX XXX    ///     $RCSfile: mxcpcMJPEGServerpushWriter.h,v $  
00005 //       ///       XXX       ///     $Revision: 1.1 $
00006 //      ///      XXX XXX      ///     $Date: 2005/08/09 13:57:26 $
00007 //     ////    XXX     XXX    ////     $Author: cvs-steve $
00008 //    ////                     ////
00009 //   ////  M  O  B  O  T  I  X  ////////////////////////////////////////////////
00010 //  //// Security Vision Systems ///////////////////////////////////////////////
00011 
00012 // Copyright (c) 2005, MOBOTIX AG.
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 #ifndef __MXCPC_MJPEGSERVERPUSHWRITER_H__
00018 #define __MXCPC_MJPEGSERVERPUSHWRITER_H__
00019 
00020 
00021 
00022 #include <mxcpcMxPEGScanToJPEGConverterBackEnd.h>
00023 
00024 #include <cstdio>
00025 
00026 
00027 
00031 
00034 class mxcpcMJPEGServerpushWriter : public mxcpcMxPEGScanToJPEGConverterBackEnd {
00035 
00036  private:
00037 
00038   FILE* OutputDest;
00039   int FrameNum;
00040 
00041   bool ErrorEncountered;
00042 
00043   const char* SeparatorString;
00044 
00045  public:
00050   mxcpcMJPEGServerpushWriter(FILE* output_dest, const char* separator_string);
00051   ~mxcpcMJPEGServerpushWriter();
00052  
00053  public:
00055   void beginFrame(void);
00057   void endFrame(void);
00059   void receiveJPEGBytes(mxcpc::u8 *buffer, int num);
00060 
00061 };
00062 
00063 
00064 
00065 #endif   // __MXCPC_MJPEGWRITER_H__

Generated on Mon Aug 15 03:39:30 2005 for mxcpc by  doxygen 1.4.2-20050421