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
fountain_thread.h
1
2
/***************************************************************************
3
* fountain_thread.h - Fountain main thread
4
*
5
* Created: Fri Nov 16 11:22:30 2007
6
* Copyright 2005-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
#ifndef __FIREVISION_APPS_FOUNTAIN_FOUNTAIN_THREAD_H_
24
#define __FIREVISION_APPS_FOUNTAIN_FOUNTAIN_THREAD_H_
25
26
#include <core/threading/thread.h>
27
28
#include <aspect/configurable.h>
29
#include <aspect/logging.h>
30
#include <aspect/network.h>
31
#include <aspect/thread_producer.h>
32
33
namespace
fawkes {
34
class
NetworkService;
35
}
36
namespace
firevision {
37
class
FuseServer;
38
}
39
40
class
FountainThread
41
:
public
fawkes::Thread
,
42
public
fawkes::ConfigurableAspect
,
43
public
fawkes::LoggingAspect
,
44
public
fawkes::NetworkAspect
,
45
public
fawkes::ThreadProducerAspect
46
{
47
public
:
48
FountainThread
();
49
~FountainThread
();
50
51
virtual
void
init
();
52
virtual
void
finalize
();
53
virtual
void
loop
();
54
55
private
:
56
firevision::FuseServer
*__fuse_server;
57
fawkes::NetworkService
*__service;
58
};
59
60
61
#endif
src
plugins
perception
fountain
fountain_thread.h
Generated by
1.8.3.1