Fawkes API  Fawkes Development Version
openrave-robot-memory_plugin.cpp
1 
2 /***************************************************************************
3  * openrave-robot-memory_plugin.cpp - openrave-robot-memory
4  *
5  * Created: Thu Nov 24 13:14:33 2016
6  * Copyright 2016 Frederik Zwilling
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 "openrave-robot-memory_thread.h"
23 
24 #include <core/plugin.h>
25 
26 using namespace fawkes;
27 
28 /** @class OpenraveRobotMemoryPlugin "openrave-robot-memory_plugin.cpp"
29  * Creates an OpenRave Scene for motion planning from data in the robot memory
30  * @author Frederik Zwilling
31  */
33 {
34 public:
35  /** Constructor.
36  * @param config Fakwes configuration
37  */
38  explicit OpenraveRobotMemoryPlugin(Configuration *config) : Plugin(config)
39  {
40  thread_list.push_back(new OpenraveRobotMemoryThread());
41  }
42 };
43 
44 PLUGIN_DESCRIPTION("Creates an OpenRave Scene for motion planning from data in the robot memory")
45 EXPORT_PLUGIN(OpenraveRobotMemoryPlugin)
OpenraveRobotMemoryThread
Definition: openrave-robot-memory_thread.h:40
OpenraveRobotMemoryPlugin
Definition: openrave-robot-memory_plugin.cpp:32
fawkes::Configuration
Definition: config.h:68
fawkes
OpenraveRobotMemoryPlugin::OpenraveRobotMemoryPlugin
OpenraveRobotMemoryPlugin(Configuration *config)
Constructor.
Definition: openrave-robot-memory_plugin.cpp:38
fawkes::Plugin
Definition: plugin.h:37