#include <hashed_keyed_player_store.h>
Public Member Functions | |
HashedKeyedPlayerStore () | |
const core::Property< std::shared_ptr< media::Player > > & | current_player () const override |
bool | has_player_for_key (const Player::PlayerKey &key) const override |
std::shared_ptr< Player > | player_for_key (const Player::PlayerKey &key) const override |
void | enumerate_players (const PlayerEnumerator &enumerator) const override |
void | add_player_for_key (const Player::PlayerKey &key, const std::shared_ptr< Player > &player) override |
void | remove_player_for_key (const Player::PlayerKey &key) override |
size_t | number_of_players () const |
void | set_current_player_for_key (const Player::PlayerKey &key) override |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< KeyedPlayerStore > | Ptr |
typedef std::function< void(const Player::PlayerKey &, const std::shared_ptr< Player > &) > | PlayerEnumerator |
![]() | |
KeyedPlayerStore ()=default | |
KeyedPlayerStore (const KeyedPlayerStore &)=delete | |
virtual | ~KeyedPlayerStore ()=default |
KeyedPlayerStore & | operator= (const KeyedPlayerStore &)=delete |
Definition at line 34 of file hashed_keyed_player_store.h.
core::ubuntu::media::HashedKeyedPlayerStore::HashedKeyedPlayerStore | ( | ) |
Definition at line 23 of file hashed_keyed_player_store.cpp.
|
overridevirtual |
Implements core::ubuntu::media::KeyedPlayerStore.
Definition at line 58 of file hashed_keyed_player_store.cpp.
|
overridevirtual |
Implements core::ubuntu::media::KeyedPlayerStore.
Definition at line 27 of file hashed_keyed_player_store.cpp.
|
overridevirtual |
Implements core::ubuntu::media::KeyedPlayerStore.
Definition at line 51 of file hashed_keyed_player_store.cpp.
|
overridevirtual |
Implements core::ubuntu::media::KeyedPlayerStore.
Definition at line 32 of file hashed_keyed_player_store.cpp.
size_t core::ubuntu::media::HashedKeyedPlayerStore::number_of_players | ( | ) | const |
Definition at line 77 of file hashed_keyed_player_store.cpp.
|
overridevirtual |
Implements core::ubuntu::media::KeyedPlayerStore.
Definition at line 38 of file hashed_keyed_player_store.cpp.
Referenced by set_current_player_for_key().
|
overridevirtual |
Implements core::ubuntu::media::KeyedPlayerStore.
Definition at line 64 of file hashed_keyed_player_store.cpp.
|
overridevirtual |
Implements core::ubuntu::media::KeyedPlayerStore.
Definition at line 83 of file hashed_keyed_player_store.cpp.
References player_for_key().