Public Member Functions | List of all members
fkie_message_filters::UserSource< Outputs > Class Template Reference

Manually operated data source. More...

#include <user_source.h>

Inheritance diagram for fkie_message_filters::UserSource< Outputs >:
Inheritance graph
[legend]

Public Member Functions

void operator() (const Outputs &... out)
 Manually inject data and pass it to the connected sinks. More...
 
- Public Member Functions inherited from fkie_message_filters::Source< Outputs... >
Connection connect_to_sink (Sink< Outputs... > &dst) noexcept
 Connect this source to a sink. More...
 
virtual void disconnect () noexcept override
 Disconnect from all connected sinks. More...
 
void disconnect_from_all_sinks () noexcept
 Disconnect from all connected sinks. More...
 
virtual ~Source ()
 
- Public Member Functions inherited from fkie_message_filters::FilterBase
virtual void reset () noexcept
 Reset filter state. More...
 
virtual ~FilterBase ()
 

Additional Inherited Members

- Public Types inherited from fkie_message_filters::Source< Outputs... >
using Output = IO< Outputs... >
 Grouped output types. More...
 
- Static Public Attributes inherited from fkie_message_filters::Source< Outputs... >
static constexpr std::size_t NUM_OUTPUTS
 Number of output arguments. More...
 
- Protected Member Functions inherited from fkie_message_filters::Source< Outputs... >
void send (const Outputs &... out)
 Pass data to all connected sinks. More...
 

Detailed Description

template<class... Outputs>
class fkie_message_filters::UserSource< Outputs >

Manually operated data source.

This data source behaves like a function object and can be called to pass data to its sinks. It is mostly useful to connect a filter pipeline to foreign data sources. Even though its technically possible to use a UserSource object as callback for a ROS subscriber, the specialized Subscriber sources have additional functionality and are easier to set up.

Definition at line 37 of file user_source.h.

Member Function Documentation

◆ operator()()

template<typename... Outputs>
void fkie_message_filters::UserSource< Outputs >::operator() ( const Outputs &...  out)

Manually inject data and pass it to the connected sinks.

  • out data

Definition at line 30 of file user_source_impl.h.


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


fkie_message_filters
Author(s): Timo Röhling
autogenerated on Sun Sep 12 2021 02:52:13