Register node with this stop state, or invoke it if a stop was already requested.
Synopsis
Declared in <bslstl_stopstate.h>
bool
enregister(StopStateCallbackNode* node);
Description
If a stop has already been requested, then invoke the callback of the specified node and return false. Otherwise, add node to the list of nodes registered to this state and return true. The behavior is undefined if this method is called more than once for a given node.
Return Value
true if node was registered, and false if a stop was already requested and the callback was invoked instead
Parameters
Name |
Description |
node |
callback node to register or invoke |
Created with MrDocs