Constructors
Declared in <bdlt_timetablecache.h>
Create an empty timetable cache with no timeout.
explicit
TimetableCache(
TimetableLoader* loader,
bslma::Allocator* basicAllocator = 0);
» more...
Create a timetable cache with the specified loader and timeout.
TimetableCache(
TimetableLoader* loader,
bsls::TimeInterval const& timeout,
bslma::Allocator* basicAllocator = 0);
» more...
| Name | Description |
|---|---|
| loader | loader used to load timetables on demand |
| basicAllocator | allocator used to supply memory |
| timeout | interval after which cached timetables expire |