Music Hub  ..
A session-wide music playback service
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
media::PlayerSkeleton::Private Struct Reference
+ Collaboration diagram for media::PlayerSkeleton::Private:

Classes

struct  Signals
 

Public Member Functions

 Private (media::PlayerSkeleton *player, const std::string &identity, const std::shared_ptr< core::dbus::Bus > &bus, const std::shared_ptr< core::dbus::Object > &session)
 
void handle_next (const core::dbus::Message::Ptr &msg)
 
void handle_previous (const core::dbus::Message::Ptr &msg)
 
void handle_pause (const core::dbus::Message::Ptr &msg)
 
void handle_stop (const core::dbus::Message::Ptr &msg)
 
void handle_play (const core::dbus::Message::Ptr &msg)
 
void handle_play_pause (const core::dbus::Message::Ptr &msg)
 
void handle_seek (const core::dbus::Message::Ptr &in)
 
void handle_set_position (const core::dbus::Message::Ptr &)
 
void handle_create_video_sink (const core::dbus::Message::Ptr &in)
 
bool does_client_have_access (const std::string &context, const std::string &uri)
 
void handle_key (const core::dbus::Message::Ptr &in)
 
void handle_open_uri (const core::dbus::Message::Ptr &in)
 
template<typename Property >
void on_property_value_changed (const typename Property::ValueType &value, const dbus::Signal< core::dbus::interfaces::Properties::Signals::PropertiesChanged, core::dbus::interfaces::Properties::Signals::PropertiesChanged::ArgumentType >::Ptr &signal)
 

Public Attributes

media::PlayerSkeletonimpl
 
std::string identity
 
dbus::Bus::Ptr bus
 
dbus::Object::Ptr object
 
dbus::Object::Ptr apparmor_session
 
org::freedesktop::dbus::DBus::Stub dbus_stub
 
mpris::Player::Skeleton skeleton
 
struct
media::PlayerSkeleton::Private::Signals 
signals
 

Detailed Description

Definition at line 43 of file player_skeleton.cpp.

Constructor & Destructor Documentation

media::PlayerSkeleton::Private::Private ( media::PlayerSkeleton player,
const std::string &  identity,
const std::shared_ptr< core::dbus::Bus > &  bus,
const std::shared_ptr< core::dbus::Object > &  session 
)
inline

Definition at line 45 of file player_skeleton.cpp.

Member Function Documentation

bool media::PlayerSkeleton::Private::does_client_have_access ( const std::string &  context,
const std::string &  uri 
)
inline

Definition at line 143 of file player_skeleton.cpp.

Referenced by handle_open_uri().

void media::PlayerSkeleton::Private::handle_create_video_sink ( const core::dbus::Message::Ptr &  in)
inline

Definition at line 133 of file player_skeleton.cpp.

References bus, core::ubuntu::media::Player::create_video_sink(), and impl.

+ Here is the call graph for this function:

void media::PlayerSkeleton::Private::handle_key ( const core::dbus::Message::Ptr &  in)
inline

Definition at line 219 of file player_skeleton.cpp.

References bus, impl, and core::ubuntu::media::Player::key().

+ Here is the call graph for this function:

void media::PlayerSkeleton::Private::handle_next ( const core::dbus::Message::Ptr &  msg)
inline

Definition at line 65 of file player_skeleton.cpp.

References bus, impl, and core::ubuntu::media::Player::next().

+ Here is the call graph for this function:

void media::PlayerSkeleton::Private::handle_open_uri ( const core::dbus::Message::Ptr &  in)
inline
void media::PlayerSkeleton::Private::handle_pause ( const core::dbus::Message::Ptr &  msg)
inline

Definition at line 79 of file player_skeleton.cpp.

References bus, impl, and core::ubuntu::media::Player::pause().

+ Here is the call graph for this function:

void media::PlayerSkeleton::Private::handle_play ( const core::dbus::Message::Ptr &  msg)
inline

Definition at line 93 of file player_skeleton.cpp.

References bus, impl, and core::ubuntu::media::Player::play().

+ Here is the call graph for this function:

void media::PlayerSkeleton::Private::handle_play_pause ( const core::dbus::Message::Ptr &  msg)
inline
void media::PlayerSkeleton::Private::handle_previous ( const core::dbus::Message::Ptr &  msg)
inline

Definition at line 72 of file player_skeleton.cpp.

References bus, impl, and core::ubuntu::media::Player::previous().

+ Here is the call graph for this function:

void media::PlayerSkeleton::Private::handle_seek ( const core::dbus::Message::Ptr &  in)
inline

Definition at line 119 of file player_skeleton.cpp.

References bus, impl, and core::ubuntu::media::Player::seek_to().

+ Here is the call graph for this function:

void media::PlayerSkeleton::Private::handle_set_position ( const core::dbus::Message::Ptr &  )
inline

Definition at line 129 of file player_skeleton.cpp.

void media::PlayerSkeleton::Private::handle_stop ( const core::dbus::Message::Ptr &  msg)
inline

Definition at line 86 of file player_skeleton.cpp.

References bus, impl, and core::ubuntu::media::Player::stop().

+ Here is the call graph for this function:

template<typename Property >
void media::PlayerSkeleton::Private::on_property_value_changed ( const typename Property::ValueType &  value,
const dbus::Signal< core::dbus::interfaces::Properties::Signals::PropertiesChanged, core::dbus::interfaces::Properties::Signals::PropertiesChanged::ArgumentType >::Ptr &  signal 
)
inline

Definition at line 243 of file player_skeleton.cpp.

Member Data Documentation

dbus::Object::Ptr media::PlayerSkeleton::Private::apparmor_session

Definition at line 267 of file player_skeleton.cpp.

dbus::Bus::Ptr media::PlayerSkeleton::Private::bus
org::freedesktop::dbus::DBus::Stub media::PlayerSkeleton::Private::dbus_stub

Definition at line 269 of file player_skeleton.cpp.

Referenced by handle_open_uri().

std::string media::PlayerSkeleton::Private::identity

Definition at line 264 of file player_skeleton.cpp.

dbus::Object::Ptr media::PlayerSkeleton::Private::object

Definition at line 266 of file player_skeleton.cpp.

struct media::PlayerSkeleton::Private::Signals media::PlayerSkeleton::Private::signals
mpris::Player::Skeleton media::PlayerSkeleton::Private::skeleton

Definition at line 271 of file player_skeleton.cpp.


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