Fawkes API  Fawkes Development Version
skiller_simulator_plugin.cpp
1 /***************************************************************************
2  * skiller_simulator_plugin.cpp - Simulate the execution of a skill
3  *
4  * Created: Mon 06 May 2019 09:01:14 CEST 09:01
5  * Copyright 2019 Till Hofmann <hofmann@kbsg.rwth-aachen.de>
6  ****************************************************************************/
7 
8 /* This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU Library General Public License for more details.
17  *
18  * Read the full text in the LICENSE.GPL file in the doc directory.
19  */
20 
21 #include "skiller_simulator_plugin.h"
22 
23 #include "exec_thread.h"
24 
25 using namespace fawkes;
26 
27 /** @class SkillerSimulatorPlugin <plugins/skiller-simulator/skiller_simulator_plugin.cpp>
28  * Skill Simulated Execution Plugin.
29  * This plugin acts like the skiller plugin but only simulates skill execution.
30  *
31  * @author Till Hofmann
32  */
33 
34 /** Constructor.
35  * @param config Fawkes configuration to read config values from.
36  */
38 {
40 }
41 
42 PLUGIN_DESCRIPTION("Simulated Skill Execution")
43 EXPORT_PLUGIN(SkillerSimulatorPlugin)
Simulated Skill Execution Thread.
Definition: exec_thread.h:40
Skill Simulated Execution Plugin.
SkillerSimulatorPlugin(fawkes::Configuration *config)
Constructor.
Interface for configuration handling.
Definition: config.h:68
Plugin interface class.
Definition: plugin.h:34
ThreadList thread_list
Thread list member.
Definition: plugin.h:53
void push_back(Thread *thread)
Add thread to the end.
Fawkes library namespace.