#include <Faninout.h>
Public Types | |
typedef Data | result_type |
typedef Address | address_type |
typedef std::deque< result_type > | data_queue |
typedef std::map< int, data_queue > | queue_map |
typedef boost::signals2::signal< result_type()> | signal |
typedef signal::slot_type | slot |
Public Member Functions | |
void | connect (const slot &s) |
void | address (const address_type &addr) |
Register an address. More... | |
result_type | operator() (const address_type &addr) |
Private Attributes | |
signal | m_signal |
queue_map | m_fan |
A fanout which takes in Data from a connected slot and buffers it into set of addressable queues.
Definition at line 14 of file Faninout.h.
typedef Address WireCell::Fanout< Data, Address >::address_type |
Definition at line 18 of file Faninout.h.
typedef std::deque<result_type> WireCell::Fanout< Data, Address >::data_queue |
Definition at line 19 of file Faninout.h.
typedef std::map< int, data_queue > WireCell::Fanout< Data, Address >::queue_map |
Definition at line 20 of file Faninout.h.
typedef Data WireCell::Fanout< Data, Address >::result_type |
Definition at line 17 of file Faninout.h.
typedef boost::signals2::signal<result_type ()> WireCell::Fanout< Data, Address >::signal |
Definition at line 23 of file Faninout.h.
typedef signal::slot_type WireCell::Fanout< Data, Address >::slot |
Definition at line 25 of file Faninout.h.
|
inline |
Register an address.
Definition at line 31 of file Faninout.h.
|
inline |
Definition at line 28 of file Faninout.h.
|
inline |
Return a data from the given address. If the address has not yet been registered it will be but any previously returned data will not be seen.
Definition at line 38 of file Faninout.h.
|
private |
Definition at line 53 of file Faninout.h.
|
private |
Definition at line 52 of file Faninout.h.