initialize overloads

Synopses

Declared in <bdlt_defaulttimetablecache.h>

Initialize the default timetable cache with no timeout.

static
int
initialize(
    TimetableLoader* loader,
    bslma::Allocator* allocator);

Initialize the default timetable cache with a timeout.

static
int
initialize(
    TimetableLoader* loader,
    bsls::TimeInterval const& timeout,
    bslma::Allocator* allocator);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

loader

timetable loader used to obtain timetables

allocator

allocator used to supply memory

timeout

interval after which cached timetables expire

Created with MrDocs