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

#include <JoinCat.h>

Public Types

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

Public Member Functions

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

Private Attributes

WireCell::IJoinNodeBase::pointer m_wcnode
 

Detailed Description

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

Definition at line 13 of file JoinCat.h.

Member Typedef Documentation

template<typename TupleType >
typedef WireCell::IJoinNodeBase::any_vector WireCellTbb::JoinBody< TupleType >::any_vector

Definition at line 16 of file JoinCat.h.

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

Definition at line 17 of file JoinCat.h.

Constructor & Destructor Documentation

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

Definition at line 19 of file JoinCat.h.

19  {
20  m_wcnode = std::dynamic_pointer_cast<WireCell::IJoinNodeBase>(wcnode);
22  }
#define Assert
Definition: Testing.h:7
WireCell::IJoinNodeBase::pointer m_wcnode
Definition: JoinCat.h:14

Member Function Documentation

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

Definition at line 24 of file JoinCat.h.

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

Member Data Documentation

template<typename TupleType >
WireCell::IJoinNodeBase::pointer WireCellTbb::JoinBody< TupleType >::m_wcnode
private

Definition at line 14 of file JoinCat.h.


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