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
 
struct  Signals
 

Public Member Functions

 Private (media::PlayerSkeleton *player, const dbus::types::ObjectPath &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_playpause (DBusMessage *)
 
void handle_stop (const core::dbus::Message::Ptr &msg)
 
void handle_play (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)
 
std::string get_client_apparmor_context (const core::dbus::Message::Ptr &msg)
 
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)
 

Public Attributes

media::PlayerSkeletonimpl
 
dbus::Object::Ptr object
 
dbus::Object::Ptr apparmor_session
 
struct {
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::CanPlay > >   can_play
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::CanPause > >   can_pause
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::CanSeek > >   can_seek
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::CanControl > >   can_control
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::CanGoNext > >   can_go_next
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::CanGoPrevious > >   can_go_previous
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::IsVideoSource > >   is_video_source
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::IsAudioSource > >   is_audio_source
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::PlaybackStatus > >   playback_status
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::LoopStatus > >   loop_status
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::PlaybackRate > >   playback_rate
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::Shuffle > >   is_shuffle
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::MetaData > >   meta_data_for_current_track
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::Volume > >   volume
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::Position > >   position
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::Duration > >   duration
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::AudioStreamRole > >   audio_role
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::MinimumRate > >   minimum_playback_rate
 
   std::shared_ptr
< core::dbus::Property
< mpris::Player::Properties::MaximumRate > >   maximum_playback_rate
 
properties
 
struct
media::PlayerSkeleton::Private::Signals 
signals
 

Detailed Description

Definition at line 37 of file player_skeleton.cpp.

Constructor & Destructor Documentation

media::PlayerSkeleton::Private::Private ( media::PlayerSkeleton player,
const dbus::types::ObjectPath &  session 
)
inline

Definition at line 39 of file player_skeleton.cpp.

References object, and signals.

Member Function Documentation

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

Definition at line 155 of file player_skeleton.cpp.

Referenced by handle_open_uri().

std::string media::PlayerSkeleton::Private::get_client_apparmor_context ( const core::dbus::Message::Ptr &  msg)
inline

Definition at line 137 of file player_skeleton.cpp.

References apparmor_session.

Referenced by handle_open_uri().

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

Definition at line 127 of file player_skeleton.cpp.

References impl.

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

Definition at line 231 of file player_skeleton.cpp.

References impl.

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

Definition at line 74 of file player_skeleton.cpp.

References impl.

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

Definition at line 238 of file player_skeleton.cpp.

References does_client_have_access(), get_client_apparmor_context(), and impl.

+ Here is the call graph for this function:

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

Definition at line 88 of file player_skeleton.cpp.

References impl.

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

Definition at line 106 of file player_skeleton.cpp.

References impl.

void media::PlayerSkeleton::Private::handle_playpause ( DBusMessage *  )
inline

Definition at line 95 of file player_skeleton.cpp.

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

Definition at line 81 of file player_skeleton.cpp.

References impl.

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

Definition at line 113 of file player_skeleton.cpp.

References impl.

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

Definition at line 123 of file player_skeleton.cpp.

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

Definition at line 99 of file player_skeleton.cpp.

References impl.

Member Data Documentation

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

Definition at line 256 of file player_skeleton.cpp.

Referenced by get_client_apparmor_context().

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::AudioStreamRole> > media::PlayerSkeleton::Private::audio_role

Definition at line 276 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::CanControl> > media::PlayerSkeleton::Private::can_control

Definition at line 262 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::CanGoNext> > media::PlayerSkeleton::Private::can_go_next

Definition at line 263 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::CanGoPrevious> > media::PlayerSkeleton::Private::can_go_previous

Definition at line 264 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::CanPause> > media::PlayerSkeleton::Private::can_pause

Definition at line 260 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::CanPlay> > media::PlayerSkeleton::Private::can_play

Definition at line 259 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::CanSeek> > media::PlayerSkeleton::Private::can_seek

Definition at line 261 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::Duration> > media::PlayerSkeleton::Private::duration

Definition at line 275 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::IsAudioSource> > media::PlayerSkeleton::Private::is_audio_source

Definition at line 266 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::Shuffle> > media::PlayerSkeleton::Private::is_shuffle

Definition at line 271 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::IsVideoSource> > media::PlayerSkeleton::Private::is_video_source

Definition at line 265 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::LoopStatus> > media::PlayerSkeleton::Private::loop_status

Definition at line 269 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::MaximumRate> > media::PlayerSkeleton::Private::maximum_playback_rate

Definition at line 278 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::MetaData> > media::PlayerSkeleton::Private::meta_data_for_current_track

Definition at line 272 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::MinimumRate> > media::PlayerSkeleton::Private::minimum_playback_rate

Definition at line 277 of file player_skeleton.cpp.

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

Definition at line 255 of file player_skeleton.cpp.

Referenced by Private().

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::PlaybackRate> > media::PlayerSkeleton::Private::playback_rate

Definition at line 270 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::PlaybackStatus> > media::PlayerSkeleton::Private::playback_status

Definition at line 268 of file player_skeleton.cpp.

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::Position> > media::PlayerSkeleton::Private::position

Definition at line 274 of file player_skeleton.cpp.

struct { ... } media::PlayerSkeleton::Private::properties
struct media::PlayerSkeleton::Private::Signals media::PlayerSkeleton::Private::signals

Referenced by Private().

std::shared_ptr<core::dbus::Property<mpris::Player::Properties::Volume> > media::PlayerSkeleton::Private::volume

Definition at line 273 of file player_skeleton.cpp.


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