Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
single_copy.h
1 
2 /***************************************************************************
3  * single_copy.h - Fawkes WorldModel Single Interface Copy Fuser
4  *
5  * Created: Tue Jan 13 11:22:21 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_WORLDMODEL_FUSER_SINGLE_COPY_H_
24 #define __PLUGINS_WORLDMODEL_FUSER_SINGLE_COPY_H_
25 
26 #include "fuser.h"
27 
28 namespace fawkes {
29  class BlackBoard;
30  class Interface;
31 }
32 
34 {
35  public:
36  WorldModelSingleCopyFuser(fawkes::BlackBoard *blackboard, const char *type,
37  const char *from_id, const char *to_id);
39 
40  virtual void fuse();
41 
42  private:
43  fawkes::BlackBoard *__blackboard;
44  fawkes::Interface *__from;
45  fawkes::Interface *__to;
46 };
47 
48 
49 #endif
WorldModelSingleCopyFuser(fawkes::BlackBoard *blackboard, const char *type, const char *from_id, const char *to_id)
Constructor.
Definition: single_copy.cpp:43
~WorldModelSingleCopyFuser()
Destructor.
Definition: single_copy.cpp:59
Base class for all Fawkes BlackBoard interfaces.
Definition: interface.h:80
virtual void fuse()
The single function that makes fusers work.
Definition: single_copy.cpp:67
Single interface copy fuser.
Definition: single_copy.h:33
The BlackBoard abstract class.
Definition: blackboard.h:49
Interface for data fusers for the world model.
Definition: fuser.h:26