Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CServiceManager Class Reference

#include <ServiceManager.h>

Public Member Functions

 CServiceManager ()
 
 ~CServiceManager ()
 
bool InitForTesting ()
 
bool InitStageOne ()
 
bool InitStageTwo (const std::string &profilesUserDataFolder)
 
bool InitStageThree (const std::shared_ptr< CProfileManager > &profileManager)
 
void DeinitTesting ()
 
void DeinitStageThree ()
 
void DeinitStageTwo ()
 
void DeinitStageOne ()
 
ADDON::CAddonMgrGetAddonMgr ()
 
ADDON::CBinaryAddonManagerGetBinaryAddonManager ()
 
ADDON::CBinaryAddonCacheGetBinaryAddonCache ()
 
KODI::ADDONS::CExtsMimeSupportListGetExtsMimeSupportList ()
 
ADDON::CVFSAddonCacheGetVFSAddonCache ()
 
ADDON::CServiceAddonManagerGetServiceAddons ()
 
ADDON::CRepositoryUpdaterGetRepositoryUpdater ()
 
CNetworkBaseGetNetwork ()
 
PVR::CPVRManagerGetPVRManager ()
 
CContextMenuManagerGetContextMenuManager ()
 
CDataCacheCoreGetDataCacheCore ()
 
CPlatformGetPlatform ()
 Get the platform object. This is save to be called after Init1() was called.
 
KODI::GAME::CControllerManagerGetGameControllerManager ()
 
KODI::GAME::CGameServicesGetGameServices ()
 
KODI::RETRO::CGUIGameRenderManagerGetGameRenderManager ()
 
PERIPHERALS::CPeripheralsGetPeripherals ()
 
KODI::PLAYLIST::CPlayListPlayerGetPlaylistPlayer ()
 
CSlideShowDelegatorGetSlideShowDelegator ()
 
CFavouritesServiceGetFavouritesService ()
 
CInputManagerGetInputManager ()
 
CFileExtensionProviderGetFileExtensionProvider ()
 
CPowerManagerGetPowerManager ()
 
CWeatherManagerGetWeatherManager ()
 
CPlayerCoreFactoryGetPlayerCoreFactory ()
 
CDatabaseManagerGetDatabaseManager ()
 
CMediaManagerGetMediaManager ()
 

Public Attributes

int init_level = 0
 

Protected Attributes

std::unique_ptr< ADDON::CAddonMgrm_addonMgr
 
std::unique_ptr< ADDON::CBinaryAddonManagerm_binaryAddonManager
 
std::unique_ptr< ADDON::CBinaryAddonCachem_binaryAddonCache
 
std::unique_ptr< KODI::ADDONS::CExtsMimeSupportListm_extsMimeSupportList
 
std::unique_ptr< ADDON::CVFSAddonCachem_vfsAddonCache
 
std::unique_ptr< ADDON::CServiceAddonManagerm_serviceAddons
 
std::unique_ptr< ADDON::CRepositoryUpdaterm_repositoryUpdater
 
std::unique_ptr< PVR::CPVRManagerm_PVRManager
 
std::unique_ptr< CContextMenuManagerm_contextMenuManager
 
std::unique_ptr< CDataCacheCorem_dataCacheCore
 
std::unique_ptr< CPlatformm_Platform
 
std::unique_ptr< KODI::PLAYLIST::CPlayListPlayerm_playlistPlayer
 
std::unique_ptr< KODI::GAME::CControllerManagerm_gameControllerManager
 
std::unique_ptr< KODI::GAME::CGameServicesm_gameServices
 
std::unique_ptr< KODI::RETRO::CGUIGameRenderManagerm_gameRenderManager
 
std::unique_ptr< PERIPHERALS::CPeripheralsm_peripherals
 
std::unique_ptr< CFavouritesServicem_favouritesService
 
std::unique_ptr< CInputManagerm_inputManager
 
std::unique_ptr< CFileExtensionProviderm_fileExtensionProvider
 
std::unique_ptr< CNetworkBasem_network
 
