|
MT Showcase SDK
|
This class holds all services loaded in the current application. More...
#include <ServiceProvider.hpp>
Public Member Functions | |
| std::shared_ptr< EmailServiceAPI > | emailService (const QString &name=QString()) |
| Get API to send emails. More... | |
| std::shared_ptr< CodiceServiceAPI > | codiceService () |
| Get API to access Codice database. More... | |
| std::shared_ptr < CodiceServiceCache > | codiceServiceCache () |
| Get API to access Codice database cache. More... | |
| std::shared_ptr < DataGathering::DataGatheringServiceAPI > | dataGatheringService () |
| Get API to log data gathering events. More... | |
| ServiceInstancePtr | service (const QString &componentName, const QString &name=QString()) const |
Protected Member Functions | |
| void | removeServiceInstance (const QString &component, const QString &name) |
This class holds all services loaded in the current application.
| std::shared_ptr< CodiceServiceAPI > Showcase::ServiceProvider::codiceService | ( | ) |
Get API to access Codice database.
| std::shared_ptr< CodiceServiceCache > Showcase::ServiceProvider::codiceServiceCache | ( | ) |
Get API to access Codice database cache.
| std::shared_ptr< DataGathering::DataGatheringServiceAPI > Showcase::ServiceProvider::dataGatheringService | ( | ) |
Get API to log data gathering events.
| std::shared_ptr< EmailServiceAPI > Showcase::ServiceProvider::emailService | ( | const QString & | name = QString() | ) |
Get API to send emails.
| name | name of the service to use; empty string to use default |
|
protected |
| std::shared_ptr< ServiceInstance > Showcase::ServiceProvider::service | ( | const QString & | componentName, |
| const QString & | name = QString() |
||
| ) | const |