ACQ2XX_API
DirfileFrameHandler.h
Go to the documentation of this file.
00001 /* ------------------------------------------------------------------------- */
00002 /* file DirfileFrameHandler.h                                                */
00003 /* ------------------------------------------------------------------------- */
00004 /*   Copyright (C) 2009 Peter Milne, D-TACQ Solutions Ltd
00005  *                      <Peter dot Milne at D hyphen TACQ dot com>
00006 
00007  This program is free software; you can redistribute it and/or modify
00008  it under the terms of Version 2 of the GNU General Public License
00009  as published by the Free Software Foundation;
00010 
00011  This program is distributed in the hope that it will be useful,
00012  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  GNU General Public License for more details.
00015 
00016  You should have received a copy of the GNU General Public License
00017  along with this program; if not, write to the Free Software
00018  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                */
00019 /* ------------------------------------------------------------------------- */
00020 
00021 /** @file DirfileFrameHandler.h - adapter connects stream data to Dirfile output.
00022  *
00023 <pre>
00024   opts:
00025 </pre>
00026  */
00027 
00028 #ifndef __DIRFILEFRAMEHANDLER_H__
00029 #define __DIRFILEFRAMEHANDLER_H__
00030 
00031 class DirfileFrameHandler: public FrameHandler {
00032         virtual void onFrame(
00033                         Acq2xx& _card, const AcqType& _acqType,
00034                         const Frame* frame) = 0;
00035 public:
00036         virtual ~DirfileFrameHandler() {}
00037         static FrameHandler* create(const AcqType& _acqType, string outbase);
00038 };
00039 
00040 
00041 #endif // __DIRFILEFRAMEHANDLER_H__