Fawkes API
Fawkes Development Version
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 <aspect/configurable.h>
27
#include <aspect/logging.h>
28
#include <aspect/network.h>
29
#include <aspect/thread_producer.h>
30
#include <core/threading/thread.h>
31
32
namespace
fawkes
{
33
class
NetworkService;
34
}
35
namespace
firevision {
36
class
FuseServer;
37
}
38
39
class
FountainThread
:
public
fawkes::Thread
,
40
public
fawkes::ConfigurableAspect
,
41
public
fawkes::LoggingAspect
,
42
public
fawkes::NetworkAspect
,
43
public
fawkes::ThreadProducerAspect
44
{
45
public
:
46
FountainThread
();
47
~FountainThread
();
48
49
virtual
void
init
();
50
virtual
void
finalize
();
51
virtual
void
loop
();
52
53
private
:
54
firevision::FuseServer
*fuse_server_;
55
fawkes::NetworkService
*service_;
56
};
57
58
#endif
firevision::FuseServer
Definition:
fuse_server.h:43
fawkes::ThreadProducerAspect
Definition:
thread_producer.h:38
FountainThread
Definition:
fountain_thread.h:39
FountainThread::loop
virtual void loop()
Code to execute in the thread.
Definition:
fountain_thread.cpp:120
FountainThread::~FountainThread
~FountainThread()
Destructor.
Definition:
fountain_thread.cpp:47
fawkes::NetworkService
Definition:
service.h:43
fawkes
fawkes::LoggingAspect
Definition:
logging.h:38
FountainThread::FountainThread
FountainThread()
Constructor.
Definition:
fountain_thread.cpp:40
fawkes::Thread
Definition:
thread.h:45
FountainThread::finalize
virtual void finalize()
Finalize the thread.
Definition:
fountain_thread.cpp:108
fawkes::ConfigurableAspect
Definition:
configurable.h:38
FountainThread::init
virtual void init()
Initialize the thread.
Definition:
fountain_thread.cpp:59
fawkes::NetworkAspect
Definition:
network.h:40
src
plugins
perception
fountain
fountain_thread.h
Generated by
1.8.17