WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
|
#include <DataFlowGraph.h>
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< IDataFlowGraph > | pointer |
Access subclass facet by pointer. More... | |
typedef std::vector< pointer > | vector |
Vector of shared pointers. More... | |
Public Types inherited from WireCell::Interface | |
typedef std::shared_ptr< Interface > | pointer |
Public Types inherited from WireCell::IComponent< IConfigurable > | |
typedef std::shared_ptr< IConfigurable > | pointer |
Access subclass facet by pointer. More... | |
typedef std::vector< pointer > | vector |
Vector of shared pointers. More... | |
Definition at line 16 of file DataFlowGraph.h.
DataFlowGraph::DataFlowGraph | ( | int | max_threads = 0 | ) |
Definition at line 19 of file DataFlowGraph.cxx.
|
virtual |
Definition at line 26 of file DataFlowGraph.cxx.
|
virtual |
Accept a configuration.
Implements WireCell::IConfigurable.
Definition at line 38 of file DataFlowGraph.cxx.
|
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.
|
virtual |
Optional, override to return a hard-coded default configuration.
Reimplemented from WireCell::IConfigurable.
Definition at line 30 of file DataFlowGraph.cxx.
|
virtual |
Run the graph, return false on error.
Implements WireCell::IDataFlowGraph.
Definition at line 96 of file DataFlowGraph.cxx.