Component-private node storing a stop callback for StopState.
Declared in <bslstl_stoptoken.h>
template<class t_CALLBACK>
class StopCallback_Node
: public StopCallback_CallbackStorage<t_CALLBACK>
, public StopStateCallbackNode
This component-private class is used to implement bsl::stop_callback. It overrides the virtual invoke method of bslstl::StopStateCallbackNode, which allows it to be registered and invoked by bslstl::StopState.
| Name | Description |
|---|---|
StopCallback_CallbackStorage<t_CALLBACK> | Stores a non-reference t_CALLBACK object for stop callbacks. |
StopStateCallbackNode | Intrusive list node that stores a registered stop-callback invocation. |
| Name | Description |
|---|---|
allocator_type | Allocator type used when t_CALLBACK is allocator-aware; otherwise an empty dummy type. |
| Name | Description |
|---|---|
StopCallback_Node [constructor] | Constructors |
callback | callback overloads |
invoke [virtual] | Invoke the callback stored in the derived class. |