$search
A class which will construct and sequentially call Filters according to xml This is the primary way in which users are expected to interact with Filters. More...
#include <filter_chain.h>
Public Member Functions | |
bool | clear () |
Clear all filters from this chain. | |
bool | configure (unsigned int size, XmlRpc::XmlRpcValue &config) |
Configure the filter chain This will call configure on all filters which have been added as well as allocate the buffers. | |
bool | configure (unsigned int size, std::string param_name, ros::NodeHandle node=ros::NodeHandle()) |
Configure the filter chain from a configuration stored on the parameter server. | |
MultiChannelFilterChain (std::string data_type) | |
Create the filter chain object. | |
bool | update (const std::vector< T > &data_in, std::vector< T > &data_out) |
process data through each of the filters added sequentially | |
~MultiChannelFilterChain () | |
Private Attributes | |
std::vector< T > | buffer0_ |
! A temporary intermediate buffer | |
std::vector< T > | buffer1_ |
! A temporary intermediate buffer | |
bool | configured_ |
! whether the system is configured | |
pluginlib::ClassLoader < filters::MultiChannelFilterBase < T > > | loader_ |
std::vector< boost::shared_ptr < filters::MultiChannelFilterBase < T > > > | reference_pointers_ |
! A vector of pointers to currently constructed filters |
A class which will construct and sequentially call Filters according to xml This is the primary way in which users are expected to interact with Filters.
Definition at line 274 of file filter_chain.h.
filters::MultiChannelFilterChain< T >::MultiChannelFilterChain | ( | std::string | data_type | ) | [inline] |
Create the filter chain object.
Definition at line 280 of file filter_chain.h.
filters::MultiChannelFilterChain< T >::~MultiChannelFilterChain | ( | ) | [inline] |
Definition at line 355 of file filter_chain.h.
bool filters::MultiChannelFilterChain< T >::clear | ( | ) | [inline] |
Clear all filters from this chain.
Definition at line 362 of file filter_chain.h.
bool filters::MultiChannelFilterChain< T >::configure | ( | unsigned int | size, | |
XmlRpc::XmlRpcValue & | config | |||
) | [inline] |
Configure the filter chain This will call configure on all filters which have been added as well as allocate the buffers.
Definition at line 376 of file filter_chain.h.
bool filters::MultiChannelFilterChain< T >::configure | ( | unsigned int | size, | |
std::string | param_name, | |||
ros::NodeHandle | node = ros::NodeHandle() | |||
) | [inline] |
Configure the filter chain from a configuration stored on the parameter server.
param_name | The name of the filter chain to load | |
node | The node handle to use if a different namespace is required |
Definition at line 295 of file filter_chain.h.
bool filters::MultiChannelFilterChain< T >::update | ( | const std::vector< T > & | data_in, | |
std::vector< T > & | data_out | |||
) | [inline] |
process data through each of the filters added sequentially
Definition at line 316 of file filter_chain.h.
std::vector<T> filters::MultiChannelFilterChain< T >::buffer0_ [private] |
! A temporary intermediate buffer
Definition at line 501 of file filter_chain.h.
std::vector<T> filters::MultiChannelFilterChain< T >::buffer1_ [private] |
! A temporary intermediate buffer
Definition at line 502 of file filter_chain.h.
bool filters::MultiChannelFilterChain< T >::configured_ [private] |
! whether the system is configured
Definition at line 503 of file filter_chain.h.
pluginlib::ClassLoader<filters::MultiChannelFilterBase<T> > filters::MultiChannelFilterChain< T >::loader_ [private] |
Definition at line 277 of file filter_chain.h.
std::vector<boost::shared_ptr<filters::MultiChannelFilterBase<T> > > filters::MultiChannelFilterChain< T >::reference_pointers_ [private] |
! A vector of pointers to currently constructed filters
Definition at line 495 of file filter_chain.h.