WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCellTbb::DataFlowGraph Class Reference

#include <DataFlowGraph.h>

Inheritance diagram for WireCellTbb::DataFlowGraph:
Collaboration diagram for WireCellTbb::DataFlowGraph:

Public Member Functions

 DataFlowGraph (int max_threads=0)
 
virtual ~DataFlowGraph ()
 
virtual bool connect (WireCell::INode::pointer tail, WireCell::INode::pointer head, size_t tail_port=0, size_t head_port=0)
 
virtual bool run ()
 Run the graph, return false on error. More...
 
virtual void configure (const WireCell::Configuration &config)
 Accept a configuration. More...
 
virtual WireCell::Configuration default_configuration () const
 Optional, override to return a hard-coded default configuration. More...
 
- Public Member Functions inherited from WireCell::IDataFlowGraph
virtual ~IDataFlowGraph ()
 
- Public Member Functions inherited from WireCell::IComponent< IDataFlowGraph >
virtual ~IComponent ()
 
- Public Member Functions inherited from WireCell::Interface
virtual ~Interface ()
 
- Public Member Functions inherited from WireCell::IConfigurable
virtual ~IConfigurable ()
 
- Public Member Functions inherited from WireCell::IComponent< IConfigurable >
virtual ~IComponent ()
 

Additional Inherited Members

- Public Types inherited from WireCell::IComponent< IDataFlowGraph >
typedef std::shared_ptr< IDataFlowGraphpointer
 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 Types inherited from WireCell::IComponent< IConfigurable >
typedef std::shared_ptr< IConfigurablepointer
 Access subclass facet by pointer. More...
 
typedef std::vector< pointervector
 Vector of shared pointers. More...
 

Detailed Description

Definition at line 16 of file DataFlowGraph.h.

Constructor & Destructor Documentation

◆ DataFlowGraph()

DataFlowGraph::DataFlowGraph ( int  max_threads = 0)

Definition at line 19 of file DataFlowGraph.cxx.

◆ ~DataFlowGraph()

DataFlowGraph::~DataFlowGraph ( )
virtual

Definition at line 26 of file DataFlowGraph.cxx.

Member Function Documentation

◆ configure()

void DataFlowGraph::configure ( const WireCell::Configuration config)
virtual

Accept a configuration.

Implements WireCell::IConfigurable.

Definition at line 38 of file DataFlowGraph.cxx.

◆ connect()

bool DataFlowGraph::connect ( WireCell::INode::pointer  tail,
WireCell::INode::pointer  head,
size_t  tail_port = 0,
size_t  head_port = 0 
)
virtual

Connect two nodes so that data runs from tail to head. Return false on error.

Implements WireCell::IDataFlowGraph.

Definition at line 45 of file DataFlowGraph.cxx.

Here is the call graph for this function:

◆ default_configuration()

Configuration DataFlowGraph::default_configuration ( ) const
virtual

Optional, override to return a hard-coded default configuration.

Reimplemented from WireCell::IConfigurable.

Definition at line 30 of file DataFlowGraph.cxx.

◆ run()

bool DataFlowGraph::run ( )
virtual

Run the graph, return false on error.

Implements WireCell::IDataFlowGraph.

Definition at line 96 of file DataFlowGraph.cxx.

Here is the call graph for this function:

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