Public Member Functions | Private Attributes | List of all members
WireCellTbb::QueuedoutBody Class Reference

#include <QueuedoutCat.h>

Public Member Functions

 ~QueuedoutBody ()
 
 QueuedoutBody (WireCell::INode::pointer wcnode)
 
void operator() (const boost::any &in, queuedout_port &out)
 

Private Attributes

WireCell::IQueuedoutNodeBase::pointer m_wcnode
 

Detailed Description

Definition at line 13 of file QueuedoutCat.h.

Constructor & Destructor Documentation

WireCellTbb::QueuedoutBody::~QueuedoutBody ( )
inline

Definition at line 16 of file QueuedoutCat.h.

16 {}
WireCellTbb::QueuedoutBody::QueuedoutBody ( WireCell::INode::pointer  wcnode)
inline

Definition at line 17 of file QueuedoutCat.h.

17  {
18  m_wcnode = std::dynamic_pointer_cast<WireCell::IQueuedoutNodeBase>(wcnode);
19  }
WireCell::IQueuedoutNodeBase::pointer m_wcnode
Definition: QueuedoutCat.h:14

Member Function Documentation

void WireCellTbb::QueuedoutBody::operator() ( const boost::any &  in,
queuedout_port out 
)
inline

Definition at line 20 of file QueuedoutCat.h.

20  {
22  bool ok = (*m_wcnode)(in, outq);
23  if (!ok) { return; } // fixme: do something better here!
24  for (auto a : outq) {
25  std::get<0>(out).try_put(a);
26  }
27  }
std::deque< boost::any > queuedany
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124

Member Data Documentation

WireCell::IQueuedoutNodeBase::pointer WireCellTbb::QueuedoutBody::m_wcnode
private

Definition at line 14 of file QueuedoutCat.h.


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