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 126 of file subscription_callback_helper.h.
typedef ParameterAdapter<P> ros::SubscriptionCallbackHelperT< P, Enabled >::Adapter |
Definition at line 129 of file subscription_callback_helper.h.
typedef boost::function<void(typename Adapter::Parameter)> ros::SubscriptionCallbackHelperT< P, Enabled >::Callback |
Definition at line 138 of file subscription_callback_helper.h.
typedef boost::add_const<NonConstType>::type ros::SubscriptionCallbackHelperT< P, Enabled >::ConstType |
Definition at line 132 of file subscription_callback_helper.h.
typedef boost::shared_ptr<ConstType> ros::SubscriptionCallbackHelperT< P, Enabled >::ConstTypePtr |
Definition at line 134 of file subscription_callback_helper.h.
typedef boost::function<NonConstTypePtr()> ros::SubscriptionCallbackHelperT< P, Enabled >::CreateFunction |
Definition at line 139 of file subscription_callback_helper.h.
typedef ParameterAdapter<P>::Event ros::SubscriptionCallbackHelperT< P, Enabled >::Event |
Definition at line 131 of file subscription_callback_helper.h.
typedef ParameterAdapter<P>::Message ros::SubscriptionCallbackHelperT< P, Enabled >::NonConstType |
Definition at line 130 of file subscription_callback_helper.h.
typedef boost::shared_ptr<NonConstType> ros::SubscriptionCallbackHelperT< P, Enabled >::NonConstTypePtr |
Definition at line 133 of file subscription_callback_helper.h.
ros::SubscriptionCallbackHelperT< P, Enabled >::SubscriptionCallbackHelperT | ( | const Callback & | callback, |
const CreateFunction & | create = DefaultMessageCreator<NonConstType>() |
||
) | [inline] |
Definition at line 141 of file subscription_callback_helper.h.
virtual void ros::SubscriptionCallbackHelperT< P, Enabled >::call | ( | SubscriptionCallbackHelperCallParams & | params | ) | [inline, virtual] |
Implements ros::SubscriptionCallbackHelper.
Definition at line 177 of file subscription_callback_helper.h.
virtual VoidConstPtr ros::SubscriptionCallbackHelperT< P, Enabled >::deserialize | ( | const SubscriptionCallbackHelperDeserializeParams & | params | ) | [inline, virtual] |
Implements ros::SubscriptionCallbackHelper.
Definition at line 152 of file subscription_callback_helper.h.
virtual const std::type_info& ros::SubscriptionCallbackHelperT< P, Enabled >::getTypeInfo | ( | ) | [inline, virtual] |
Implements ros::SubscriptionCallbackHelper.
Definition at line 183 of file subscription_callback_helper.h.
virtual bool ros::SubscriptionCallbackHelperT< P, Enabled >::isConst | ( | ) | [inline, virtual] |
Implements ros::SubscriptionCallbackHelper.
Definition at line 188 of file subscription_callback_helper.h.
void ros::SubscriptionCallbackHelperT< P, Enabled >::setCreateFunction | ( | const CreateFunction & | create | ) | [inline] |
Definition at line 147 of file subscription_callback_helper.h.
Callback ros::SubscriptionCallbackHelperT< P, Enabled >::callback_ [private] |
Definition at line 194 of file subscription_callback_helper.h.
CreateFunction ros::SubscriptionCallbackHelperT< P, Enabled >::create_ [private] |
Definition at line 195 of file subscription_callback_helper.h.
const bool ros::SubscriptionCallbackHelperT< P, Enabled >::is_const = ParameterAdapter<P>::is_const [static] |
Definition at line 136 of file subscription_callback_helper.h.