std::unique_ptr< CPowerManagerm_powerManager
 
std::unique_ptr< CWeatherManagerm_weatherManager
 
std::unique_ptr< CPlayerCoreFactorym_playerCoreFactory
 
std::unique_ptr< CDatabaseManagerm_databaseManager
 
std::unique_ptr< CMediaManagerm_mediaManager
 
std::unique_ptr< CSlideShowDelegatorm_slideShowDelegator
 

Constructor & Destructor Documentation

◆ CServiceManager()

CServiceManager::CServiceManager ( )
default

◆ ~CServiceManager()

CServiceManager::~CServiceManager ( )

Member Function Documentation

◆ DeinitStageOne()

void CServiceManager::DeinitStageOne ( )

◆ DeinitStageThree()

void CServiceManager::DeinitStageThree ( )

◆ DeinitStageTwo()

void CServiceManager::DeinitStageTwo ( )

◆ DeinitTesting()

void CServiceManager::DeinitTesting ( )

◆ GetAddonMgr()

ADDON::CAddonMgr & CServiceManager::GetAddonMgr ( )

◆ GetBinaryAddonCache()

ADDON::CBinaryAddonCache & CServiceManager::GetBinaryAddonCache ( )

◆ GetBinaryAddonManager()

ADDON::CBinaryAddonManager & CServiceManager::GetBinaryAddonManager ( )

◆ GetContextMenuManager()

CContextMenuManager & CServiceManager::GetContextMenuManager ( )

◆ GetDatabaseManager()

CDatabaseManager & CServiceManager::GetDatabaseManager ( )

◆ GetDataCacheCore()

CDataCacheCore & CServiceManager::GetDataCacheCore ( )

◆ GetExtsMimeSupportList()

ADDONS::CExtsMimeSupportList & CServiceManager::GetExtsMimeSupportList ( )

◆ GetFavouritesService()

CFavouritesService & CServiceManager::GetFavouritesService ( )

◆ GetFileExtensionProvider()

CFileExtensionProvider & CServiceManager::GetFileExtensionProvider ( )

◆ GetGameControllerManager()

GAME::CControllerManager & CServiceManager::GetGameControllerManager ( )

◆ GetGameRenderManager()

KODI::RETRO::CGUIGameRenderManager & CServiceManager::GetGameRenderManager ( )

◆ GetGameServices()

GAME::CGameServices & CServiceManager::GetGameServices ( )

◆ GetInputManager()

CInputManager & CServiceManager::GetInputManager ( )

◆ GetMediaManager()

CMediaManager & CServiceManager::GetMediaManager ( )

◆ GetNetwork()

CNetworkBase & CServiceManager::GetNetwork ( )

◆ GetPeripherals()

PERIPHERALS::CPeripherals & CServiceManager::GetPeripherals ( )

◆ GetPlatform()

CPlatform & CServiceManager::GetPlatform ( )

Get the platform object. This is save to be called after Init1() was called.

◆ GetPlayerCoreFactory()

CPlayerCoreFactory & CServiceManager::GetPlayerCoreFactory ( )

◆ GetPlaylistPlayer()

PLAYLIST::CPlayListPlayer & CServiceManager::GetPlaylistPlayer ( )

◆ GetPowerManager()

CPowerManager & CServiceManager::GetPowerManager ( )

◆ GetPVRManager()

PVR::CPVRManager & CServiceManager::GetPVRManager ( )

◆ GetRepositoryUpdater()

ADDON::CRepositoryUpdater & CServiceManager::GetRepositoryUpdater ( )

◆ GetServiceAddons()

ADDON::CServiceAddonManager & CServiceManager::GetServiceAddons ( )

◆ GetSlideShowDelegator()

CSlideShowDelegator & CServiceManager::GetSlideShowDelegator ( )

◆ GetVFSAddonCache()

ADDON::CVFSAddonCache & CServiceManager::GetVFSAddonCache ( )

◆ GetWeatherManager()

