Fawkes API  Fawkes Development Version
fvbase_plugin.cpp
1 
2 /***************************************************************************
3  * fvbase_plugin.cpp - FireVision Base Plugin
4  *
5  * Created: Tue May 29 16:35:48 2007
6  * Copyright 2006-2007 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.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Library General Public License for more details.
19  *
20  * Read the full text in the LICENSE.GPL file in the doc directory.
21  */
22 
23 #include "fvbase_plugin.h"
24 #include "base_thread.h"
25 
26 using namespace fawkes;
27 
28 /** @class FvBasePlugin "fvbase_plugin.h"
29  * FireVision Base Plugin
30  * This is the FireVision base plugin. It provides access to low-level
31  * facilities like cameras and is responsible for the timing of vision
32  * threads.
33  *
34  * It acts as a vision provider to vision threads.
35  *
36  * @author Tim Niemueller
37  */
38 
39 /** Constructor.
40  * @param config Fawkes configuration
41  */
43  : Plugin(config)
44 {
46 }
47 
48 PLUGIN_DESCRIPTION("FireVision Base provides access to camera and handles timing")
49 EXPORT_PLUGIN(FvBasePlugin)
Plugin interface class.
Definition: plugin.h:33
FvBasePlugin(fawkes::Configuration *config)
Constructor.
FireVision Base Plugin This is the FireVision base plugin.
Definition: fvbase_plugin.h:28
Fawkes library namespace.
ThreadList thread_list
Thread list member.
Definition: plugin.h:53
FireVision base thread.
Definition: base_thread.h:46
void push_back(Thread *thread)
Add thread to the end.
Interface for configuration handling.
Definition: config.h:67