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>
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 ¶ms) |
virtual VoidConstPtr | deserialize (const SubscriptionCallbackHelperDeserializeParams ¶ms) |
virtual const std::type_info & | getTypeInfo () |
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_ |
Concrete generic implementation of SubscriptionCallbackHelper for any normal message type. Use directly with care, this is mostly for internal use.
Definition at line 86 of file subscription_callback_helper.h.
typedef ParameterAdapter<P> ros::SubscriptionCallbackHelperT< P, Enabled >::Adapter |
Definition at line 89 of file subscription_callback_helper.h.
typedef boost::function<void(typename Adapter::Parameter)> ros::SubscriptionCallbackHelperT< P, Enabled >::Callback |
Definition at line 98 of file subscription_callback_helper.h.
typedef boost::add_const<NonConstType>::type ros::SubscriptionCallbackHelperT< P, Enabled >::ConstType |
Definition at line 92 of file subscription_callback_helper.h.
typedef boost::shared_ptr<ConstType> ros::SubscriptionCallbackHelperT< P, Enabled >::ConstTypePtr |
Definition at line 94 of file subscription_callback_helper.h.
typedef boost::function<NonConstTypePtr()> ros::SubscriptionCallbackHelperT< P, Enabled >::CreateFunction |
Definition at line 99 of file subscription_callback_helper.h.
typedef ParameterAdapter<P>::Event ros::SubscriptionCallbackHelperT< P, Enabled >::Event |
Definition at line 91 of file subscription_callback_helper.h.
typedef ParameterAdapter<P>::Message ros::SubscriptionCallbackHelperT< P, Enabled >::NonConstType |
Definition at line 90 of file subscription_callback_helper.h.
typedef boost::shared_ptr<NonConstType> ros::SubscriptionCallbackHelperT< P, Enabled >::NonConstTypePtr |
Definition at line 93 of file subscription_callback_helper.h.
ros::SubscriptionCallbackHelperT< P, Enabled >::SubscriptionCallbackHelperT | ( | const Callback & | callback, |
const CreateFunction & | create = DefaultMessageCreator<NonConstType>() |
||
) | [inline] |
Definition at line 101 of file subscription_callback_helper.h.
virtual void ros::SubscriptionCallbackHelperT< P, Enabled >::call | ( | SubscriptionCallbackHelperCallParams & | params | ) | [inline, virtual] |
Implements ros::SubscriptionCallbackHelper.
Definition at line 137 of file subscription_callback_helper.h.
virtual VoidConstPtr ros::SubscriptionCallbackHelperT< P, Enabled >::deserialize | ( | const SubscriptionCallbackHelperDeserializeParams & | params | ) | [inline, virtual] |
Implements ros::SubscriptionCallbackHelper.
Definition at line 112 of file subscription_callback_helper.h.
virtual const std::type_info& ros::SubscriptionCallbackHelperT< P, Enabled >::getTypeInfo | ( | ) | [inline, virtual] |
Implements ros::SubscriptionCallbackHelper.
Definition at line 143 of file subscription_callback_helper.h.
virtual bool ros::SubscriptionCallbackHelperT< P, Enabled >::isConst | ( | ) | [inline, virtual] |
Implements ros::SubscriptionCallbackHelper.
Definition at line 148 of file subscription_callback_helper.h.
void ros::SubscriptionCallbackHelperT< P, Enabled >::setCreateFunction | ( | const CreateFunction & | create | ) | [inline] |
Definition at line 107 of file subscription_callback_helper.h.
Callback ros::SubscriptionCallbackHelperT< P, Enabled >::callback_ [private] |
Definition at line 154 of file subscription_callback_helper.h.
CreateFunction ros::SubscriptionCallbackHelperT< P, Enabled >::create_ [private] |
Definition at line 155 of file subscription_callback_helper.h.
const bool ros::SubscriptionCallbackHelperT< P, Enabled >::is_const = ParameterAdapter<P>::is_const [static] |
Definition at line 96 of file subscription_callback_helper.h.