declare_all_templates.h
Go to the documentation of this file.
00001 #ifndef DECLARE_ALL_TEMPLATES_H
00002 #define DECLARE_ALL_TEMPLATES_H
00003 
00004 #include <pluginlib/class_list_macros.h>
00005 #include <message_transport/raw_publisher.h>
00006 #include <message_transport/raw_subscriber.h>
00007 #include <sharedmem_transport/sharedmem_publisher.h>
00008 #include <sharedmem_transport/sharedmem_subscriber.h>
00009 #include <udpmulti_transport/udpmulti_publisher.h>
00010 #include <udpmulti_transport/udpmulti_subscriber.h>
00011 #include <bz2_transport/bz2_publisher.h>
00012 #include <bz2_transport/bz2_subscriber.h>
00013 #include <throttled_transport/throttled_publisher.h>
00014 #include <throttled_transport/throttled_subscriber.h>
00015 
00016 // Declare all the templated classes for a given type
00017 #define DECLARE_ALL_TEMPLATES(plugin_namespace,suffix,type) \
00018 PLUGINLIB_DECLARE_CLASS(plugin_namespace,raw_##suffix##_pub, message_transport::RawPublisher<type>, message_transport::PublisherPlugin<type>)                  \
00019 PLUGINLIB_DECLARE_CLASS(plugin_namespace,raw_##suffix##_sub, message_transport::RawSubscriber<type>, message_transport::SubscriberPlugin<type>)                \
00020 PLUGINLIB_DECLARE_CLASS(plugin_namespace,sharedmem_##suffix##_pub, sharedmem_transport::SharedmemPublisher<type>, message_transport::PublisherPlugin<type>)    \
00021 PLUGINLIB_DECLARE_CLASS(plugin_namespace,sharedmem_##suffix##_sub, sharedmem_transport::SharedmemSubscriber<type>, message_transport::SubscriberPlugin<type>)  \
00022 PLUGINLIB_DECLARE_CLASS(plugin_namespace,udpmulti_##suffix##_pub, udpmulti_transport::UDPMultiPublisher<type>, message_transport::PublisherPlugin<type>)       \
00023 PLUGINLIB_DECLARE_CLASS(plugin_namespace,udpmulti_##suffix##_sub, udpmulti_transport::UDPMultiSubscriber<type>, message_transport::SubscriberPlugin<type>)     \
00024 PLUGINLIB_DECLARE_CLASS(plugin_namespace,bz2_##suffix##_pub, bz2_transport::BZ2Publisher<type>, message_transport::PublisherPlugin<type>)                      \
00025 PLUGINLIB_DECLARE_CLASS(plugin_namespace,bz2_##suffix##_sub, bz2_transport::BZ2Subscriber<type>, message_transport::SubscriberPlugin<type>)                    \
00026 PLUGINLIB_DECLARE_CLASS(plugin_namespace,throttled_##suffix##_pub, throttled_transport::ThrottledPublisher<type>, message_transport::PublisherPlugin<type>)    \
00027 PLUGINLIB_DECLARE_CLASS(plugin_namespace,throttled_##suffix##_sub, throttled_transport::ThrottledSubscriber<type>, message_transport::SubscriberPlugin<type>)                    
00028 
00029 
00030 #endif // DECLARE_ALL_TEMPLATES_H
00031 


templated_transports
Author(s): Cedric Pradalier
autogenerated on Sat Dec 28 2013 16:57:27