1 #ifndef WIRECELLTBB_DATAFLOWGRAPH 2 #define WIRECELLTBB_DATAFLOWGRAPH 9 #include <tbb/task_scheduler_init.h> 24 size_t tail_port=0,
size_t head_port=0);
virtual bool run()
Run the graph, return false on error.
virtual bool connect(WireCell::INode::pointer tail, WireCell::INode::pointer head, size_t tail_port=0, size_t head_port=0)
def graph(desc, maker=maker)
std::shared_ptr< Interface > pointer
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
DataFlowGraph(int max_threads=0)
tbb::task_scheduler_init m_sched
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
Json::Value Configuration