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)
 
void handle_open_uri_extended (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 144 of file player_skeleton.cpp.

Referenced by handle_open_uri(), and handle_open_uri_extended().

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

Definition at line 134 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 220 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 66 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_open_uri_extended ( const core::dbus::Message::Ptr &  in)
inline
void media::PlayerSkeleton::Private::handle_pause ( const core::dbus::Message::Ptr &  msg)
inline

Definition at line 80 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 94 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 73 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 120 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 130 of file player_skeleton.cpp.

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

Definition at line 87 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 261 of file player_skeleton.cpp.

Member Data Documentation

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

Definition at line 285 of file player_skeleton.cpp.

org::freedesktop::dbus::DBus::Stub media::PlayerSkeleton::Private::dbus_stub

Definition at line 287 of file player_skeleton.cpp.

Referenced by handle_open_uri(), and handle_open_uri_extended().

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

Definition at line 282 of file player_skeleton.cpp.

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

Definition at line 284 of file player_skeleton.cpp.

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

Definition at line 289 of file player_skeleton.cpp.


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