Fawkes API
Fawkes Development Version
clips_robot_memory_plugin.cpp
1
2
/***************************************************************************
3
* clips_robot_memory_plugin.cpp - clips_robot_memory
4
*
5
* Plugin created: Mon Aug 29 15:41:47 2016
6
7
* Copyright 2016 Frederik Zwilling
8
*
9
****************************************************************************/
10
11
/* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version.
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 file in the doc directory.
22
*/
23
24
#include "clips_robot_memory_thread.h"
25
26
#include <core/plugin.h>
27
28
using namespace
fawkes
;
29
30
/** @class ClipsRobotMemoryPlugin "clips_robot_memory_plugin.cpp"
31
* CLIPS feature to access the robot memory
32
* @author Frederik Zwilling
33
*/
34
class
ClipsRobotMemoryPlugin
:
public
fawkes::Plugin
35
{
36
public
:
37
/** Constructor
38
* @param config Fakwes configuration
39
*/
40
explicit
ClipsRobotMemoryPlugin
(
Configuration
*config) :
Plugin
(config)
41
{
42
thread_list.push_back(
new
ClipsRobotMemoryThread
());
43
}
44
};
45
46
PLUGIN_DESCRIPTION(
"CLIPS feature to access the robot memory"
)
47
EXPORT_PLUGIN(
ClipsRobotMemoryPlugin
)
ClipsRobotMemoryPlugin::ClipsRobotMemoryPlugin
ClipsRobotMemoryPlugin(Configuration *config)
Constructor.
Definition:
clips_robot_memory_plugin.cpp:40
fawkes::Configuration
Interface for configuration handling.
Definition:
config.h:65
ClipsRobotMemoryPlugin
CLIPS feature to access the robot memory.
Definition:
clips_robot_memory_plugin.cpp:35
fawkes
Fawkes library namespace.
ClipsRobotMemoryThread
CLIPS feature to access the robot memory.
Definition:
clips_robot_memory_thread.h:50
fawkes::Plugin
Plugin interface class.
Definition:
plugin.h:34
src
plugins
clips-robot-memory
clips_robot_memory_plugin.cpp
Generated by
1.8.20