Fawkes API
Fawkes Development Version
factory.h
1
2
/***************************************************************************
3
* factory.h - Camera control factory
4
*
5
* Created: Fri Jun 15 13:11:11 2007
6
* Copyright 2005-2009 Tim Niemueller [www.niemueller.de]
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_CONTROLFACTORY_H_
25
#define _FIREVISION_CAMS_CONTROLFACTORY_H_
26
27
#include <core/exception.h>
28
#include <core/exceptions/software.h>
29
#include <fvcams/control/control.h>
30
31
#include <cstddef>
32
#include <typeinfo>
33
34
namespace
firevision {
35
36
class
Camera;
37
class
CameraArgumentParser;
38
39
class
CameraControlFactory
40
{
41
public
:
42
static
CameraControl
*
instance
(
const
char
*as);
43
static
CameraControl
*
instance
(
Camera
*camera);
44
static
CameraControl
*
instance
(
const
CameraArgumentParser
*cap);
45
46
static
CameraControl
*
instance
(
const
std::type_info &typeinf,
Camera
*camera);
47
};
48
49
}
// end namespace firevision
50
51
#endif
firevision::CameraControl
Camera control interface base class.
Definition:
control.h:31
firevision::CameraControlFactory
Camera control factory.
Definition:
factory.h:40
firevision::CameraArgumentParser
Camera argument parser.
Definition:
camargp.h:36
firevision::Camera
Camera interface for image aquiring devices in FireVision.
Definition:
camera.h:33
firevision::CameraControlFactory::instance
static CameraControl * instance(const char *as)
Get camera control instance.
Definition:
factory.cpp:120
src
libs
fvcams
control
factory.h
Generated by
1.8.20