Public Types | Public Member Functions | Private Attributes | List of all members
WireCellTbb::FaninBody< TupleType > Class Template Reference

#include <FaninCat.h>

Public Types

typedef WireCell::IFaninNodeBase::any_vector any_vector
 
typedef WireCell::tuple_helper< TupleType > helper_type
 

Public Member Functions

 FaninBody (WireCell::INode::pointer wcnode)
 
boost::any operator() (const TupleType &tup) const
 

Private Attributes

WireCell::IFaninNodeBase::pointer m_wcnode
 

Detailed Description

template<typename TupleType>
class WireCellTbb::FaninBody< TupleType >

Definition at line 14 of file FaninCat.h.

Member Typedef Documentation

template<typename TupleType >
typedef WireCell::IFaninNodeBase::any_vector WireCellTbb::FaninBody< TupleType >::any_vector

Definition at line 17 of file FaninCat.h.

template<typename TupleType >
typedef WireCell::tuple_helper<TupleType> WireCellTbb::FaninBody< TupleType >::helper_type

Definition at line 18 of file FaninCat.h.

Constructor & Destructor Documentation

template<typename TupleType >
WireCellTbb::FaninBody< TupleType >::FaninBody ( WireCell::INode::pointer  wcnode)
inline

Definition at line 20 of file FaninCat.h.

20  {
21  m_wcnode = std::dynamic_pointer_cast<WireCell::IFaninNodeBase>(wcnode);
23  }
WireCell::IFaninNodeBase::pointer m_wcnode
Definition: FaninCat.h:15
#define Assert
Definition: Testing.h:7

Member Function Documentation

template<typename TupleType >
boost::any WireCellTbb::FaninBody< TupleType >::operator() ( const TupleType &  tup) const
inline

Definition at line 25 of file FaninCat.h.

25  {
26  helper_type ih;
27  any_vector in = ih.as_any(tup);
28  boost::any ret;
29  // bool ok = (*m_wcnode)(in, ret);
30  (*m_wcnode)(in, ret); // fixme: don't ignore return code
31  return ret;
32  }
WireCell::tuple_helper< TupleType > helper_type
Definition: FaninCat.h:18
WireCell::IFaninNodeBase::any_vector any_vector
Definition: FaninCat.h:17

Member Data Documentation

template<typename TupleType >
WireCell::IFaninNodeBase::pointer WireCellTbb::FaninBody< TupleType >::m_wcnode
private

Definition at line 15 of file FaninCat.h.


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