Fawkes API  Fawkes Development Version
pike.h
1 
2 /***************************************************************************
3  * pike.h - AlliedVision Pike camera
4  *
5  * Generated: Tue Mar 16 15:24:57 2010
6  * Copyright 2010 Daniel Beck
7  *
8  ****************************************************************************/
9 
10 /* This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version. A runtime exception applies to
14  * this software (see LICENSE.GPL_WRE file mentioned below for details).
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU Library General Public License for more details.
20  *
21  * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22  */
23 
24 #ifndef __FIREVISION_CAMS_PIKE_H_
25 #define __FIREVISION_CAMS_PIKE_H_
26 
27 #include <fvcams/firewire.h>
28 
29 namespace firevision {
30 #if 0 /* just to make Emacs auto-indent happy */
31 }
32 #endif
33 
34 class PikeCamera : public FirewireCamera
35 {
36  public:
37  PikeCamera(const CameraArgumentParser* cap);
38  virtual ~PikeCamera();
39 
40  virtual void open();
41 
42  virtual void print_info();
43 
44  virtual bool set_autofunction_aoi( unsigned int left,
45  unsigned int top,
46  unsigned int width,
47  unsigned int height,
48  bool show_work_area = false );
49 
50  virtual void parse_set_autofnc_aoi( const char* aoi );
51 
52  private:
53  bool __set_autofnc_aoi;
54  unsigned int __aoi_left;
55  unsigned int __aoi_top;
56  unsigned int __aoi_width;
57  unsigned int __aoi_height;
58  bool __aoi_show_work_area;
59 };
60 
61 } // end namespace firevision
62 
63 #endif /* __FIREVISION_CAMS_PIKE_H_ */
virtual void open()
Open the camera.
Definition: pike.cpp:136
Pike camera.
Definition: pike.h:34
Camera argument parser.
Definition: camargp.h:38
PikeCamera(const CameraArgumentParser *cap)
Constructor.
Definition: pike.cpp:112
virtual void print_info()
Print out camera information.
Definition: pike.cpp:155
virtual bool set_autofunction_aoi(unsigned int left, unsigned int top, unsigned int width, unsigned int height, bool show_work_area=false)
Set the area of interest (AOI) for the auto functions.
Definition: pike.cpp:197
virtual ~PikeCamera()
Destructor.
Definition: pike.cpp:131
Firewire camera.
Definition: firewire.h:44
virtual void parse_set_autofnc_aoi(const char *aoi)
Parse the autofnc_aoi parameter in the camera argument string.
Definition: pike.cpp:275