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 std::function< void(typename Adapter::Parameter)> | Callback |
typedef std::add_const< NonConstType >::type | ConstType |
typedef std::shared_ptr< ConstType > | ConstTypePtr |
typedef std::function< NonConstTypePtr()> | CreateFunction |
typedef ParameterAdapter< P >::Event | Event |
typedef ParameterAdapter< P >::Message | NonConstType |
typedef std::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 >()) | |
![]() | |
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 88 of file subscription_callback_helper.h.
typedef ParameterAdapter<P> roswrap::SubscriptionCallbackHelperT< P, Enabled >::Adapter |
Definition at line 91 of file subscription_callback_helper.h.
typedef std::function<void(typename Adapter::Parameter)> roswrap::SubscriptionCallbackHelperT< P, Enabled >::Callback |
Definition at line 100 of file subscription_callback_helper.h.
typedef std::add_const<NonConstType>::type roswrap::SubscriptionCallbackHelperT< P, Enabled >::ConstType |
Definition at line 94 of file subscription_callback_helper.h.
typedef std::shared_ptr<ConstType> roswrap::SubscriptionCallbackHelperT< P, Enabled >::ConstTypePtr |
Definition at line 96 of file subscription_callback_helper.h.
typedef std::function<NonConstTypePtr()> roswrap::SubscriptionCallbackHelperT< P, Enabled >::CreateFunction |
Definition at line 101 of file subscription_callback_helper.h.
typedef ParameterAdapter<P>::Event roswrap::SubscriptionCallbackHelperT< P, Enabled >::Event |
Definition at line 93 of file subscription_callback_helper.h.
typedef ParameterAdapter<P>::Message roswrap::SubscriptionCallbackHelperT< P, Enabled >::NonConstType |
Definition at line 92 of file subscription_callback_helper.h.
typedef std::shared_ptr<NonConstType> roswrap::SubscriptionCallbackHelperT< P, Enabled >::NonConstTypePtr |
Definition at line 95 of file subscription_callback_helper.h.
|
inline |
Definition at line 103 of file subscription_callback_helper.h.
|
inlinevirtual |
Implements roswrap::SubscriptionCallbackHelper.
Definition at line 142 of file subscription_callback_helper.h.
|
inlinevirtual |
Implements roswrap::SubscriptionCallbackHelper.
Definition at line 119 of file subscription_callback_helper.h.
|
inlinevirtual |
Implements roswrap::SubscriptionCallbackHelper.
Definition at line 148 of file subscription_callback_helper.h.
|
inlinevirtual |
Implements roswrap::SubscriptionCallbackHelper.
Definition at line 114 of file subscription_callback_helper.h.
|
inlinevirtual |
Implements roswrap::SubscriptionCallbackHelper.
Definition at line 153 of file subscription_callback_helper.h.
|
inline |
Definition at line 109 of file subscription_callback_helper.h.
|
private |
Definition at line 159 of file subscription_callback_helper.h.
|
private |
Definition at line 160 of file subscription_callback_helper.h.
|
static |
Definition at line 98 of file subscription_callback_helper.h.