CWeatherManager & CServiceManager::GetWeatherManager ( )

◆ InitForTesting()

bool CServiceManager::InitForTesting ( )

◆ InitStageOne()

bool CServiceManager::InitStageOne ( )

◆ InitStageThree()

bool CServiceManager::InitStageThree ( const std::shared_ptr< CProfileManager > & profileManager)

◆ InitStageTwo()

bool CServiceManager::InitStageTwo ( const std::string & profilesUserDataFolder)

Member Data Documentation

◆ init_level

int CServiceManager::init_level = 0

◆ m_addonMgr

std::unique_ptr<ADDON::CAddonMgr> CServiceManager::m_addonMgr
protected

◆ m_binaryAddonCache

std::unique_ptr<ADDON::CBinaryAddonCache> CServiceManager::m_binaryAddonCache
protected

◆ m_binaryAddonManager

std::unique_ptr<ADDON::CBinaryAddonManager> CServiceManager::m_binaryAddonManager
protected

◆ m_contextMenuManager

std::unique_ptr<CContextMenuManager> CServiceManager::m_contextMenuManager
protected

◆ m_databaseManager

std::unique_ptr<CDatabaseManager> CServiceManager::m_databaseManager
protected

◆ m_dataCacheCore

std::unique_ptr<CDataCacheCore> CServiceManager::m_dataCacheCore
protected

◆ m_extsMimeSupportList

std::unique_ptr<KODI::ADDONS::CExtsMimeSupportList> CServiceManager::m_extsMimeSupportList
protected

◆ m_favouritesService

std::unique_ptr<CFavouritesService> CServiceManager::m_favouritesService
protected

◆ m_fileExtensionProvider

std::unique_ptr<CFileExtensionProvider> CServiceManager::m_fileExtensionProvider
protected

◆ m_gameControllerManager

std::unique_ptr<KODI::GAME::CControllerManager> CServiceManager::m_gameControllerManager
protected

◆ m_gameRenderManager

std::unique_ptr<KODI::RETRO::CGUIGameRenderManager> CServiceManager::m_gameRenderManager
protected

◆ m_gameServices

std::unique_ptr<KODI::GAME::CGameServices> CServiceManager::m_gameServices
protected

◆ m_inputManager

std::unique_ptr<CInputManager> CServiceManager::m_inputManager
protected

◆ m_mediaManager

std::unique_ptr<CMediaManager> CServiceManager::m_mediaManager
protected

◆ m_network

std::unique_ptr<CNetworkBase> CServiceManager::m_network
protected

◆ m_peripherals

std::unique_ptr<PERIPHERALS::CPeripherals> CServiceManager::m_peripherals
protected

◆ m_Platform

std::unique_ptr<CPlatform> CServiceManager::m_Platform
protected

◆ m_playerCoreFactory

std::unique_ptr<CPlayerCoreFactory> CServiceManager::m_playerCoreFactory
protected

◆ m_playlistPlayer

std::unique_ptr<KODI::PLAYLIST::CPlayListPlayer> CServiceManager::m_playlistPlayer
protected

◆ m_powerManager

std::unique_ptr<CPowerManager> CServiceManager::m_powerManager
protected

◆ m_PVRManager

std::unique_ptr<PVR::CPVRManager> CServiceManager::m_PVRManager
protected

◆ m_repositoryUpdater

std::unique_ptr<ADDON::CRepositoryUpdater> CServiceManager::m_repositoryUpdater
protected

◆ m_serviceAddons

std::unique_ptr<ADDON::CServiceAddonManager> CServiceManager::m_serviceAddons
protected

◆ m_slideShowDelegator

std::unique_ptr<CSlideShowDelegator> CServiceManager::m_slideShowDelegator
protected

◆ m_vfsAddonCache

std::unique_ptr<ADDON::CVFSAddonCache> CServiceManager::m_vfsAddonCache
protected

◆ m_weatherManager

std::unique_ptr<CWeatherManager> CServiceManager::m_weatherManager
protected

The documentation for this class was generated from the following files: