Fawkes API
Fawkes Development Version
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
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
30
#include <fvcams/control/control.h>
31
32
#include <cstddef>
33
34
namespace
firevision {
35
#if 0
/* just to make Emacs auto-indent happy */
36
}
37
#endif
38
39
class
Camera;
40
class
CameraArgumentParser;
41
42
class
CameraControlFactory
43
{
44
public
:
45
static
CameraControl
* instance(
const
char
*as);
46
static
CameraControl
* instance(
Camera
*camera);
47
static
CameraControl
* instance(
const
CameraArgumentParser
*cap);
48
49
static
CameraControl
* instance(
const
std::type_info &typeinf,
Camera
*camera);
50
};
51
52
}
// end namespace firevision
53
54
#endif
src
libs
fvcams
control
factory.h
Generated by
1.8.1.2