10 #ifndef EVENTDATACACHEMANAGER_H_ 11 #define EVENTDATACACHEMANAGER_H_ 37 bool AddCache(std::unique_ptr<EventDataCache> cache);
73 using Caches = std::list<std::unique_ptr<EventDataCache>>;
A smart pointer not owning the wrapped object.
Definition: ObserverPtr.h:28
bool SetCurrentEvent(unsigned int event)
Sets the current event for all the caches.
Definition: EventDataCacheManager.cpp:29
IncludeFileExc.h IncludeFileExc class declaration.
Definition: Algorithm.h:21
bool Clean()
Cleans all the caches.
Definition: EventDataCacheManager.cpp:56
Manager class for event data cache objects.
Definition: EventDataCacheManager.h:29
Caches _caches
Definition: EventDataCacheManager.h:74
observer_ptr< EventDataCache > GetCache(const std::string &storeName)
Retrieves the cache attached at the given event data store.
Definition: EventDataCacheManager.cpp:20
std::list< std::unique_ptr< EventDataCache > > Caches
Definition: EventDataCacheManager.h:73
bool Unbook()
Unbooks all the booked objects for all the caches.
Definition: EventDataCacheManager.cpp:47
bool AddCache(std::unique_ptr< EventDataCache > cache)
Adds a cache to the manager.
Definition: EventDataCacheManager.cpp:15
bool CacheValues()
Caches all the booked objects for all the caches.
Definition: EventDataCacheManager.cpp:38