Fawkes API  Fawkes Development Version
clips_manager.cpp
1 
2 /***************************************************************************
3  * clips_manager.cpp - CLIPS manager aspect for Fawkes
4  *
5  * Created: Thu Aug 15 18:52:36 2013
6  * Copyright 2006-2013 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. A runtime exception applies to
14  * this software (see LICENSE.GPL_WRE file mentioned below for details).
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU Library General Public License for more details.
20  *
21  * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22  */
23 
24 #include <plugins/clips/aspect/clips_manager.h>
25 #include <clipsmm.h>
26 
27 namespace fawkes {
28 #if 0 /* just to make Emacs auto-indent happy */
29 }
30 #endif
31 
32 /** @class CLIPSManagerAspect <plugins/clips/aspect/clips_manager.h>
33  * Thread aspect access the CLIPS environment manager.
34 
35  * Give this aspect to your thread if you want to access the CLIPS
36  * environment manager. Use this with extreme care and only if you
37  * know what you are doing. If you want to create a CLIPS environment
38  * to work with use the CLIPSAspect. If you want to provide a CLIPS
39  * feature to other environments use the CLIPSFeatureAspect.
40  *
41  * @ingroup Aspects
42  * @author Tim Niemueller
43  */
44 
45 /** @var fawkes::CLIPSEnvManager CLIPSManagerAspect::clips_env_mgr
46  * CLIPS environment manager.
47  */
48 
49 /** Constructor. */
51 {
52  add_aspect("CLIPSManagerAspect");
53 }
54 
55 
56 /** Virtual empty destructor. */
58 {
59 }
60 
61 } // end namespace fawkes
CLIPSManagerAspect()
Constructor.
Fawkes library namespace.
virtual ~CLIPSManagerAspect()
Virtual empty destructor.
void add_aspect(const char *name)
Add an aspect to a thread.
Definition: aspect.cpp:52