Public Member Functions | Protected Member Functions
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 50 of file chain.h.


Constructor & Destructor Documentation

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

Definition at line 53 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
indexThe index of the filter (returned by addFilter())

Reimplemented in message_filters::Chain< M >.

Definition at line 63 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:


message_filters
Author(s): Josh Faust, Vijay Pradeep
autogenerated on Mon Oct 6 2014 11:47:35