Fawkes API  Fawkes Development Version
blackboard.h
1 
2 /***************************************************************************
3  * blackboard.h - BlackBoard aspect for Fawkes
4  *
5  * Created: Thu Jan 11 16:28:58 2007
6  * Copyright 2006-2007 Tim Niemueller [www.niemueller.de]
7  ****************************************************************************/
8 
9 /* This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version. A runtime exception applies to
13  * this software (see LICENSE.GPL_WRE file mentioned below for details).
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_WRE file in the doc directory.
21  */
22 
23 #ifndef __ASPECT_BLACKBOARD_H_
24 #define __ASPECT_BLACKBOARD_H_
25 
26 #include <aspect/aspect.h>
27 #include <blackboard/blackboard.h>
28 
29 namespace fawkes {
30 #if 0 /* just to make Emacs auto-indent happy */
31 }
32 #endif
33 
34 class BlackBoardAspect : public virtual Aspect
35 {
36  friend class BlackBoardAspectIniFin;
37  public:
38  BlackBoardAspect(const char *owner = NULL);
39  virtual ~BlackBoardAspect();
40 
42 
43  protected:
45 
46  private:
47  const char *blackboard_owner_name_;
48 };
49 
50 } // end namespace fawkes
51 
52 #endif
void init_BlackBoardAspect(BlackBoard *bb)
Init BlackBoard aspect.
Definition: blackboard.cpp:72
Thread aspect to access to BlackBoard.
Definition: blackboard.h:34
Fawkes aspect base class.
Definition: aspect.h:34
Fawkes library namespace.
virtual ~BlackBoardAspect()
Virtual empty destructor.
Definition: blackboard.cpp:59
Initializer/finalizer for the BlackBoardAspect.
Definition: blackboard.h:36
BlackBoardAspect(const char *owner=NULL)
Constructor.
Definition: blackboard.cpp:50
The BlackBoard abstract class.
Definition: blackboard.h:48
BlackBoard * blackboard
This is the BlackBoard instance you can use to interact with the BlackBoard.
Definition: blackboard.h:44