fast::RunLambda class

Run a C++ lambda in a FAST pipeline.

Base classes

class ProcessObject
Abstract base class for all process objects.

Constructors, destructors, conversion operators

RunLambda() protected

Public functions

void setRunOnLastFrameOnly(bool lastFrameOnly)
Create instance.

Protected functions

void execute() virtual

Protected variables

std::function<DataList()> m_lambdaNoInput
std::function<DataList(DataObject::pointer)> m_lambdaWithSingleInput
std::function<DataList(DataList)> m_lambdaWithMultipleInput
bool m_runOnLastFrameOnly

Function documentation

void fast::RunLambda::setRunOnLastFrameOnly(bool lastFrameOnly)

Create instance.

Parameters
lastFrameOnly
Returns instance

Create instance Create instance Specify whether the lambda function only should be run for the last frame