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

#include <service_stub.h>

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

Public Member Functions

 ServiceStub ()
 
 ~ServiceStub ()
 
std::shared_ptr< Playercreate_session (const Player::Configuration &)
 
void detach_session (const std::string &uuid, const Player::Configuration &)
 
std::shared_ptr< Playerreattach_session (const std::string &uuid, const Player::Configuration &)
 
void destroy_session (const std::string &uuid, 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)
 
virtual const core::Signal< void > & service_disconnected () const
 
virtual const core::Signal< void > & service_reconnected () const
 

Detailed Description

Definition at line 39 of file service_stub.h.

Constructor & Destructor Documentation

core::ubuntu::media::ServiceStub::ServiceStub ( )

Definition at line 32 of file service_stub.cpp.

References MH_DEBUG, and core::ubuntu::media::the_session_bus().

+ Here is the call graph for this function:

core::ubuntu::media::ServiceStub::~ServiceStub ( )

Definition at line 69 of file service_stub.cpp.

References core::ubuntu::media::the_session_bus().

+ Here is the call graph for this function:

Member Function Documentation

std::shared_ptr< media::Player > core::ubuntu::media::ServiceStub::create_fixed_session ( const std::string &  name,
const Player::Configuration  
)

Definition at line 133 of file service_stub.cpp.

std::shared_ptr< media::Player > core::ubuntu::media::ServiceStub::create_session ( const Player::Configuration )

Definition at line 78 of file service_stub.cpp.

void core::ubuntu::media::ServiceStub::destroy_session ( const std::string &  uuid,
const Player::Configuration  
)

Definition at line 123 of file service_stub.cpp.

void core::ubuntu::media::ServiceStub::detach_session ( const std::string &  uuid,
const Player::Configuration  
)

Definition at line 95 of file service_stub.cpp.

void core::ubuntu::media::ServiceStub::pause_other_sessions ( Player::PlayerKey  key)

Definition at line 166 of file service_stub.cpp.

std::shared_ptr< media::Player > core::ubuntu::media::ServiceStub::reattach_session ( const std::string &  uuid,
const Player::Configuration  
)

Definition at line 105 of file service_stub.cpp.

std::shared_ptr< media::Player > core::ubuntu::media::ServiceStub::resume_session ( Player::PlayerKey  key)

Definition at line 150 of file service_stub.cpp.

const core::Signal< void > & core::ubuntu::media::ServiceStub::service_disconnected ( ) const
virtual

Definition at line 175 of file service_stub.cpp.

const core::Signal< void > & core::ubuntu::media::ServiceStub::service_reconnected ( ) const
virtual

Definition at line 180 of file service_stub.cpp.


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