An execution path. More...

#include <Path.h>

Detailed Description

An execution path.

A Path represents an ordered sequence of modules, accessible using the Path::modules() method.

Note
A Path does not by itself execute any modules, this is left to the user of this class
See also
Looper module

Definition at line 37 of file Path.h.

Public Member Functions

 Path (const std::vector< std::shared_ptr< Module >> &modules)
 Create a new instance of Path. More...
 
 Path (const Path &)=default
 Create a new instance of Path from an existing instance. More...
 
 Path ()=default
 Create a new empty instance of Path.
 
const std::vector< std::shared_ptr< Module > > & modules () const
 The sequence of modules of this execution Path. More...
 

Constructor & Destructor Documentation

◆ Path() [1/2]

Path::Path ( const std::vector< std::shared_ptr< Module >> &  modules)

Create a new instance of Path.

Parameters
pathDescription of

Definition at line 32 of file Path.cc.

◆ Path() [2/2]

Path::Path ( const Path )
default

Create a new instance of Path from an existing instance.

Parameters
pathAn existing instance of Path

Member Function Documentation

◆ modules()

const std::vector< ModulePtr > & Path::modules ( ) const

The sequence of modules of this execution Path.

The return value is only valid if resolved() returns true.

Returns
Sequence of modules

Definition at line 36 of file Path.cc.


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