Fawkes API
Fawkes Development Version
|
00001 00002 /*************************************************************************** 00003 * blackboard.h - BlackBoard aspect for Fawkes 00004 * 00005 * Created: Thu Jan 11 16:28:58 2007 00006 * Copyright 2006-2007 Tim Niemueller [www.niemueller.de] 00007 ****************************************************************************/ 00008 00009 /* This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. A runtime exception applies to 00013 * this software (see LICENSE.GPL_WRE file mentioned below for details). 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU Library General Public License for more details. 00019 * 00020 * Read the full text in the LICENSE.GPL_WRE file in the doc directory. 00021 */ 00022 00023 #ifndef __ASPECT_BLACKBOARD_H_ 00024 #define __ASPECT_BLACKBOARD_H_ 00025 00026 #include <aspect/aspect.h> 00027 #include <blackboard/blackboard.h> 00028 00029 namespace fawkes { 00030 #if 0 /* just to make Emacs auto-indent happy */ 00031 } 00032 #endif 00033 00034 class BlackBoardAspect : public virtual Aspect 00035 { 00036 public: 00037 BlackBoardAspect(); 00038 virtual ~BlackBoardAspect(); 00039 00040 void init_BlackBoardAspect(BlackBoard *bb); 00041 00042 protected: 00043 BlackBoard *blackboard; 00044 }; 00045 00046 } // end namespace fawkes 00047 00048 #endif