Base class for Chain, allows you to store multiple chains in the same container. Provides filter retrieval by index. More...
#include <chain.h>
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 |
Base class for Chain, allows you to store multiple chains in the same container. Provides filter retrieval by index.
virtual message_filters::ChainBase::~ChainBase | ( | ) | [inline, virtual] |
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.
F | [template] The type of the filter |
index | The index of the filter (returned by addFilter()) |
Reimplemented in message_filters::Chain< M >.
virtual boost::shared_ptr<void> message_filters::ChainBase::getFilterForIndex | ( | size_t | index | ) | const [protected, pure virtual] |
Implemented in message_filters::Chain< M >.