Fawkes API  Fawkes Development Version
gazebo_plugin.cpp
1 
2 /***************************************************************************
3  * gazebo_plugin.cpp - Plugin to access Gazebo features
4  *
5  * Created: Fri Aug 24 11:04:04 2012
6  * Author Bastian Klingen
7  *
8  ****************************************************************************/
9 
10 /* This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Library General Public License for more details.
19  *
20  * Read the full text in the LICENSE.GPL file in the doc directory.
21  */
22 
23 #include "node_thread.h"
24 
25 // from Gazebo
26 #include <gazebo/transport/TransportIface.hh>
27 #include <plugins/gazebo/gazebo_plugin.h>
28 
29 using namespace fawkes;
30 
31 /** @class GazeboPlugin "gazebo_plugin.h"
32  * Plugin to access Gazebo from Fawkes.
33  * This plugin integrates Gazebo and provides access to the Gazebo context
34  * to other plugins.
35  * @author Bastian Klingen
36  */
37 
38 /** Constructor.
39  * @param config Fawkes configuration
40  */
42  : Plugin(config)
43 {
45 }
46 
47 
48 PLUGIN_DESCRIPTION("Provides access to Gazebo")
49 EXPORT_PLUGIN(GazeboPlugin)
Plugin interface class.
Definition: plugin.h:33
Gazebo node handle thread.
Definition: node_thread.h:44
Fawkes library namespace.
Plugin to access Gazebo from Fawkes.
Definition: gazebo_plugin.h:28
GazeboPlugin(fawkes::Configuration *config)
Constructor.
ThreadList thread_list
Thread list member.
Definition: plugin.h:53
void push_back(Thread *thread)
Add thread to the end.
Interface for configuration handling.
Definition: config.h:67