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 | hasHeader () |
virtual bool | isConst () |
void | setCreateFunction (const CreateFunction &create) |
SubscriptionCallbackHelperT (const Callback &callback, const CreateFunction &create=DefaultMessageCreator< NonConstType >()) | |
Public Member Functions inherited from ros::SubscriptionCallbackHelper | |
virtual | ~SubscriptionCallbackHelper () |
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 87 of file subscription_callback_helper.h.
typedef ParameterAdapter<P> ros::SubscriptionCallbackHelperT< P, Enabled >::Adapter |
Definition at line 90 of file subscription_callback_helper.h.
typedef boost::function<void(typename Adapter::Parameter)> ros::SubscriptionCallbackHelperT< P, Enabled >::Callback |
Definition at line 99 of file subscription_callback_helper.h.
typedef boost::add_const<NonConstType>::type ros::SubscriptionCallbackHelperT< P, Enabled >::ConstType |
Definition at line 93 of file subscription_callback_helper.h.
typedef boost::shared_ptr<ConstType> ros::SubscriptionCallbackHelperT< P, Enabled >::ConstTypePtr |
Definition at line 95 of file subscription_callback_helper.h.
typedef boost::function<NonConstTypePtr()> ros::SubscriptionCallbackHelperT< P, Enabled >::CreateFunction |
Definition at line 100 of file subscription_callback_helper.h.
typedef ParameterAdapter<P>::Event ros::SubscriptionCallbackHelperT< P, Enabled >::Event |
Definition at line 92 of file subscription_callback_helper.h.
typedef ParameterAdapter<P>::Message ros::SubscriptionCallbackHelperT< P, Enabled >::NonConstType |
Definition at line 91 of file subscription_callback_helper.h.
typedef boost::shared_ptr<NonConstType> ros::SubscriptionCallbackHelperT< P, Enabled >::NonConstTypePtr |
Definition at line 94 of file subscription_callback_helper.h.
|
inline |
Definition at line 102 of file subscription_callback_helper.h.
|
inlinevirtual |
Implements ros::SubscriptionCallbackHelper.
Definition at line 141 of file subscription_callback_helper.h.
|
inlinevirtual |
Implements ros::SubscriptionCallbackHelper.
Definition at line 118 of file subscription_callback_helper.h.
|
inlinevirtual |
Implements ros::SubscriptionCallbackHelper.
Definition at line 147 of file subscription_callback_helper.h.
|
inlinevirtual |
Implements ros::SubscriptionCallbackHelper.
Definition at line 113 of file subscription_callback_helper.h.
|
inlinevirtual |
Implements ros::SubscriptionCallbackHelper.
Definition at line 152 of file subscription_callback_helper.h.
|
inline |
Definition at line 108 of file subscription_callback_helper.h.
|
private |
Definition at line 158 of file subscription_callback_helper.h.
|
private |
Definition at line 159 of file subscription_callback_helper.h.
|
static |
Definition at line 97 of file subscription_callback_helper.h.