Music Hub  ..
A session-wide music playback service
core::ubuntu::media::ServiceImplementation Class Reference

#include <service_implementation.h>

+ Inheritance diagram for core::ubuntu::media::ServiceImplementation:
+ Collaboration diagram for core::ubuntu::media::ServiceImplementation:

Classes

struct  Configuration
 

Public Member Functions

 ServiceImplementation (const Configuration &configuration)
 
 ~ServiceImplementation ()
 
std::shared_ptr< Playercreate_session (const Player::Configuration &)
 
std::shared_ptr< Playercreate_fixed_session (const std::string &name, const Player::Configuration &)
 
std::shared_ptr< Playerresume_session (Player::PlayerKey key)
 
void pause_other_sessions (Player::PlayerKey key)
 
- Public Member Functions inherited from core::ubuntu::media::Service
 Service (const Service &)=delete
 
virtual ~Service ()=default
 
Serviceoperator= (const Service &)=delete
 
bool operator== (const Service &) const =delete
 

Additional Inherited Members

- Protected Member Functions inherited from core::ubuntu::media::Service
 Service ()=default
 

Detailed Description

Definition at line 33 of file service_implementation.h.

Constructor & Destructor Documentation

core::ubuntu::media::ServiceImplementation::ServiceImplementation ( const Configuration configuration)
core::ubuntu::media::ServiceImplementation::~ServiceImplementation ( )

Member Function Documentation

std::shared_ptr<Player> core::ubuntu::media::ServiceImplementation::create_fixed_session ( const std::string &  name,
const Player::Configuration  
)
virtual
std::shared_ptr<Player> core::ubuntu::media::ServiceImplementation::create_session ( const Player::Configuration )
virtual
void core::ubuntu::media::ServiceImplementation::pause_other_sessions ( Player::PlayerKey  key)
virtual
std::shared_ptr<Player> core::ubuntu::media::ServiceImplementation::resume_session ( Player::PlayerKey  key)
virtual

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