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

#include <QueuedoutCat.h>

Inheritance diagram for WireCellTbb::QueuedoutWrapper:
WireCellTbb::NodeWrapper

Public Member Functions

 QueuedoutWrapper (tbb::flow::graph &graph, WireCell::INode::pointer wcnode)
 
virtual ~QueuedoutWrapper ()
 
virtual receiver_port_vector receiver_ports ()
 
virtual sender_port_vector sender_ports ()
 
- Public Member Functions inherited from WireCellTbb::NodeWrapper
virtual ~NodeWrapper ()
 
virtual void initialize ()
 

Private Attributes

queuedout_nodem_tbbnode
 

Detailed Description

Definition at line 29 of file QueuedoutCat.h.

Constructor & Destructor Documentation

WireCellTbb::QueuedoutWrapper::QueuedoutWrapper ( tbb::flow::graph &  graph,
WireCell::INode::pointer  wcnode 
)
inline

Definition at line 32 of file QueuedoutCat.h.

33  : m_tbbnode(new queuedout_node(graph, wcnode->concurrency(), QueuedoutBody(wcnode)))
34  { }
def graph(desc, maker=maker)
Definition: apa.py:294
tbb::flow::multifunction_node< boost::any, any_single > queuedout_node
Definition: NodeWrapper.h:31
queuedout_node * m_tbbnode
Definition: QueuedoutCat.h:49
virtual WireCellTbb::QueuedoutWrapper::~QueuedoutWrapper ( )
inlinevirtual

Definition at line 35 of file QueuedoutCat.h.

35  {
36  delete m_tbbnode; m_tbbnode = nullptr;
37  }
queuedout_node * m_tbbnode
Definition: QueuedoutCat.h:49

Member Function Documentation

virtual receiver_port_vector WireCellTbb::QueuedoutWrapper::receiver_ports ( )
inlinevirtual

Reimplemented from WireCellTbb::NodeWrapper.

Definition at line 39 of file QueuedoutCat.h.

39  {
40  auto ptr = dynamic_cast< receiver_type* >(m_tbbnode);
41  return receiver_port_vector{ptr};
42  }
std::vector< receiver_port_pointer > receiver_port_vector
const void * ptr(const T *p)
Definition: format.h:3138
queuedout_node * m_tbbnode
Definition: QueuedoutCat.h:49
tbb::flow::receiver< boost::any > receiver_type
virtual sender_port_vector WireCellTbb::QueuedoutWrapper::sender_ports ( )
inlinevirtual

Reimplemented from WireCellTbb::NodeWrapper.

Definition at line 44 of file QueuedoutCat.h.

44  {
45  auto ptr = &tbb::flow::output_port<0>(*m_tbbnode);
46  return sender_port_vector{ptr};
47  }
std::vector< sender_port_pointer > sender_port_vector
const void * ptr(const T *p)
Definition: format.h:3138

Member Data Documentation

queuedout_node* WireCellTbb::QueuedoutWrapper::m_tbbnode
private

Definition at line 49 of file QueuedoutCat.h.


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