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.
Declared in <bslstl_stoptoken.h>
template<class t_CALLBACK>
class StopCallback_Node
: public StopCallback_CallbackStorage<t_CALLBACK>
, public StopStateCallbackNode
| Name | Description |
|---|---|
StopCallback_CallbackStorage<t_CALLBACK> | The primary class template stores an object of non-reference type given by the template parameter t_CALLBACK. (That is, the primary template provides the implementation only when t_IS_REFERENCE is false.) |
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. |