Public Types | Public Member Functions | Static Public Attributes | Private Attributes
ros::SubscriptionCallbackHelperT< P, Enabled > Class Template Reference

Concrete generic implementation of SubscriptionCallbackHelper for any normal message type. Use directly with care, this is mostly for internal use. More...

#include <subscription_callback_helper.h>

Inheritance diagram for ros::SubscriptionCallbackHelperT< P, Enabled >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef ParameterAdapter< P > Adapter
typedef boost::function< void(typename
Adapter::Parameter)> 
Callback
typedef boost::add_const
< NonConstType >::type 
ConstType
typedef boost::shared_ptr
< ConstType
ConstTypePtr
typedef boost::function
< NonConstTypePtr()> 
CreateFunction
typedef ParameterAdapter< P >
::Event 
Event
typedef ParameterAdapter< P >
::Message 
NonConstType
typedef boost::shared_ptr
< NonConstType
NonConstTypePtr

Public Member Functions

virtual void call (SubscriptionCallbackHelperCallParams &params)
virtual VoidConstPtr deserialize (const SubscriptionCallbackHelperDeserializeParams &params)
virtual const std::type_info & getTypeInfo ()
virtual bool hasHeader ()
virtual bool isConst ()
void setCreateFunction (const CreateFunction &create)
 SubscriptionCallbackHelperT (const Callback &callback, const CreateFunction &create=DefaultMessageCreator< NonConstType >())

Static Public Attributes

static const bool is_const = ParameterAdapter<P>::is_const

Private Attributes

Callback callback_
CreateFunction create_

Detailed Description

template<typename P, typename Enabled = void>
class ros::SubscriptionCallbackHelperT< P, Enabled >

Concrete generic implementation of SubscriptionCallbackHelper for any normal message type. Use directly with care, this is mostly for internal use.

Definition at line 87 of file subscription_callback_helper.h.


Member Typedef Documentation

template<typename P , typename Enabled = void>
typedef ParameterAdapter<P> ros::SubscriptionCallbackHelperT< P, Enabled >::Adapter

Definition at line 90 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
typedef boost::function<void(typename Adapter::Parameter)> ros::SubscriptionCallbackHelperT< P, Enabled >::Callback

Definition at line 99 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
typedef boost::add_const<NonConstType>::type ros::SubscriptionCallbackHelperT< P, Enabled >::ConstType

Definition at line 93 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
typedef boost::shared_ptr<ConstType> ros::SubscriptionCallbackHelperT< P, Enabled >::ConstTypePtr

Definition at line 95 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
typedef boost::function<NonConstTypePtr()> ros::SubscriptionCallbackHelperT< P, Enabled >::CreateFunction

Definition at line 100 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
typedef ParameterAdapter<P>::Event ros::SubscriptionCallbackHelperT< P, Enabled >::Event

Definition at line 92 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
typedef ParameterAdapter<P>::Message ros::SubscriptionCallbackHelperT< P, Enabled >::NonConstType

Definition at line 91 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
typedef boost::shared_ptr<NonConstType> ros::SubscriptionCallbackHelperT< P, Enabled >::NonConstTypePtr

Definition at line 94 of file subscription_callback_helper.h.


Constructor & Destructor Documentation

template<typename P , typename Enabled = void>
ros::SubscriptionCallbackHelperT< P, Enabled >::SubscriptionCallbackHelperT ( const Callback callback,
const CreateFunction create = DefaultMessageCreator<NonConstType>() 
) [inline]

Definition at line 102 of file subscription_callback_helper.h.


Member Function Documentation

template<typename P , typename Enabled = void>
virtual void ros::SubscriptionCallbackHelperT< P, Enabled >::call ( SubscriptionCallbackHelperCallParams params) [inline, virtual]

Implements ros::SubscriptionCallbackHelper.

Definition at line 141 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
virtual VoidConstPtr ros::SubscriptionCallbackHelperT< P, Enabled >::deserialize ( const SubscriptionCallbackHelperDeserializeParams params) [inline, virtual]

Implements ros::SubscriptionCallbackHelper.

Definition at line 118 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
virtual const std::type_info& ros::SubscriptionCallbackHelperT< P, Enabled >::getTypeInfo ( ) [inline, virtual]

Implements ros::SubscriptionCallbackHelper.

Definition at line 147 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
virtual bool ros::SubscriptionCallbackHelperT< P, Enabled >::hasHeader ( ) [inline, virtual]

Implements ros::SubscriptionCallbackHelper.

Definition at line 113 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
virtual bool ros::SubscriptionCallbackHelperT< P, Enabled >::isConst ( ) [inline, virtual]

Implements ros::SubscriptionCallbackHelper.

Definition at line 152 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
void ros::SubscriptionCallbackHelperT< P, Enabled >::setCreateFunction ( const CreateFunction create) [inline]

Definition at line 108 of file subscription_callback_helper.h.


Member Data Documentation

template<typename P , typename Enabled = void>
Callback ros::SubscriptionCallbackHelperT< P, Enabled >::callback_ [private]

Definition at line 158 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
CreateFunction ros::SubscriptionCallbackHelperT< P, Enabled >::create_ [private]

Definition at line 159 of file subscription_callback_helper.h.

template<typename P , typename Enabled = void>
const bool ros::SubscriptionCallbackHelperT< P, Enabled >::is_const = ParameterAdapter<P>::is_const [static]

Definition at line 97 of file subscription_callback_helper.h.


The documentation for this class was generated from the following file:


roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Tue Mar 7 2017 03:44:47