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

#include <SinkCat.h>

Public Member Functions

 ~SinkBody ()
 
 SinkBody (WireCell::INode::pointer wcnode)
 
boost::any operator() (const boost::any &in)
 

Private Attributes

WireCell::ISinkNodeBase::pointer m_wcnode
 

Detailed Description

Definition at line 10 of file SinkCat.h.

Constructor & Destructor Documentation

WireCellTbb::SinkBody::~SinkBody ( )
inline

Definition at line 13 of file SinkCat.h.

13 {}
WireCellTbb::SinkBody::SinkBody ( WireCell::INode::pointer  wcnode)
inline

Definition at line 15 of file SinkCat.h.

15  {
16  m_wcnode = std::dynamic_pointer_cast<WireCell::ISinkNodeBase>(wcnode);
17  }
WireCell::ISinkNodeBase::pointer m_wcnode
Definition: SinkCat.h:11

Member Function Documentation

boost::any WireCellTbb::SinkBody::operator() ( const boost::any &  in)
inline

Definition at line 18 of file SinkCat.h.

18  {
19  //bool ok = (*m_wcnode)(in);
20  (*m_wcnode)(in); // fixme: don't ignore the return code
21  return in;
22  }

Member Data Documentation

WireCell::ISinkNodeBase::pointer WireCellTbb::SinkBody::m_wcnode
private

Definition at line 11 of file SinkCat.h.


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