plugin_generator.cc
Go to the documentation of this file.
1 // Copyright 2017 Intermodalics All Rights Reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 #include <map>
15 #include <string>
16 
18 #include <pluginlib/class_desc.h>
19 
20 using namespace pluginlib;
21 
22 // Lists all plugins that can be loaded by the nodelet manager in this app.
23 typedef std::map<std::string, ClassDesc> classes_available_map;
24 typedef std::pair<std::string, ClassDesc> plugin_pair;
26  classes_available_map pluginClasses;
27  pluginClasses.insert(
29  "image_transport/raw_pub",
30  ClassDesc("image_transport/raw_pub",
31  "image_transport::RawPublisher",
32  "image_transport::PublisherPlugin",
33  "image_transport",
34  "This is the default publisher. It publishes the Image as-is on the base topic.",
35  "lib/libimage_transport_plugins",
36  "")));
37  pluginClasses.insert(
39  "image_transport/raw_sub",
40  ClassDesc("image_transport/raw_sub",
41  "image_transport::RawSubscriber",
42  "image_transport::SubscriberPlugin",
43  "image_transport",
44  "This is the default pass-through subscriber for topics of type sensor_msgs/Image.",
45  "lib/libimage_transport_plugins",
46  "")));
47  pluginClasses.insert(
49  "image_transport/compressedDepth_pub",
50  ClassDesc("image_transport/compressedDepth_pub",
51  "compressed_depth_image_transport::CompressedDepthPublisher",
52  "image_transport::PublisherPlugin",
53  "compressed_depth_image_transport",
54  "This plugin publishes a compressed depth images using PNG compression.",
55  "lib/libcompressed_depth_image_transport",
56  "")));
57  pluginClasses.insert(
59  "image_transport/compressedDepth_sub",
60  ClassDesc("image_transport/compressedDepth_sub",
61  "compressed_depth_image_transport::CompressedDepthSubscriber",
62  "image_transport::SubscriberPlugin",
63  "compressed_depth_image_transport",
64  "This plugin decodes a compressed depth images.",
65  "lib/libcompressed_depth_image_transport",
66  "")));
67  pluginClasses.insert(
69  "image_transport/compressed_pub",
70  ClassDesc("image_transport/compressed_pub",
71  "compressed_image_transport::CompressedPublisher",
72  "image_transport::PublisherPlugin",
73  "compressed_image_transport",
74  "This plugin publishes a CompressedImage using either JPEG or PNG compression.",
75  "lib/libcompressed_image_transport",
76  "")));
77  pluginClasses.insert(
79  "image_transport/compressed_sub",
80  ClassDesc("image_transport/compressed_sub",
81  "compressed_image_transport::CompressedSubscriber",
82  "image_transport::SubscriberPlugin",
83  "compressed_image_transport",
84  "This plugin decompresses a CompressedImage topic.",
85  "lib/libcompressed_image_transport",
86  "")));
87  pluginClasses.insert(
89  "tango_ros_native/TangoRosNodelet",
90  ClassDesc("tango_ros_native/TangoRosNodelet",
91  "tango_ros_native::TangoRosNodelet",
92  "nodelet::Nodelet",
93  "tango_ros_native",
94  "lib/libtango_ros_native",
95  "Publishes Tango sensor data.",
96  "")));
97  return pluginClasses;
98 }
std::map< std::string, ClassDesc > classes_available_map
std::pair< std::string, ClassDesc > plugin_pair
classes_available_map getStaticClassesAvailable(void)


TangoRosStreamer
Author(s):
autogenerated on Mon Jun 10 2019 15:37:54