Back to Adaptive Vision Library website
You are here: Start » Function Reference » Profile Combinators » AccumulateProfile
AccumulateProfile
Returns a profile of most recent values.
Syntax
C++
C#
void avl::AccumulateProfile ( AccumulateProfileState& ioState, const atl::real& inValue, atl::Optional<int> inMaxCount, avl::Profile& outProfile )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
| ioState | AccumulateProfileState& | Object used to maintain state of the function. | |||
![]() |
inValue | const real& | |||
![]() |
inMaxCount | Optional<int> | 0 - ![]() |
NIL | Number of last values that are remembered |
![]() |
outProfile | Profile& | Output profile |
Errors
| Error type | Description |
|---|---|
| DomainError | inMaxCount cannot be negative in AccumulateProfile. |



