Fawkes API  Fawkes Development Version
lookup_plugin.cpp
1 /***************************************************************************
2  * lookup_plugin.cpp - Get skill exec times from db lookups
3  *
4  * Created: Tue 24 Jan 2020 09:36:35 CET 09:36
5  * Copyright 2020 Tarik Viehmann <viehmann@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 "lookup_thread.h"
22 
23 #include <core/plugin.h>
24 
25 /** @class ExecutionTimeEstimatorLookupPlugin
26  * Plugin to get estimates for skill execution times from samples of a mongodb
27  * database.
28  */
29 
31 {
32 public:
33  /** Constructor.
34  * @param config The fawkes config to use
35  */
37  {
39  }
40 };
41 
42 PLUGIN_DESCRIPTION("Sample skill times from Mongodb Database")
Get estimates for skill execution times from samples of a mongodb database.
Definition: lookup_thread.h:36
Plugin to get estimates for skill execution times from samples of a mongodb database.
ExecutionTimeEstimatorLookupPlugin(fawkes::Configuration *config)
Constructor.
Plugin representation for JSON transfer.
Definition: Plugin.h:28
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
Configuration * config
Fawkes configuration.
Definition: plugin.h:58
void push_back(Thread *thread)
Add thread to the end.