[#BloombergLP-bslmt-Condition-2constructor-0b8]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/Condition.adoc[Condition]::Condition
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bslmt&lowbar;condition&period;h&gt;`

Create a condition variable object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bslmt/Condition/2constructor-0f.adoc[Condition](xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType = bsls&colon;&colon;SystemClockType&colon;&colon;e&lowbar;REALTIME);
----

[.small]#xref:BloombergLP/bslmt/Condition/2constructor-0f.adoc[_» more&period;&period;&period;_]#

Create a condition variable that uses the monotonic clock&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bslmt/Condition/2constructor-09.adoc[Condition](std::chrono::steady&lowbar;clock const& steadyClock);
----

[.small]#xref:BloombergLP/bslmt/Condition/2constructor-09.adoc[_» more&period;&period;&period;_]#

Create a condition variable that uses the realtime clock&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bslmt/Condition/2constructor-0b2.adoc[Condition](std::chrono::system&lowbar;clock const& systemClock);
----

[.small]#xref:BloombergLP/bslmt/Condition/2constructor-0b2.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *clockType*
| type of system clock for `timedWait` timeouts
| *steadyClock*
| tag selecting the system monotonic clock
| *systemClock*
| tag selecting the system realtime clock
|===


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