Manage the process‐wide default TimetableCache.
Synopsis
Declared in <bdlt_defaulttimetablecache.h>
struct DefaultTimetableCache;
Description
This struct provides a namespace for functions that manage the lifetime of, and access to, a process‐wide default bdlt::TimetableCache object. The default cache is initialized by an explicit call to the initialize class method, and destroyed by the destroy class method. The default cache may be initialized and destroyed multiple times during the lifetime of a process. The lifetimes of the timetable loader and memory allocator supplied to initialize must extend beyond the following (matching) call to destroy.
All methods of this struct are fully thread‐safe (see bsldoc_glossary).
Static Member Functions
Name |
Description |
Destroy the default timetable cache. |
|
|
|
Return a pointer to the default timetable cache, or 0 if uninitialized. |
Created with MrDocs