Constructors
Declared in <bslmt_timedcompletionguard.h>
Create a timed completion guard using failByAbort.
TimedCompletionGuard();
» more...
Create the guard using the specified basicAllocator to supply memory.
explicit
TimedCompletionGuard(allocator_type const& basicAllocator);
» more...
Create a timed completion guard that invokes function on expiration.
TimedCompletionGuard(
Handler function,
allocator_type const& basicAllocator = allocator_type());
» more...
| Name | Description |
|---|---|
| basicAllocator | allocator used to supply memory |
| function | handler invoked when a set duration expires |