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
26#include <clipsmm.h>
27
28namespace fawkes {
29
30/** @class CLIPSManagerAspect <plugins/clips/aspect/clips_manager.h>
31 * Thread aspect access the CLIPS environment manager.
32
33 * Give this aspect to your thread if you want to access the CLIPS
34 * environment manager. Use this with extreme care and only if you
35 * know what you are doing. If you want to create a CLIPS environment
36 * to work with use the CLIPSAspect. If you want to provide a CLIPS
37 * feature to other environments use the CLIPSFeatureAspect.
38 *
39 * @ingroup Aspects
40 * @author Tim Niemueller
41 */
42
43/** @var fawkes::CLIPSEnvManager CLIPSManagerAspect::clips_env_mgr
44 * CLIPS environment manager.
45 */
46
47/** Constructor. */
49{
50 add_aspect("CLIPSManagerAspect");
51}
52
53/** Virtual empty destructor. */
55{
56}
57
58} // end namespace fawkes
void add_aspect(const char *name)
Add an aspect to a thread.
Definition: aspect.cpp:49
virtual ~CLIPSManagerAspect()
Virtual empty destructor.
CLIPSManagerAspect()
Constructor.
Fawkes library namespace.