Music Hub  ..
A session-wide music playback service
media::ServiceSkeleton::Private Struct Reference
+ Collaboration diagram for media::ServiceSkeleton::Private:

Classes

struct  Exported
 
struct  Exported
 

Public Member Functions

 Private (media::ServiceSkeleton *impl, const ServiceSkeleton::Configuration &config)
 
std::pair< std::string, media::Player::PlayerKeycreate_session_info ()
 
void handle_create_session (const core::dbus::Message::Ptr &msg)
 
void handle_create_fixed_session (const core::dbus::Message::Ptr &msg)
 
void handle_resume_session (const core::dbus::Message::Ptr &msg)
 
void handle_pause_other_sessions (const core::dbus::Message::Ptr &msg)
 

Public Attributes

media::ServiceSkeletonimpl
 
dbus::Object::Ptr object
 
ServiceSkeleton::Configuration configuration
 
std::map< std::string, media::Player::PlayerKeynamed_player_map
 
struct media::ServiceSkeleton::Private::Exported exported
 

Detailed Description

Definition at line 50 of file service_skeleton.cpp.

Constructor & Destructor Documentation

media::ServiceSkeleton::Private::Private ( media::ServiceSkeleton impl,
const ServiceSkeleton::Configuration &  config 
)
inline

Definition at line 52 of file service_skeleton.cpp.

References handle_create_fixed_session(), handle_create_session(), handle_pause_other_sessions(), and handle_resume_session().

+ Here is the call graph for this function:

Member Function Documentation

std::pair<std::string, media::Player::PlayerKey> media::ServiceSkeleton::Private::create_session_info ( )
inline

Definition at line 81 of file service_skeleton.cpp.

Referenced by handle_create_fixed_session(), and handle_create_session().

void media::ServiceSkeleton::Private::handle_create_fixed_session ( const core::dbus::Message::Ptr &  msg)
inline
void media::ServiceSkeleton::Private::handle_create_session ( const core::dbus::Message::Ptr &  msg)
inline

Definition at line 93 of file service_skeleton.cpp.

References configuration, create_session_info(), and mpris::Service::Errors::CreatingSession::name().

Referenced by Private().

+ Here is the call graph for this function:

void media::ServiceSkeleton::Private::handle_pause_other_sessions ( const core::dbus::Message::Ptr &  msg)
inline

Definition at line 223 of file service_skeleton.cpp.

Referenced by Private().

void media::ServiceSkeleton::Private::handle_resume_session ( const core::dbus::Message::Ptr &  msg)
inline

Definition at line 189 of file service_skeleton.cpp.

References configuration, mpris::Service::Errors::CreatingSession::name(), and mpris::Service::Errors::ResumingSession::name().

Referenced by Private().

+ Here is the call graph for this function:

Member Data Documentation

ServiceSkeleton::Configuration media::ServiceSkeleton::Private::configuration
struct media::ServiceSkeleton::Private::Exported media::ServiceSkeleton::Private::exported
media::ServiceSkeleton* media::ServiceSkeleton::Private::impl

Definition at line 234 of file service_skeleton.cpp.

std::map<std::string, media::Player::PlayerKey> media::ServiceSkeleton::Private::named_player_map

Definition at line 240 of file service_skeleton.cpp.

Referenced by handle_create_fixed_session().

dbus::Object::Ptr media::ServiceSkeleton::Private::object

Definition at line 235 of file service_skeleton.cpp.


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