MyraMath
Classes | Functions
LambdaJobGraph.h File Reference

Encapsulates a Lambda function into a JobGraph of a single Job. More...

#include <myramath/MYRAMATH_EXPORT.h>
#include <myramath/jobgraph/Job.h>
#include <myramath/jobgraph/JobID.h>
#include <myramath/jobgraph/JobGraph.h>
#include <string>
#include <stdint.h>
Include dependency graph for LambdaJobGraph.h:

Go to the source code of this file.

Classes

class  myra::LambdaJobGraph< Lambda >
 Encapsulates a Lambda function into a JobGraph of a single Job. More...
 

Functions

template<class Lambda >
JobGraph myra::make_LambdaJobGraph (const Lambda &lambda)
 Given a Lambda, returns a JobGraph that calls lambda() when execute()'d.
 
template<class Lambda >
JobGraph myra::make_LambdaJobGraph (const Lambda &lambda, const std::string &name)
 

Detailed Description

Encapsulates a Lambda function into a JobGraph of a single Job.