WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::ISplitNode< InputType, OutputTuple > Class Template Referenceabstract

#include <ISplitNode.h>

Inheritance diagram for WireCell::ISplitNode< InputType, OutputTuple >:
Collaboration diagram for WireCell::ISplitNode< InputType, OutputTuple >:

Public Types

typedef tuple_helper< OutputTuple > port_helper_type
 
typedef port_helper_type::template WrappedConst< std::shared_ptr >::type output_tuple_type
 
typedef tuple_helper< output_tuple_typeoutput_helper_type
 
typedef InputType input_type
 
typedef std::shared_ptr< const InputType > input_pointer
 
- Public Types inherited from WireCell::ISplitNodeBase
typedef std::shared_ptr< ISplitNodeBasepointer
 
typedef std::vector< boost::any > any_vector
 
- Public Types inherited from WireCell::INode
enum  NodeCategory {
  unknown, sourceNode, sinkNode, functionNode,
  queuedoutNode, joinNode, splitNode, faninNode,
  fanoutNode, multioutNode, hydraNode
}
 
- Public Types inherited from WireCell::IComponent< INode >
typedef std::shared_ptr< INodepointer
 Access subclass facet by pointer. More...
 
typedef std::vector< pointervector
 Vector of shared pointers. More...
 
- Public Types inherited from WireCell::Interface
typedef std::shared_ptr< Interfacepointer
 

Public Member Functions

virtual ~ISplitNode ()
 
virtual bool operator() (const boost::any &anyin, any_vector &anyvout)
 The calling signature: More...
 
virtual bool operator() (const input_pointer &in, output_tuple_type &out)=0
 
virtual std::vector< std::string > input_types ()
 
virtual std::vector< std::string > output_types ()
 
- Public Member Functions inherited from WireCell::ISplitNodeBase
virtual ~ISplitNodeBase ()
 
virtual NodeCategory category ()
 Return the behavior category type. More...
 
virtual int concurrency ()
 Split nodes can usually do their thing stateless. More...
 
- Public Member Functions inherited from WireCell::INode
virtual ~INode ()
 
virtual std::string signature ()=0
 
virtual void reset ()
 
- Public Member Functions inherited from WireCell::IComponent< INode >
virtual ~IComponent ()
 
- Public Member Functions inherited from WireCell::Interface
virtual ~Interface ()
 

Detailed Description

template<typename InputType, typename OutputTuple>
class WireCell::ISplitNode< InputType, OutputTuple >

Definition at line 42 of file ISplitNode.h.

Member Typedef Documentation

◆ input_pointer

template<typename InputType, typename OutputTuple>
typedef std::shared_ptr<const InputType> WireCell::ISplitNode< InputType, OutputTuple >::input_pointer

Definition at line 51 of file ISplitNode.h.

◆ input_type

template<typename InputType, typename OutputTuple>
typedef InputType WireCell::ISplitNode< InputType, OutputTuple >::input_type

Definition at line 49 of file ISplitNode.h.

◆ output_helper_type

template<typename InputType, typename OutputTuple>
typedef tuple_helper<output_tuple_type> WireCell::ISplitNode< InputType, OutputTuple >::output_helper_type

Definition at line 47 of file ISplitNode.h.

◆ output_tuple_type

template<typename InputType, typename OutputTuple>
typedef port_helper_type::template WrappedConst<std::shared_ptr>::type WireCell::ISplitNode< InputType, OutputTuple >::output_tuple_type

Definition at line 46 of file ISplitNode.h.

◆ port_helper_type

template<typename InputType, typename OutputTuple>
typedef tuple_helper<OutputTuple> WireCell::ISplitNode< InputType, OutputTuple >::port_helper_type

Definition at line 45 of file ISplitNode.h.

Constructor & Destructor Documentation

◆ ~ISplitNode()

template<typename InputType, typename OutputTuple>
virtual WireCell::ISplitNode< InputType, OutputTuple >::~ISplitNode ( )
inlinevirtual

Definition at line 53 of file ISplitNode.h.

Member Function Documentation

◆ input_types()

template<typename InputType, typename OutputTuple>
virtual std::vector<std::string> WireCell::ISplitNode< InputType, OutputTuple >::input_types ( )
inlinevirtual

Reimplemented from WireCell::INode.

Definition at line 71 of file ISplitNode.h.

◆ operator()() [1/2]

template<typename InputType, typename OutputTuple>
virtual bool WireCell::ISplitNode< InputType, OutputTuple >::operator() ( const boost::any &  anyin,
any_vector anyout 
)
inlinevirtual

The calling signature:

Implements WireCell::ISplitNodeBase.

Definition at line 55 of file ISplitNode.h.

◆ operator()() [2/2]

template<typename InputType, typename OutputTuple>
virtual bool WireCell::ISplitNode< InputType, OutputTuple >::operator() ( const input_pointer in,
output_tuple_type out 
)
pure virtual

◆ output_types()

template<typename InputType, typename OutputTuple>
virtual std::vector<std::string> WireCell::ISplitNode< InputType, OutputTuple >::output_types ( )
inlinevirtual

Reimplemented from WireCell::INode.

Definition at line 75 of file ISplitNode.h.


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