openDAQ
Open data acquisition platform
+ Collaboration diagram for Factories:

Detailed Description

Functions

TaskPtr TaskGraph (ProcedurePtr work, StringPtr name)
 Creates a dependency graph (directed acyclic graph) of tasks that can be scheduled for execution on a Scheduler with the specified work that is always executed before any other task on the graph. More...
 
TaskPtr TaskGraph (StringPtr name)
 Creates a dependency graph (directed acyclic graph) of tasks that can be scheduled for execution on a Scheduler. More...
 
TaskPtr Task (ProcedurePtr work, StringPtr name="")
 A packaged callback with possible continuations and dependencies that can be arranged in a dependency graph (directed acyclic graph). More...
 

Function Documentation

◆ Task()

TaskPtr Task ( ProcedurePtr  work,
StringPtr  name = "" 
)
inline

A packaged callback with possible continuations and dependencies that can be arranged in a dependency graph (directed acyclic graph).

Parameters
workThe callback to execute when the dependencies complete.
nameThe name used for diagnostics.
Returns
An instance of a task on a dependency graph.

◆ TaskGraph() [1/2]

TaskPtr TaskGraph ( ProcedurePtr  work,
StringPtr  name 
)
inline

Creates a dependency graph (directed acyclic graph) of tasks that can be scheduled for execution on a Scheduler with the specified work that is always executed before any other task on the graph.

Parameters
workThe root callable that is always executed before any other tasks on the graph.
nameThe graph name used in diagnostics.
Returns
An instance of a dependency graph used for scheduling.

◆ TaskGraph() [2/2]

TaskPtr TaskGraph ( StringPtr  name)
inline

Creates a dependency graph (directed acyclic graph) of tasks that can be scheduled for execution on a Scheduler.

Parameters
nameThe graph name used in diagnostics.
Returns
An instance of a dependency graph used for scheduling.