Fawkes API  Fawkes Development Version
realsense_plugin.cpp
1 
2 /***************************************************************************
3  * realsense_plugin.cpp - realsense
4  *
5  * Plugin created: Mon Jun 13 17:09:44 2016
6 
7  * Copyright 2016 Johannes Rothe
8  *
9  ****************************************************************************/
10 
11 /* This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU Library General Public License for more details.
20  *
21  * Read the full text in the LICENSE.GPL file in the doc directory.
22  */
23 
24 #include "realsense_thread.h"
25 
26 #include <core/plugin.h>
27 
28 using namespace fawkes;
29 
30 /** Driver for the Intel RealSense camera.
31  * @author Johannes Rothe
32  */
34 {
35 public:
36  /** Constructor
37  * @param config Fakwes configuration
38  */
39  explicit RealsensePlugin(Configuration *config) : Plugin(config)
40  {
41  thread_list.push_back(new RealsenseThread());
42  }
43 };
44 
45 PLUGIN_DESCRIPTION("Driver for Intel RealSense camera")
46 EXPORT_PLUGIN(RealsensePlugin)
Plugin interface class.
Definition: plugin.h:33
Fawkes library namespace.
Driver for the Intel RealSense camera.
RealsensePlugin(Configuration *config)
Constructor.
Driver for the Intel RealSense Camera providing Depth Data as Pointcloud Inspired by IntelĀ® RealSens...
Interface for configuration handling.
Definition: config.h:64