Fawkes API  Fawkes Development Version
pike.h
00001 
00002 /***************************************************************************
00003  *  pike.h - AlliedVision Pike camera
00004  *
00005  *  Generated: Tue Mar 16 15:24:57 2010
00006  *  Copyright  2010  Daniel Beck
00007  *
00008  ****************************************************************************/
00009 
00010 /*  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version. A runtime exception applies to
00014  *  this software (see LICENSE.GPL_WRE file mentioned below for details).
00015  *
00016  *  This program is distributed in the hope that it will be useful,
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  *  GNU Library General Public License for more details.
00020  *
00021  *  Read the full text in the LICENSE.GPL_WRE file in the doc directory.
00022  */
00023 
00024 #ifndef __FIREVISION_CAMS_PIKE_H_
00025 #define __FIREVISION_CAMS_PIKE_H_
00026 
00027 #include <cams/firewire.h>
00028 
00029 namespace firevision {
00030 #if 0 /* just to make Emacs auto-indent happy */
00031 }
00032 #endif
00033 
00034 class PikeCamera : public FirewireCamera
00035 {
00036  public:
00037   PikeCamera(const CameraArgumentParser* cap);
00038   virtual ~PikeCamera();
00039 
00040   virtual void open();
00041 
00042   virtual void print_info();
00043 
00044   virtual bool set_autofunction_aoi( unsigned int left,
00045                                      unsigned int top,
00046                                      unsigned int width,
00047                                      unsigned int height,
00048                                      bool show_work_area = false );
00049 
00050   virtual void parse_set_autofnc_aoi( const char* aoi );
00051 
00052  private:
00053   bool __set_autofnc_aoi;
00054   unsigned int __aoi_left;
00055   unsigned int __aoi_top;
00056   unsigned int __aoi_width;
00057   unsigned int __aoi_height;
00058   bool __aoi_show_work_area;
00059 };
00060 
00061 } // end namespace firevision
00062 
00063 #endif /* __FIREVISION_CAMS_PIKE_H_ */