#include <service_skeleton.h>
Classes | |
struct | Configuration |
Public Member Functions | |
ServiceSkeleton (const Configuration &configuration) | |
~ServiceSkeleton () | |
std::shared_ptr< Player > | create_session (const Player::Configuration &) |
void | detach_session (const std::string &, const Player::Configuration &) |
std::shared_ptr< Player > | reattach_session (const std::string &, const Player::Configuration &) |
void | destroy_session (const std::string &, const media::Player::Configuration &) |
std::shared_ptr< Player > | create_fixed_session (const std::string &name, const Player::Configuration &) |
std::shared_ptr< Player > | resume_session (Player::PlayerKey) |
void | set_current_player (Player::PlayerKey key) |
bool | is_current_player (Player::PlayerKey key) const |
void | reset_current_player () |
void | pause_other_sessions (Player::PlayerKey key) |
void | run () |
void | stop () |
virtual const core::Signal< void > & | service_disconnected () const |
virtual const core::Signal< void > & | service_reconnected () const |
Definition at line 40 of file service_skeleton.h.
core::ubuntu::media::ServiceSkeleton::ServiceSkeleton | ( | const Configuration & | configuration | ) |
core::ubuntu::media::ServiceSkeleton::~ServiceSkeleton | ( | ) |
std::shared_ptr<Player> core::ubuntu::media::ServiceSkeleton::create_fixed_session | ( | const std::string & | name, |
const Player::Configuration & | |||
) |
std::shared_ptr<Player> core::ubuntu::media::ServiceSkeleton::create_session | ( | const Player::Configuration & | ) |
void core::ubuntu::media::ServiceSkeleton::destroy_session | ( | const std::string & | , |
const media::Player::Configuration & | |||
) |
void core::ubuntu::media::ServiceSkeleton::detach_session | ( | const std::string & | , |
const Player::Configuration & | |||
) |
bool core::ubuntu::media::ServiceSkeleton::is_current_player | ( | Player::PlayerKey | key | ) | const |
void core::ubuntu::media::ServiceSkeleton::pause_other_sessions | ( | Player::PlayerKey | key | ) |
Referenced by media::ServiceSkeleton::Private::Exported::Exported().
std::shared_ptr<Player> core::ubuntu::media::ServiceSkeleton::reattach_session | ( | const std::string & | , |
const Player::Configuration & | |||
) |
void core::ubuntu::media::ServiceSkeleton::reset_current_player | ( | ) |
std::shared_ptr<Player> core::ubuntu::media::ServiceSkeleton::resume_session | ( | Player::PlayerKey | ) |
void core::ubuntu::media::ServiceSkeleton::run | ( | ) |
|
virtual |
|
virtual |
void core::ubuntu::media::ServiceSkeleton::set_current_player | ( | Player::PlayerKey | key | ) |
void core::ubuntu::media::ServiceSkeleton::stop | ( | ) |
Referenced by media::ServiceSkeleton::Private::Exported::Exported().