[#BloombergLP-bslstl-StopCallback_Node] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::StopCallback_Node :relfileprefix: ../../ :mrdocs: 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`. == Synopsis Declared in `<bslstl_stoptoken.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_CALLBACK> class StopCallback_Node : public xref:BloombergLP/bslstl/StopCallback_CallbackStorage-06.adoc[StopCallback_CallbackStorage<t_CALLBACK>] , public xref:BloombergLP/bslstl/StopStateCallbackNode.adoc[StopStateCallbackNode] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bslstl/StopCallback_CallbackStorage-06.adoc[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`.) | `xref:BloombergLP/bslstl/StopStateCallbackNode.adoc[StopStateCallbackNode]` | Intrusive list node that stores a registered stop‐callback invocation. |=== == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/StopCallback_CallbackStorage-06/allocator_type.adoc[`allocator_type`] | Allocator type used when `t_CALLBACK` is allocator‐aware; otherwise an empty dummy type. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/StopCallback_Node/2constructor-08.adoc[`StopCallback_Node`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bslstl/StopCallback_CallbackStorage-06/callback-00a.adoc[`callback`] | `callback` overloads | xref:BloombergLP/bslstl/StopStateCallbackNode/invoke.adoc[`invoke`] [.small]#[virtual]# | Invoke the callback stored in the derived class. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#