Back to Aurora Vision Library website

You are here: Start » Function Reference » Profile » Profile Combinators » AccumulateProfile

AccumulateProfile


Header: AVL.h
Namespace: avl
Module: FoundationPro

Creates a profile in a loop by concatenating individual values.

Syntax

C++
C#
 
void avl::AccumulateProfile
(
	const float inValue,
	atl::Optional<int> inMaxCount,
	bool inReset,
	avl::Profile& outProfile
)

Parameters

Name Type Range Default Description
Input value inValue const float
Input value inMaxCount Optional<int> 0 - NIL Number of last values that are remembered
Input value inReset bool Reset accumulator state
Output value outProfile Profile& Output profile

Errors

List of possible exceptions:

Error type Description
DomainError inMaxCount cannot be negative in AccumulateProfile.