dc_work.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // ****************************************************************************
00003 //  Name: dc_work.h
00004 //  Athr: Michael D. Beynon (mdb)
00005 //  Date: 08/10/2000 : mdb - Created.
00006 //  Desc: DataCutter Filter Service user library.
00007 // ****************************************************************************
00010 #if !defined(H_DC_WORK)
00011 #define H_DC_WORK
00012 
00013 #include "dc_buffer.h"
00014 
00015 #define WORK_DEFAULT_BUFFER_SIZE  (1024)
00016 
00017 typedef int DC_WorkHandle_t;
00018 
00020 class DC_Work_t {
00021 public:
00022   int wWorkNum;
00023   DC_Buffer_t buf;
00024 public:
00025   DC_Work_t(void) : wWorkNum(-1) { buf.New(WORK_DEFAULT_BUFFER_SIZE); };
00026   DC_Work_t(int wBufSize) : wWorkNum(-1) { buf.New(wBufSize); };
00027   ~DC_Work_t(void) { buf.Delete(); };
00028 };
00029 
00030 
00031 #endif /* H_DC_WORK */
00032 // ****************************************************************************

Generated at Mon Mar 3 13:53:21 2003 for DataCutter by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001