Fawkes API
Fawkes Development Version
pddl_robot_memory_plugin.cpp
1
2
/***************************************************************************
3
* pddl_robot_memory_plugin.cpp - pddl_robot_memory
4
*
5
* Plugin created: Thu Oct 13 13:34:05 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 "pddl_robot_memory_thread.h"
25
26
#include <core/plugin.h>
27
28
using namespace
fawkes
;
29
30
/** @class PddlRobotMemoryPlugin "pddl_robot_memory_plugin.cpp"
31
* Generate PDDL files from the robot memory
32
* @author Frederik Zwilling
33
*/
34
class
PddlRobotMemoryPlugin
:
public
fawkes::Plugin
35
{
36
public
:
37
/** Constructor
38
* @param config Fakwes configuration
39
*/
40
explicit
PddlRobotMemoryPlugin
(
Configuration
*config) :
Plugin
(config)
41
{
42
thread_list.push_back(
new
PddlRobotMemoryThread
());
43
}
44
};
45
46
PLUGIN_DESCRIPTION(
"Generate PDDL files from the robot memory"
)
47
EXPORT_PLUGIN(
PddlRobotMemoryPlugin
)
PddlRobotMemoryPlugin::PddlRobotMemoryPlugin
PddlRobotMemoryPlugin(Configuration *config)
Constructor.
Definition:
pddl_robot_memory_plugin.cpp:40
fawkes::Configuration
Interface for configuration handling.
Definition:
config.h:65
fawkes
Fawkes library namespace.
PddlRobotMemoryPlugin
Generate PDDL files from the robot memory.
Definition:
pddl_robot_memory_plugin.cpp:35
PddlRobotMemoryThread
Generate PDDL files from the robot memory.
Definition:
pddl_robot_memory_thread.h:49
fawkes::Plugin
Plugin interface class.
Definition:
plugin.h:34
src
plugins
pddl-robot-memory
pddl_robot_memory_plugin.cpp
Generated by
1.8.20