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

#include <service_skeleton.h>

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

Classes

struct  Configuration
 

Public Member Functions

 ServiceSkeleton (const Configuration &configuration)
 
 ~ServiceSkeleton ()
 
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)
 
void pause_other_sessions (Player::PlayerKey key)
 
void run ()
 
void stop ()
 

Detailed Description

Definition at line 38 of file service_skeleton.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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::pause_other_sessions ( Player::PlayerKey  key)
std::shared_ptr<Player> core::ubuntu::media::ServiceSkeleton::resume_session ( Player::PlayerKey  )
void core::ubuntu::media::ServiceSkeleton::run ( )
void core::ubuntu::media::ServiceSkeleton::stop ( )

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