WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::SigSlotSinkSourceAdapter< InputType, OutputType, Processor > Class Template Reference

#include <SSSSAdapter.h>

Public Types

typedef boost::signals2::signal< InputType()> signal_type
 
typedef signal_type::slot_type input_slot_type
 

Public Member Functions

 SigSlotSinkSourceAdapter (Processor &proc)
 
OutputType operator() ()
 
void connect (const input_slot_type &s)
 

Detailed Description

template<typename InputType, typename OutputType, class Processor>
class WireCell::SigSlotSinkSourceAdapter< InputType, OutputType, Processor >

An adapter which drives the push-pull sink/process/source paradigm to the pure-pull signal/slot execution model.

Definition at line 10 of file SSSSAdapter.h.

Member Typedef Documentation

◆ input_slot_type

template<typename InputType , typename OutputType , class Processor >
typedef signal_type::slot_type WireCell::SigSlotSinkSourceAdapter< InputType, OutputType, Processor >::input_slot_type

Definition at line 13 of file SSSSAdapter.h.

◆ signal_type

template<typename InputType , typename OutputType , class Processor >
typedef boost::signals2::signal<InputType ()> WireCell::SigSlotSinkSourceAdapter< InputType, OutputType, Processor >::signal_type

Definition at line 12 of file SSSSAdapter.h.

Constructor & Destructor Documentation

◆ SigSlotSinkSourceAdapter()

template<typename InputType , typename OutputType , class Processor >
WireCell::SigSlotSinkSourceAdapter< InputType, OutputType, Processor >::SigSlotSinkSourceAdapter ( Processor &  proc)
inline

Definition at line 15 of file SSSSAdapter.h.

Member Function Documentation

◆ connect()

template<typename InputType , typename OutputType , class Processor >
void WireCell::SigSlotSinkSourceAdapter< InputType, OutputType, Processor >::connect ( const input_slot_type s)
inline

Definition at line 26 of file SSSSAdapter.h.

◆ operator()()

template<typename InputType , typename OutputType , class Processor >
OutputType WireCell::SigSlotSinkSourceAdapter< InputType, OutputType, Processor >::operator() ( )
inline

Definition at line 17 of file SSSSAdapter.h.


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