#include <player.h>
Classes | |
struct | Configuration |
Public Member Functions | |
Skeleton (const Configuration &configuration) | |
template<typename Property > | |
void | on_property_value_changed (const typename Property::ValueType &value) |
Dictionary | 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::CanPlay > > can_play | |
std::shared_ptr< core::dbus::Property< Properties::CanPause > > can_pause | |
std::shared_ptr< core::dbus::Property< Properties::CanSeek > > can_seek | |
std::shared_ptr< core::dbus::Property< Properties::CanControl > > can_control | |
std::shared_ptr< core::dbus::Property< Properties::CanGoNext > > can_go_next | |
std::shared_ptr< core::dbus::Property< Properties::CanGoPrevious > > can_go_previous | |
std::shared_ptr< core::dbus::Property< Properties::IsVideoSource > > is_video_source | |
std::shared_ptr< core::dbus::Property< Properties::IsAudioSource > > is_audio_source | |
std::shared_ptr< core::dbus::Property< Properties::PlaybackStatus > > playback_status | |
std::shared_ptr< core::dbus::Property< Properties::TypedPlaybackStatus > > typed_playback_status | |
std::shared_ptr< core::dbus::Property< Properties::LoopStatus > > loop_status | |
std::shared_ptr< core::dbus::Property< Properties::TypedLoopStatus > > typed_loop_status | |
std::shared_ptr< core::dbus::Property< Properties::AudioStreamRole > > audio_stream_role | |
std::shared_ptr< core::dbus::Property< Properties::Orientation > > orientation | |
std::shared_ptr< core::dbus::Property< Properties::Lifetime > > lifetime | |
std::shared_ptr< core::dbus::Property< Properties::PlaybackRate > > playback_rate | |
std::shared_ptr< core::dbus::Property< Properties::Shuffle > > shuffle | |
std::shared_ptr< core::dbus::Property< Properties::TypedMetaData > > typed_meta_data_for_current_track | |
std::shared_ptr< core::dbus::Property< Properties::Volume > > volume | |
std::shared_ptr< core::dbus::Property< Properties::Position > > position | |
std::shared_ptr< core::dbus::Property< Properties::Duration > > duration | |
std::shared_ptr< core::dbus::Property< Properties::MinimumRate > > minimum_playback_rate | |
std::shared_ptr< core::dbus::Property< Properties::MaximumRate > > maximum_playback_rate | |
} | properties |
struct { | |
core::dbus::Signal< Signals::Seeked, Signals::Seeked::ArgumentType >::Ptr seeked_to | |
core::dbus::Signal< Signals::AboutToFinish, Signals::AboutToFinish::ArgumentType >::Ptr about_to_finish | |
core::dbus::Signal< Signals::EndOfStream, Signals::EndOfStream::ArgumentType >::Ptr end_of_stream | |
core::dbus::Signal< Signals::PlaybackStatusChanged, Signals::PlaybackStatusChanged::ArgumentType >::Ptr playback_status_changed | |
core::dbus::Signal< Signals::VideoDimensionChanged, Signals::VideoDimensionChanged::ArgumentType >::Ptr video_dimension_changed | |
core::dbus::Signal< Signals::Error, Signals::Error::ArgumentType >::Ptr error | |
dbus::Signal< core::dbus::interfaces::Properties::Signals::PropertiesChanged, core::dbus::interfaces::Properties::Signals::PropertiesChanged::ArgumentType >::Ptr properties_changed | |
} | signals |
|
inline |
Definition at line 219 of file player.h.
References mpris::Player::Skeleton::Configuration::Defaults::can_control, mpris::Player::Skeleton::Configuration::Defaults::can_go_next, mpris::Player::Skeleton::Configuration::Defaults::can_go_previous, mpris::Player::Skeleton::Configuration::Defaults::can_pause, mpris::Player::Skeleton::Configuration::Defaults::can_play, mpris::Player::Skeleton::Configuration::Defaults::can_seek, mpris::Player::Skeleton::Configuration::defaults, mpris::Player::Skeleton::Configuration::Defaults::duration, duration, mpris::Player::Skeleton::Configuration::Defaults::is_audio_source, mpris::Player::Skeleton::Configuration::Defaults::is_video_source, mpris::Player::Skeleton::Configuration::Defaults::loop_status, mpris::Player::Skeleton::Configuration::Defaults::maximum_rate, mpris::Player::Skeleton::Configuration::Defaults::minimum_rate, mpris::Player::Skeleton::Configuration::object, mpris::Player::Skeleton::Configuration::Defaults::playback_rate, mpris::Player::Skeleton::Configuration::Defaults::playback_status, mpris::Player::Skeleton::Configuration::Defaults::position, position, properties, mpris::Player::Skeleton::Configuration::Defaults::shuffle, shuffle, signals, mpris::Player::Skeleton::Configuration::Defaults::typed_loop_status, and mpris::Player::Skeleton::Configuration::Defaults::typed_playback_status.
|
inline |
Definition at line 323 of file player.h.
References properties.
|
inline |
Definition at line 313 of file player.h.
References signals, and the_empty_list_of_invalidated_properties().
|
inlinestatic |
Definition at line 179 of file player.h.
Referenced by on_property_value_changed().
core::dbus::Signal<Signals::AboutToFinish, Signals::AboutToFinish::ArgumentType>::Ptr mpris::Player::Skeleton::about_to_finish |
std::shared_ptr<core::dbus::Property<Properties::AudioStreamRole> > mpris::Player::Skeleton::audio_stream_role |
std::shared_ptr<core::dbus::Property<Properties::CanControl> > mpris::Player::Skeleton::can_control |
Definition at line 357 of file player.h.
Referenced by media::ServiceSkeleton::Private::Exported::set_current_player(), and media::ServiceSkeleton::Private::Exported::unset_current_player().
std::shared_ptr<core::dbus::Property<Properties::CanGoNext> > mpris::Player::Skeleton::can_go_next |
std::shared_ptr<core::dbus::Property<Properties::CanGoPrevious> > mpris::Player::Skeleton::can_go_previous |
std::shared_ptr<core::dbus::Property<Properties::CanPause> > mpris::Player::Skeleton::can_pause |
std::shared_ptr<core::dbus::Property<Properties::CanPlay> > mpris::Player::Skeleton::can_play |
std::shared_ptr<core::dbus::Property<Properties::CanSeek> > mpris::Player::Skeleton::can_seek |
Configuration mpris::Player::Skeleton::configuration |
std::shared_ptr<core::dbus::Property<Properties::Duration> > mpris::Player::Skeleton::duration |
Definition at line 375 of file player.h.
Referenced by media::ServiceSkeleton::Private::Exported::set_current_player(), and Skeleton().
core::dbus::Signal<Signals::EndOfStream, Signals::EndOfStream::ArgumentType>::Ptr mpris::Player::Skeleton::end_of_stream |
core::dbus::Signal<Signals::Error, Signals::Error::ArgumentType>::Ptr mpris::Player::Skeleton::error |
std::shared_ptr<core::dbus::Property<Properties::IsAudioSource> > mpris::Player::Skeleton::is_audio_source |
std::shared_ptr<core::dbus::Property<Properties::IsVideoSource> > mpris::Player::Skeleton::is_video_source |
std::shared_ptr<core::dbus::Property<Properties::Lifetime> > mpris::Player::Skeleton::lifetime |
std::shared_ptr<core::dbus::Property<Properties::LoopStatus> > mpris::Player::Skeleton::loop_status |
Definition at line 365 of file player.h.
Referenced by media::ServiceSkeleton::Private::Exported::set_current_player().
std::shared_ptr<core::dbus::Property<Properties::MaximumRate> > mpris::Player::Skeleton::maximum_playback_rate |
std::shared_ptr<core::dbus::Property<Properties::MinimumRate> > mpris::Player::Skeleton::minimum_playback_rate |
std::shared_ptr<core::dbus::Property<Properties::Orientation> > mpris::Player::Skeleton::orientation |
std::shared_ptr<core::dbus::Property<Properties::PlaybackRate> > mpris::Player::Skeleton::playback_rate |
std::shared_ptr<core::dbus::Property<Properties::PlaybackStatus> > mpris::Player::Skeleton::playback_status |
Definition at line 363 of file player.h.
Referenced by media::ServiceSkeleton::Private::Exported::set_current_player().
core::dbus::Signal<Signals::PlaybackStatusChanged, Signals::PlaybackStatusChanged::ArgumentType>::Ptr mpris::Player::Skeleton::playback_status_changed |
std::shared_ptr<core::dbus::Property<Properties::Position> > mpris::Player::Skeleton::position |
Definition at line 374 of file player.h.
Referenced by media::ServiceSkeleton::Private::Exported::set_current_player(), and Skeleton().
struct { ... } mpris::Player::Skeleton::properties |
dbus::Signal< core::dbus::interfaces::Properties::Signals::PropertiesChanged, core::dbus::interfaces::Properties::Signals::PropertiesChanged::ArgumentType >::Ptr mpris::Player::Skeleton::properties_changed |
Definition at line 393 of file player.h.
Referenced by media::ServiceSkeleton::Private::Exported::set_current_player().
core::dbus::Signal<Signals::Seeked, Signals::Seeked::ArgumentType>::Ptr mpris::Player::Skeleton::seeked_to |
Definition at line 382 of file player.h.
Referenced by media::ServiceSkeleton::Private::Exported::set_current_player().
std::shared_ptr<core::dbus::Property<Properties::Shuffle> > mpris::Player::Skeleton::shuffle |
Definition at line 371 of file player.h.
Referenced by Skeleton().
struct { ... } mpris::Player::Skeleton::signals |
std::shared_ptr<core::dbus::Property<Properties::TypedLoopStatus> > mpris::Player::Skeleton::typed_loop_status |
std::shared_ptr<core::dbus::Property<Properties::TypedMetaData> > mpris::Player::Skeleton::typed_meta_data_for_current_track |
std::shared_ptr<core::dbus::Property<Properties::TypedPlaybackStatus> > mpris::Player::Skeleton::typed_playback_status |
core::dbus::Signal<Signals::VideoDimensionChanged, Signals::VideoDimensionChanged::ArgumentType>::Ptr mpris::Player::Skeleton::video_dimension_changed |
std::shared_ptr<core::dbus::Property<Properties::Volume> > mpris::Player::Skeleton::volume |