[#BloombergLP-ball-ThresholdAggregate-2constructor-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/ThresholdAggregate.adoc[ThresholdAggregate]::ThresholdAggregate
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;ball&lowbar;thresholdaggregate&period;h&gt;`

Create a threshold aggregate whose threshold levels are all 0&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/ThresholdAggregate/2constructor-0e.adoc[ThresholdAggregate]();
----

[.small]#xref:BloombergLP/ball/ThresholdAggregate/2constructor-0e.adoc[_» more&period;&period;&period;_]#

Create a threshold aggregate having the same value as that of the specified `original` threshold aggregate&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/ThresholdAggregate/2constructor-08.adoc[ThresholdAggregate](xref:BloombergLP/ball/ThresholdAggregate.adoc[ThresholdAggregate] const& original);
----

[.small]#xref:BloombergLP/ball/ThresholdAggregate/2constructor-08.adoc[_» more&period;&period;&period;_]#

Create a threshold aggregate whose threshold levels are the specified `recordLevel`, `passLevel`, `triggerLevel`, and `triggerAllLevel`, respectively&period; The behavior is undefined if any threshold level is not in the range `&lsqb;0 &period;&period; 255&rsqb;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/ThresholdAggregate/2constructor-0c.adoc[ThresholdAggregate](
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);
----

[.small]#xref:BloombergLP/ball/ThresholdAggregate/2constructor-0c.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
