Fawkes API Fawkes Development Version
clock_plugin.cpp
1
2/***************************************************************************
3 * clock_plugin.cpp - Plugin to publish clock to ROS
4 *
5 * Created: Sun Jul 12 16:11:33 2015
6 * Copyright 2015 Tim Niemueller
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 "clock_thread.h"
23
24#include <core/plugin.h>
25
26using namespace fawkes;
27
28/** Plugin to publish clock to ROS.
29 * @author Tim Niemueller
30 */
32{
33public:
34 /** Constructor.
35 * @param config Fawkes configuration
36 */
38 {
40 }
41};
42
43PLUGIN_DESCRIPTION("Publish clock to ROS")
44EXPORT_PLUGIN(RosClockPlugin)
Plugin to publish clock to ROS.
RosClockPlugin(Configuration *config)
Constructor.
Thread to publish clock to ROS.
Definition: clock_thread.h:42
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.