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 media::CoverArtResolver &resolver)
 
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
 
org::freedesktop::dbus::DBus::Stub dbus_stub
 
std::map< media::Player::PlayerKey, std::shared_ptr< media::Player > > session_store
 
std::map< std::string, media::Player::PlayerKeyfixed_session_store
 
struct media::ServiceSkeleton::Private::Exported exported
 

Detailed Description

Definition at line 52 of file service_skeleton.cpp.

Constructor & Destructor Documentation

media::ServiceSkeleton::Private::Private ( media::ServiceSkeleton impl,
const media::CoverArtResolver resolver 
)
inline

Definition at line 54 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 83 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
void media::ServiceSkeleton::Private::handle_pause_other_sessions ( const core::dbus::Message::Ptr &  msg)
inline

Definition at line 249 of file service_skeleton.cpp.

References impl.

Referenced by Private().

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

Member Data Documentation

org::freedesktop::dbus::DBus::Stub media::ServiceSkeleton::Private::dbus_stub
struct media::ServiceSkeleton::Private::Exported media::ServiceSkeleton::Private::exported
std::map<std::string, media::Player::PlayerKey> media::ServiceSkeleton::Private::fixed_session_store

Definition at line 267 of file service_skeleton.cpp.

Referenced by handle_create_fixed_session().

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

Definition at line 261 of file service_skeleton.cpp.

std::map<media::Player::PlayerKey, std::shared_ptr<media::Player> > media::ServiceSkeleton::Private::session_store

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