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
29namespace fawkes {
30
31class BlackBoardAspectIniFin;
32
33class BlackBoardAspect : public virtual Aspect
34{
36
37public:
38 BlackBoardAspect(const char *owner = NULL);
39 virtual ~BlackBoardAspect();
40
42
43protected:
45
46private:
47 const char *blackboard_owner_name_;
48};
49
50} // end namespace fawkes
51
52#endif
Fawkes aspect base class.
Definition: aspect.h:32
Initializer/finalizer for the BlackBoardAspect.
Definition: blackboard.h:34
Thread aspect to access to BlackBoard.
Definition: blackboard.h:34
BlackBoard * blackboard
This is the BlackBoard instance you can use to interact with the BlackBoard.
Definition: blackboard.h:44
virtual ~BlackBoardAspect()
Virtual empty destructor.
Definition: blackboard.cpp:54
BlackBoardAspect(const char *owner=NULL)
Constructor.
Definition: blackboard.cpp:46
void init_BlackBoardAspect(BlackBoard *bb)
Init BlackBoard aspect.
Definition: blackboard.cpp:66
The BlackBoard abstract class.
Definition: blackboard.h:46
Fawkes library namespace.