Fawkes API  Fawkes Development Version
realsense2_plugin.cpp
1 
2 /***************************************************************************
3  * realsense2_plugin.cpp - realsense2
4  *
5  * Plugin created: Wed May 22 10:09:22 2018
6 
7  * Copyright 2019 Christoph Gollok
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 "realsense2_thread.h"
25 
26 #include <core/plugin.h>
27 
28 using namespace fawkes;
29 
30 /** Driver for the Intel RealSense2 cameras.
31  * @author Christoph Gollok
32  */
34 {
35 public:
36  /** Constructor
37  * @param config Fakwes configuration
38  */
39  explicit Realsense2Plugin(Configuration *config) : Plugin(config)
40  {
41  thread_list.push_back(new Realsense2Thread());
42  }
43 };
44 
45 PLUGIN_DESCRIPTION("Driver for Intel RealSense2 camera")
46 EXPORT_PLUGIN(Realsense2Plugin)
Driver for the Intel RealSense2 cameras.
Realsense2Plugin(Configuration *config)
Constructor.
Driver for the Intel RealSense Camera providing Depth Data as Pointcloud Inspired by realsense fawkes...
Interface for configuration handling.
Definition: config.h:65
Plugin interface class.
Definition: plugin.h:34
Fawkes library namespace.