4 #ifndef WIRECELLTBB_QUEUEDOUT 5 #define WIRECELLTBB_QUEUEDOUT 22 bool ok = (*m_wcnode)(in, outq);
25 std::get<0>(out).try_put(
a);
36 delete m_tbbnode; m_tbbnode =
nullptr;
45 auto ptr = &tbb::flow::output_port<0>(*m_tbbnode);
virtual receiver_port_vector receiver_ports()
def graph(desc, maker=maker)
std::deque< boost::any > queuedany
void operator()(const boost::any &in, queuedout_port &out)
std::shared_ptr< IQueuedoutNodeBase > pointer
virtual sender_port_vector sender_ports()
QueuedoutBody(WireCell::INode::pointer wcnode)
std::shared_ptr< Interface > pointer
tbb::flow::multifunction_node< boost::any, any_single > queuedout_node
std::vector< receiver_type * > receiver_port_vector
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
QueuedoutWrapper(tbb::flow::graph &graph, WireCell::INode::pointer wcnode)
WireCell::IQueuedoutNodeBase::pointer m_wcnode
std::vector< sender_type * > sender_port_vector
queuedout_node * m_tbbnode
virtual ~QueuedoutWrapper()
queuedout_node::output_ports_type queuedout_port
tbb::flow::receiver< boost::any > receiver_type