Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » Loop Utils » LastTwoObjects

LastTwoObjects


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

Returns the current and the previous object.

Syntax

void avl::LastTwoObjects
(
	const T& inObject,
	const T& inInitialObject,
	bool inReset,
	T& outCurrentObject,
	T& outPreviousObject
)

Parameters

Name Type Default Description
Input value inObject const T&
Input value inInitialObject const T& Object to be used as the previous one in first iteration
Input value inReset bool False Reset accumulator state
Output value outCurrentObject T& Object from this iteration
Output value outPreviousObject T& Object from previous iteration