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 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 126 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 129 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 138 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 132 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 134 of file subscription_callback_helper.h.

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

Definition at line 139 of file subscription_callback_helper.h.

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

Definition at line 131 of file subscription_callback_helper.h.

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

Definition at line 130 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 133 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 141 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 177 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 152 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 183 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 188 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 147 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 194 of file subscription_callback_helper.h.

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

Definition at line 195 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 136 of file subscription_callback_helper.h.


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


roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Josh Faust jfaust@willowgarage.com, Brian Gerkey gerkey@willowgarage.com, Troy Straszheim straszheim@willowgarage.com
autogenerated on Sat Dec 28 2013 17:35:53