10 #ifndef DATAPROVIDERMANAGER_H_ 11 #define DATAPROVIDERMANAGER_H_ 40 bool AddProvider(std::unique_ptr<DataProvider> provider);
75 std::vector<std::pair<
ProviderPtr, std::vector<std::string>>> ¬ValidGlobalObjects);
90 bool SetPass(
unsigned int pass,
unsigned int iter);
bool DisconnectSource()
Dispatches the call to DisconnectSource to all the data providers.
Definition: DataProviderManager.cpp:54
ProvidersBook _providers
Definition: DataProviderManager.h:103
bool ConnectSource()
Dispatches the call to ConnectSource to all the data providers.
Definition: DataProviderManager.cpp:41
bool SetPass(unsigned int pass, unsigned int iter)
Set the current pass and iteration for all the registered providers.
Definition: DataProviderManager.cpp:92
A smart pointer not owning the wrapped object.
Definition: ObserverPtr.h:28
std::vector< ProviderPtr > GetProviders() const
Get a list of providers.
Definition: DataProviderManager.cpp:32
bool SetDisabledProviders(const std::vector< std::string > &providerNames)
Set the disabled providers.
Definition: DataProviderManager.cpp:100
IncludeFileExc.h IncludeFileExc class declaration.
Definition: Algorithm.h:21
bool SetEvent(unsigned int event, std::vector< std::pair< ProviderPtr, std::vector< std::string >>> ¬ValidGlobalObjects)
Set the current event for all the registered providers.
Definition: DataProviderManager.cpp:67
std::list< std::unique_ptr< DataProvider > > ProvidersBook
Definition: DataProviderManager.h:102
ProviderPtr GetProvider(const std::string &name)
Get a given provider.
Definition: DataProviderManager.cpp:23
bool AddProvider(std::unique_ptr< DataProvider > provider)
Add a data provider to the manager.
Definition: DataProviderManager.cpp:15
bool IsEventAvailable(unsigned int event)
Checks if the registered data provider can provide the given event.
Definition: DataProviderManager.cpp:83
Manager class for data providers.
Definition: DataProviderManager.h:29