Fawkes API  Fawkes Development Version
objpos_average.h
1 
2 /***************************************************************************
3  * objpos_average.h - Fawkes WorldModel Object Position Average Fuser
4  *
5  * Created: Tue Jan 13 13:48:49 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_OBJPOS_AVERAGE_H_
24 #define __PLUGINS_WORLDMODEL_FUSER_OBJPOS_AVERAGE_H_
25 
26 #include "fuser.h"
27 
28 #include <blackboard/interface_observer.h>
29 #include <core/utils/lock_list.h>
30 
31 #include <string>
32 
33 namespace fawkes
34 {
35  class BlackBoard;
36  class Logger;
37  class ObjectPositionInterface;
38 }
39 
41 : public WorldModelFuser,
43 {
44  public:
46  fawkes::BlackBoard *blackboard,
47  const char *from_id_pattern, const char *to_id);
49 
50 
51  virtual void fuse();
52 
53  virtual void bb_interface_created(const char *type, const char *id) throw();
54 
55  private:
56  fawkes::BlackBoard *__blackboard;
57  fawkes::Logger *__logger;
58  std::string __to_id;
59 
62 
64 };
65 
66 
67 #endif
ObjectPositionInterface Fawkes BlackBoard Interface.
Fawkes library namespace.
ObjectPositionModel average fuser.
BlackBoard interface observer.
The BlackBoard abstract class.
Definition: blackboard.h:49
Interface for data fusers for the world model.
Definition: fuser.h:26
Interface for logging.
Definition: logger.h:34