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

#include <IFanoutNode.h>

Inheritance diagram for WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >:
Collaboration diagram for WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >:

Public Types

typedef InputType input_type
 
typedef OutputType output_type
 
typedef std::shared_ptr< const InputType > input_pointer
 
typedef std::shared_ptr< const OutputType > output_pointer
 
typedef std::vector< output_pointeroutput_vector
 
- Public Types inherited from WireCell::IFanoutNodeBase
typedef std::shared_ptr< IFanoutNodeBasepointer
 
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 ~IFanoutNode ()
 
virtual bool operator() (const boost::any &anyin, any_vector &anyv)
 The calling signature: More...
 
virtual bool operator() (const input_pointer &in, output_vector &outv)=0
 
virtual std::vector< std::string > input_types ()
 
virtual std::vector< std::string > output_types ()
 
- Public Member Functions inherited from WireCell::IFanoutNodeBase
virtual ~IFanoutNodeBase ()
 
virtual NodeCategory category ()
 Return the behavior category type. More...
 
virtual int concurrency ()
 Fanout 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 OutputType, int FanoutMultiplicity = 3>
class WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >

Definition at line 38 of file IFanoutNode.h.

Member Typedef Documentation

◆ input_pointer

template<typename InputType, typename OutputType, int FanoutMultiplicity = 3>
typedef std::shared_ptr<const InputType> WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >::input_pointer

Definition at line 43 of file IFanoutNode.h.

◆ input_type

template<typename InputType, typename OutputType, int FanoutMultiplicity = 3>
typedef InputType WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >::input_type

Definition at line 41 of file IFanoutNode.h.

◆ output_pointer

template<typename InputType, typename OutputType, int FanoutMultiplicity = 3>
typedef std::shared_ptr<const OutputType> WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >::output_pointer

Definition at line 44 of file IFanoutNode.h.

◆ output_type

template<typename InputType, typename OutputType, int FanoutMultiplicity = 3>
typedef OutputType WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >::output_type

Definition at line 42 of file IFanoutNode.h.

◆ output_vector

template<typename InputType, typename OutputType, int FanoutMultiplicity = 3>
typedef std::vector<output_pointer> WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >::output_vector

Definition at line 45 of file IFanoutNode.h.

Constructor & Destructor Documentation

◆ ~IFanoutNode()

template<typename InputType, typename OutputType, int FanoutMultiplicity = 3>
virtual WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >::~IFanoutNode ( )
inlinevirtual

Definition at line 47 of file IFanoutNode.h.

Member Function Documentation

◆ input_types()

template<typename InputType, typename OutputType, int FanoutMultiplicity = 3>
virtual std::vector<std::string> WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >::input_types ( )
inlinevirtual

Reimplemented from WireCell::INode.

Definition at line 66 of file IFanoutNode.h.

◆ operator()() [1/2]

template<typename InputType, typename OutputType, int FanoutMultiplicity = 3>
virtual bool WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >::operator() ( const boost::any &  anyin,
any_vector anyout 
)
inlinevirtual

The calling signature:

Implements WireCell::IFanoutNodeBase.

Definition at line 49 of file IFanoutNode.h.

◆ operator()() [2/2]

template<typename InputType, typename OutputType, int FanoutMultiplicity = 3>
virtual bool WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >::operator() ( const input_pointer in,
output_vector outv 
)
pure virtual

◆ output_types()

template<typename InputType, typename OutputType, int FanoutMultiplicity = 3>
virtual std::vector<std::string> WireCell::IFanoutNode< InputType, OutputType, FanoutMultiplicity >::output_types ( )
inlinevirtual

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