[#BloombergLP-bdlt-TimetableCache-2constructor-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/TimetableCache.adoc[TimetableCache]::TimetableCache
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bdlt&lowbar;timetablecache&period;h&gt;`

Create an empty timetable cache with no timeout&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlt/TimetableCache/2constructor-00.adoc[TimetableCache](
    xref:BloombergLP/bdlt/TimetableLoader.adoc[TimetableLoader]* loader,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlt/TimetableCache/2constructor-00.adoc[_» more&period;&period;&period;_]#

Create a timetable cache with the specified loader and timeout&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/TimetableCache/2constructor-0e.adoc[TimetableCache](
    xref:BloombergLP/bdlt/TimetableLoader.adoc[TimetableLoader]* loader,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& timeout,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlt/TimetableCache/2constructor-0e.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *loader*
| loader used to load timetables on demand
| *basicAllocator*
| allocator used to supply memory
| *timeout*
| interval after which cached timetables expire
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
