message_filters::ChainBase Class Reference

Base class for Chain, allows you to store multiple chains in the same container. Provides filter retrieval by index. More...

#include <chain.h>

Inheritance diagram for message_filters::ChainBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

template<typename F >
boost::shared_ptr< F > getFilter (size_t index) const
 Retrieve a filter from this chain by index. Returns an empty shared_ptr if the index is greater than the size of the chain. NOT type-safe.
virtual ~ChainBase ()

Protected Member Functions

virtual boost::shared_ptr< void > getFilterForIndex (size_t index) const =0

Detailed Description

Base class for Chain, allows you to store multiple chains in the same container. Provides filter retrieval by index.

Definition at line 46 of file chain.h.


Constructor & Destructor Documentation

virtual message_filters::ChainBase::~ChainBase (  )  [inline, virtual]

Definition at line 42 of file chain.h.


Member Function Documentation

template<typename F >
boost::shared_ptr<F> message_filters::ChainBase::getFilter ( size_t  index  )  const [inline]

Retrieve a filter from this chain by index. Returns an empty shared_ptr if the index is greater than the size of the chain. NOT type-safe.

Parameters:
F [template] The type of the filter
index The index of the filter (returned by addFilter())

Reimplemented in message_filters::Chain< M >.

Definition at line 52 of file chain.h.

virtual boost::shared_ptr<void> message_filters::ChainBase::getFilterForIndex ( size_t  index  )  const [protected, pure virtual]

Implemented in message_filters::Chain< M >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs


message_filters
Author(s): Josh Faust (jfaust@willowgarage.com), Vijay Pradeep (vpradeep@willowgarage.com)
autogenerated on Fri Jan 11 10:09:17 2013