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
remotebb.h
1
2
/***************************************************************************
3
* remotebb.h - Fawkes remote blackboard processor
4
*
5
* Created: Fri Apr 09 23:58:11 2010
6
* Copyright 2010 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 __PLUGINS_REFBOXCOMM_PROCESSOR_REMOTEBB_H_
24
#define __PLUGINS_REFBOXCOMM_PROCESSOR_REMOTEBB_H_
25
26
#include "processor.h"
27
#include "state_handler.h"
28
29
namespace
fawkes {
30
class
Logger;
31
class
BlackBoard;
32
class
GameStateInterface;
33
}
34
35
class
RemoteBlackBoardRefBoxProcessor
:
public
RefBoxProcessor
36
{
37
public
:
38
RemoteBlackBoardRefBoxProcessor
(
fawkes::Logger
*logger,
39
const
char
*bb_host,
40
unsigned
short
int
bb_port,
41
const
char
*iface_id);
42
~RemoteBlackBoardRefBoxProcessor
();
43
44
bool
check_connection
();
45
void
refbox_process
();
46
47
private
:
// methods
48
void
reconnect();
49
50
private
:
51
fawkes::Logger
*__logger;
52
fawkes::BlackBoard
*__rbb;
53
54
fawkes::GameStateInterface
*__gamestate_if;
55
56
const
char
*__name;
57
58
char
*__bb_host;
59
unsigned
short
int
__bb_port;
60
char
*__iface_id;
61
62
bool
__message_shown;
63
};
64
65
#endif
src
plugins
refboxcomm
processor
remotebb.h
Generated by
1.8.1.1