Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » Loop Generators » Loop

Loop


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: STD.h
Namespace: avl
Module: FoundationLite

Generates a loop that ends at the first invocation with False on the input.

Applications: Put this filter into a task that should have a loop, but does not have any other loop generators (e.g. GrabImage).

Syntax

bool avl::Loop
(
	DelayByPeriodState& ioState,
	bool inShouldLoop,
	int inDelay = 0
)

Parameters

Name Type Default Description
Input will be modified ioState DelayByPeriodState& Object used to maintain state of the function.
Input value inShouldLoop bool True If 'True' the loop will be continued
Input value inDelay int 0 Time between iterations in milliseconds