Back to Aurora Vision Library website

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

GetPreviousObjects


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 objects.

Syntax

void avl::GetPreviousObjects
(
	const T& inObject,
	const T& inInitialObject,
	int inCount,
	T& outObject1,
	T& outObject2,
	T& outObject3,
	T& outObject4
)

Parameters

Name Type Range 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 inCount int 1 - 4 2
Output value outObject1 T& Object from this iteration
Output value outObject2 T& Object from the previous iteration
Output value outObject3 T& Object from the iteration before the previous
Output value outObject4 T& Object from the iteration before the iteration before the previous