Search Toolkit Book for CSafeStatic_Callbacks
Initialization and cleanup of a safe-static object. More...
#include <corelib/ncbi_safe_static.hpp>
Initialization and cleanup of a safe-static object.
Must implement at least Create() and Cleanup() methods. Create() must create a new object and return the initialized pointer. Cleanup() can be a no-op. The default implementation allows to use it as a wrapper for static callback functions.
Definition at line 394 of file ncbi_safe_static.hpp.
◆ FCleanup ◆ FCreateThe default implementation allows to use callback functions rather than a new class.
Definition at line 399 of file ncbi_safe_static.hpp.
◆ TAllocator ◆ CSafeStatic_Callbacks()The constructor allows to use CSafeStatic_Callbacks as a simple wrapper for static functions.
Definition at line 410 of file ncbi_safe_static.hpp.
◆ Cleanup()Perform cleanup before destruction.
Definition at line 425 of file ncbi_safe_static.hpp.
◆ Create() ◆ m_Cleanup ◆ m_CreateThe documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4