Private Member Functions | List of all members
fkie_message_filters::Filter< In, Out > Class Template Reference

Typed base class for filters. More...

#include <filter.h>

Inheritance diagram for fkie_message_filters::Filter< In, Out >:
Inheritance graph
[legend]

Private Member Functions

virtual void disconnect () noexcept override
 Disconnect from all connected sources and sinks. More...
 

Additional Inherited Members

- Public Types inherited from fkie_message_filters::Sink< In >
using Input = IO< Inputs... >
 Grouped input types. More...
 
- Public Types inherited from fkie_message_filters::Source< Out >
using Output = IO< Outputs... >
 Grouped output types. More...
 
- Public Member Functions inherited from fkie_message_filters::Sink< In >
Connection connect_to_source (Source< Inputs... > &src) noexcept
 Connect this sink to a source. More...
 
void disconnect_from_all_sources () noexcept
 Disconnect from all connected sources. More...
 
virtual ~Sink ()
 
- Public Member Functions inherited from fkie_message_filters::FilterBase
virtual void reset () noexcept
 Reset filter state. More...
 
virtual ~FilterBase ()
 
- Public Member Functions inherited from fkie_message_filters::Source< Out >
Connection connect_to_sink (Sink< Outputs... > &dst) noexcept
 Connect this source to a sink. More...
 
void disconnect_from_all_sinks () noexcept
 Disconnect from all connected sinks. More...
 
virtual ~Source ()
 
- Static Public Attributes inherited from fkie_message_filters::Sink< In >
static constexpr std::size_t NUM_INPUTS
 Number of input arguments. More...
 
- Static Public Attributes inherited from fkie_message_filters::Source< Out >
static constexpr std::size_t NUM_OUTPUTS
 Number of output arguments. More...
 
- Protected Member Functions inherited from fkie_message_filters::Sink< In >
virtual void receive (const Inputs &... in)=0
 Process incoming data. More...
 
- Protected Member Functions inherited from fkie_message_filters::Source< Out >
void send (const Outputs &... out)
 Pass data to all connected sinks. More...
 

Detailed Description

template<class In, class Out>
class fkie_message_filters::Filter< In, Out >

Typed base class for filters.

All filters process some input and generate some output, possibly with different data types. This class provides the base class for all filter implementations, templated on the input and output data types.

Definition at line 35 of file filter.h.

Member Function Documentation

◆ disconnect()

template<class In , class Out >
void Filter::disconnect ( )
overrideprivatevirtualnoexcept

Disconnect from all connected sources and sinks.

Convenience function that calls disconnect_from_all_sources() and disonnect_from_all_sinks().

Reimplemented from fkie_message_filters::Source< Out >.

Definition at line 29 of file filter_impl.h.


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


fkie_message_filters
Author(s): Timo Röhling
autogenerated on Mon Feb 28 2022 22:21:44