An interface of stop_guard entity.
More...
#include <stop_guard.hpp>
An interface of stop_guard entity.
All implementations of stop_guards must implement this interface.
- Since
- v.5.5.19.2
- Examples
- so_5/stop_guard/main.cpp.
Definition at line 33 of file stop_guard.hpp.
◆ setup_result_t
Type for result of setting up a new stop_guard.
| Enumerator |
|---|
| ok | New stop_guard has be set successfully.
|
| stop_already_in_progress | New stop_guard has not been set because stop operation is already in progress.
|
Definition at line 37 of file stop_guard.hpp.
◆ what_if_stop_in_progress_t
What to do if attempt to setup a new stop_guard is performed when the stop operation is in progress.
| Enumerator |
|---|
| throw_exception | An exception must be thrown.
|
| return_negative_result | Return negative setup result.
|
Definition at line 48 of file stop_guard.hpp.
◆ stop_guard_t() [1/3]
| so_5::stop_guard_t::stop_guard_t |
( |
| ) |
|
|
default |
◆ stop_guard_t() [2/3]
◆ stop_guard_t() [3/3]
◆ ~stop_guard_t()
| virtual so_5::stop_guard_t::~stop_guard_t |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ stop()
| virtual void so_5::stop_guard_t::stop |
( |
| ) |
|
|
pure virtualnoexcept |
The documentation for this class was generated from the following file: