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
sync_listener.h
1
2
/***************************************************************************
3
* sync_listener.h - Sync Interface Listener
4
*
5
* Created: Fri Jun 05 10:58:22 2009
6
* Copyright 2006-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.
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_BBSYNC_SYNC_LISTENER_H_
24
#define __PLUGINS_BBSYNC_SYNC_LISTENER_H_
25
26
#include <blackboard/interface_listener.h>
27
28
namespace
fawkes {
29
class
BlackBoard;
30
class
Logger;
31
}
32
33
class
SyncInterfaceListener
34
:
public
fawkes::BlackBoardInterfaceListener
35
{
36
public
:
37
SyncInterfaceListener
(
fawkes::Logger
*logger,
38
fawkes::Interface
*reader,
fawkes::Interface
*writer,
39
fawkes::BlackBoard
*reader_bb,
fawkes::BlackBoard
*writer_bb);
40
virtual
~SyncInterfaceListener
();
41
42
virtual
bool
bb_interface_message_received
(
fawkes::Interface
*interface,
fawkes::Message
*message)
throw
();
43
virtual
void
bb_interface_data_changed
(
fawkes::Interface
*interface)
throw
();
44
45
private
:
46
fawkes::Logger
*__logger;
47
48
fawkes::Interface
*__writer;
49
fawkes::Interface
*__reader;
50
51
fawkes::BlackBoard
*__writer_bb;
52
fawkes::BlackBoard
*__reader_bb;
53
};
54
55
56
#endif
src
plugins
bbsync
sync_listener.h
Generated by
1.8.3.1