Poplar and PopLibs
|
Program that executes a sequence of programs. More...
#include <Program.hpp>
Public Member Functions | |
Sequence (const DebugContext &debugContext={}) | |
Construct an empty execution sequence (with optional debug context). | |
Sequence (std::initializer_list< Program > programs, const DebugContext &debugContext={}) | |
Construct an execution sequence from a list of programs. More... | |
void | add (const Program &p) |
Add a program to the end of the sequence. More... | |
Program that executes a sequence of programs.
|
inline |
Construct an execution sequence from a list of programs.
This constructor is used to create a sequence of programs where the programs are provided as arguments to the constructor.
programs | List of programs in the sequence. |
debugContext | Optional DebugId and program name. |
void poplar::program::Sequence::add | ( | const Program & | p | ) |
Add a program to the end of the sequence.
p | The program to add. |