Fawkes API Fawkes Development Version
gazsim_comm_plugin.cpp
1/***************************************************************************
2 * gazsim_comm_plugin.cpp - Plugin simulates peer-to-peer communication over
3 * an network with configurable instability and manages
4 * the frowarding of messages to different ports on
5 * the same machine.
6 *
7 * Created: Thu Sep 12 11:06:41 2013
8 * Copyright 2013 Frederik Zwilling
9 *
10 ****************************************************************************/
11
12/* This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU Library General Public License for more details.
21 *
22 * Read the full text in the LICENSE.GPL file in the doc directory.
23 */
24
25#include "gazsim_comm_thread.h"
26
27#include <core/plugin.h>
28
29using namespace fawkes;
30
31/** Plugin simulates communication
32 * @author Frederik Zwilling
33 */
35{
36public:
37 /** Constructor.
38 * @param config Fawkes configuration
39 */
41 {
43 }
44};
45
46PLUGIN_DESCRIPTION("Simulates and manages communication for testing with Gazebo")
47EXPORT_PLUGIN(GazsimCommPlugin)
Plugin simulates communication.
GazsimCommPlugin(Configuration *config)
Constructor.
Plugin simulates and manages communication for Simulation in Gazebo.
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.
Fawkes library namespace.