|
void | InsertEntry (const std::shared_ptr< CPVRProvider > &newProvider, ProviderUpdateMode updateMode) |
|
|
CCriticalSection | m_critSection |
|
int | m_iLastId = 0 |
|
std::vector< std::shared_ptr< CPVRProvider > > | m_providers |
|
◆ GetByClient()
std::shared_ptr< CPVRProvider > CPVRProvidersContainer::GetByClient |
( |
int |
iClientId, |
|
|
int |
iUniqueId |
|
) |
| const |
Get the provider denoted by given client id and unique client provider id.
- Parameters
-
iClientId | The client id. |
iUniqueId | The client provider id. |
- Returns
- the provider if found, null otherwise.
◆ GetNumProviders()
std::size_t CPVRProvidersContainer::GetNumProviders |
( |
| ) |
const |
Get the number of providers in this container
- Returns
- The total number of providers
◆ GetProvidersList()
std::vector< std::shared_ptr< CPVRProvider > > CPVRProvidersContainer::GetProvidersList |
( |
| ) |
const |
Get all providers in this container
- Returns
- The list of all providers
◆ UpdateFromClient()
bool CPVRProvidersContainer::UpdateFromClient |
( |
const std::shared_ptr< CPVRProvider > & |
provider | ) |
|
Add a provider to this container or update the provider if already present in this container.
- Parameters
-
- Returns
- True, if the update was successful. False, otherwise.
The documentation for this class was generated from the following files: