Create a sluice that uses the specified clockType.

Synopsis

Declared in <bslmt_sluice.h>

explicit
Sluice(
    bsls::SystemClockType::Enum clockType,
    bslma::Allocator* basicAllocator = 0);

Description

Use the specified clockType as the clock against which the bsls::TimeInterval absTime timeouts passed to the timedWait method are to be interpreted (see {Supported Clock‐Types} in the component documentation). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

Name

Description

clockType

clock used to interpret timedWait timeouts

basicAllocator

memory allocator; null uses the default

Created with MrDocs