Music Hub  ..
A session-wide music playback service
mpris::TrackList::Skeleton Struct Reference

#include <track_list.h>

+ Collaboration diagram for mpris::TrackList::Skeleton:

Classes

struct  Configuration
 

Public Member Functions

 Skeleton (const Configuration &configuration)
 
template<typename Property >
void on_property_value_changed (const typename Property::ValueType &value)
 
std::map< std::string, core::dbus::types::Variant > get_all_properties ()
 

Static Public Member Functions

static const std::vector< std::string > & the_empty_list_of_invalidated_properties ()
 

Public Attributes

Configuration configuration
 
struct {
   std::shared_ptr< core::dbus::Property< Properties::Tracks > >   tracks
 
   std::shared_ptr< core::dbus::Property< Properties::CanEditTracks > >   can_edit_tracks
 
properties
 
struct {
   core::dbus::Signal< Signals::TrackListReplaced, Signals::TrackListReplaced::ArgumentType >::Ptr   tracklist_replaced
 
   core::dbus::Signal< Signals::TrackAdded, Signals::TrackAdded::ArgumentType >::Ptr   track_added
 
   core::dbus::Signal< Signals::TrackRemoved, Signals::TrackRemoved::ArgumentType >::Ptr   track_removed
 
   core::dbus::Signal< Signals::TrackChanged, Signals::TrackChanged::ArgumentType >::Ptr   track_changed
 
   core::dbus::Signal< Signals::TrackMetadataChanged, Signals::TrackMetadataChanged::ArgumentType >::Ptr   track_metadata_changed
 
   dbus::Signal< core::dbus::interfaces::Properties::Signals::PropertiesChanged, core::dbus::interfaces::Properties::Signals::PropertiesChanged::ArgumentType >::Ptr   properties_changed
 
signals
 

Detailed Description

Definition at line 106 of file track_list.h.

Constructor & Destructor Documentation

mpris::TrackList::Skeleton::Skeleton ( const Configuration configuration)
inline

Definition at line 126 of file track_list.h.

References mpris::TrackList::Skeleton::Configuration::object.

Member Function Documentation

std::map<std::string, core::dbus::types::Variant> mpris::TrackList::Skeleton::get_all_properties ( )
inline

Definition at line 160 of file track_list.h.

References properties.

template<typename Property >
void mpris::TrackList::Skeleton::on_property_value_changed ( const typename Property::ValueType &  value)
inline

Definition at line 149 of file track_list.h.

References signals, and the_empty_list_of_invalidated_properties().

+ Here is the call graph for this function:

static const std::vector<std::string>& mpris::TrackList::Skeleton::the_empty_list_of_invalidated_properties ( )
inlinestatic

Definition at line 108 of file track_list.h.

Referenced by on_property_value_changed().

Member Data Documentation

std::shared_ptr<core::dbus::Property<Properties::CanEditTracks> > mpris::TrackList::Skeleton::can_edit_tracks

Definition at line 174 of file track_list.h.

Configuration mpris::TrackList::Skeleton::configuration

Definition at line 169 of file track_list.h.

struct { ... } mpris::TrackList::Skeleton::properties
dbus::Signal<core::dbus::interfaces::Properties::Signals::PropertiesChanged, core::dbus::interfaces::Properties::Signals::PropertiesChanged::ArgumentType >::Ptr mpris::TrackList::Skeleton::properties_changed

Definition at line 187 of file track_list.h.

struct { ... } mpris::TrackList::Skeleton::signals
core::dbus::Signal<Signals::TrackAdded, Signals::TrackAdded::ArgumentType>::Ptr mpris::TrackList::Skeleton::track_added

Definition at line 180 of file track_list.h.

core::dbus::Signal<Signals::TrackChanged, Signals::TrackChanged::ArgumentType>::Ptr mpris::TrackList::Skeleton::track_changed

Definition at line 182 of file track_list.h.

core::dbus::Signal<Signals::TrackMetadataChanged, Signals::TrackMetadataChanged::ArgumentType>::Ptr mpris::TrackList::Skeleton::track_metadata_changed

Definition at line 183 of file track_list.h.

core::dbus::Signal<Signals::TrackRemoved, Signals::TrackRemoved::ArgumentType>::Ptr mpris::TrackList::Skeleton::track_removed

Definition at line 181 of file track_list.h.

core::dbus::Signal<Signals::TrackListReplaced, Signals::TrackListReplaced::ArgumentType>::Ptr mpris::TrackList::Skeleton::tracklist_replaced

Definition at line 179 of file track_list.h.

std::shared_ptr<core::dbus::Property<Properties::Tracks> > mpris::TrackList::Skeleton::tracks

Definition at line 173 of file track_list.h.

Referenced by media::TrackListSkeleton::Private::handle_go_to().


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