Fawkes API
Fawkes Development Version
stn-generator_plugin.cpp
1
2
/***************************************************************************
3
* stn-generator_plugin.cpp - stn-generator
4
*
5
* Created: Sat May 6 20:16:21 2017
6
* Copyright 2017 Matthias Loebach
7
****************************************************************************/
8
9
/* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2 of the License, or
12
* (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU Library General Public License for more details.
18
*
19
* Read the full text in the LICENSE.GPL file in the doc directory.
20
*/
21
22
#include "stn-generator_thread.h"
23
24
#include <core/plugin.h>
25
26
using namespace
fawkes
;
27
28
/** @class StnGeneratorPlugin "stn-generator_plugin.cpp"
29
* Generates an STN representation of a sequential task plan
30
* @author Matthias Loebach
31
*/
32
class
StnGeneratorPlugin
:
public
fawkes::Plugin
33
{
34
public
:
35
/** Constructor.
36
* @param config Fakwes configuration
37
*/
38
explicit
StnGeneratorPlugin
(
Configuration
*config) :
Plugin
(config)
39
{
40
thread_list.push_back(
new
StnGeneratorThread
());
41
}
42
};
43
44
PLUGIN_DESCRIPTION(
"Generates an STN representation of a sequential task plan"
)
45
EXPORT_PLUGIN(
StnGeneratorPlugin
)
StnGeneratorPlugin::StnGeneratorPlugin
StnGeneratorPlugin(Configuration *config)
Constructor.
Definition:
stn-generator_plugin.cpp:38
StnGeneratorThread
Definition:
stn-generator_thread.h:39
fawkes::Configuration
Definition:
config.h:70
fawkes
StnGeneratorPlugin
Definition:
stn-generator_plugin.cpp:32
fawkes::Plugin
Definition:
plugin.h:39
src
plugins
stn-generator
stn-generator_plugin.cpp
Generated by
1.8.17