#include <player_skeleton.h>
Inheritance diagram for lomiri::MediaHubService::PlayerSkeleton:
Collaboration diagram for lomiri::MediaHubService::PlayerSkeleton:Classes | |
| struct | Configuration |
Public Types | |
| enum | LoopStatus { None = Player::LoopStatus::none , Track = Player::LoopStatus::track , Playlist = Player::LoopStatus::playlist } |
| typedef QMap< QString, QString > | Headers |
Public Slots | |
| void | Next () |
| void | Previous () |
| void | Pause () |
| void | PlayPause () |
| void | Stop () |
| void | Play () |
| void | Seek (quint64 microSeconds) |
| void | SetPosition (const QDBusObjectPath &trackObject, quint64 microSeconds) |
| void | CreateVideoSink (quint32 textureId) |
| quint32 | Key () const |
| void | OpenUri (const QDBusMessage &) |
| void | OpenUriExtended (const QDBusMessage &) |
Signals | |
| Q_SCRIPTABLE void | Seeked (quint64 microSeconds) |
| Q_SCRIPTABLE void | AboutToFinish () |
| Q_SCRIPTABLE void | EndOfStream () |
| Q_SCRIPTABLE void | PlaybackStatusChanged (qint16 status) |
| Q_SCRIPTABLE void | VideoDimensionChanged (quint32 height, quint32 width) |
| Q_SCRIPTABLE void | Error (qint16 code) |
| Q_SCRIPTABLE void | Buffering (int percent) |
| void | canPlayChanged () |
| void | canPauseChanged () |
| void | canGoPreviousChanged () |
| void | canGoNextChanged () |
| void | isVideoSourceChanged () |
| void | isAudioSourceChanged () |
| void | metadataChanged () |
| void | volumeChanged () |
| void | orientationChanged () |
Public Member Functions | |
| PlayerSkeleton (const Configuration &configuration, QObject *parent=nullptr) | |
| ~PlayerSkeleton () | |
| PlayerImplementation * | player () |
| const PlayerImplementation * | player () const |
| bool | registerAt (const QString &objectPath) |
| bool | canPlay () const |
| bool | canPause () const |
| bool | canSeek () const |
| bool | canGoPrevious () const |
| bool | canGoNext () const |
| bool | isVideoSource () const |
| bool | isAudioSource () const |
| QString | playbackStatus () const |
| void | setLoopStatus (const QString &status) |
| QString | loopStatus () const |
| void | setTypedLoopStatus (qint16 status) |
| qint16 | typedLoopStatus () const |
| void | setPlaybackRate (double rate) |
| double | playbackRate () const |
| void | setShuffle (bool shuffle) |
| bool | shuffle () const |
| QVariantMap | metadata () const |
| void | setVolume (double volume) |
| double | volume () const |
| double | minimumRate () const |
| double | maximumRate () const |
| qint64 | position () const |
| qint64 | duration () const |
| qint16 | backend () const |
| qint16 | orientation () const |
| qint16 | lifetime () const |
| void | setAudioStreamRole (qint16 role) |
| qint16 | audioStreamRole () const |
Properties | |
| bool | CanPlay |
| bool | CanPause |
| bool | CanSeek |
| bool | CanGoPrevious |
| bool | CanGoNext |
| bool | IsVideoSource |
| bool | IsAudioSource |
| QString | PlaybackStatus |
| QString | LoopStatus |
| double | PlaybackRate |
| bool | Shuffle |
| QVariantMap | Metadata |
| double | Volume |
| double | MinimumRate |
| double | MaximumRate |
| qint64 | Position |
| qint64 | Duration |
| qint16 | TypedBackend |
| qint16 | Orientation |
| qint16 | Lifetime |
| qint16 | AudioStreamRole |
| qint16 | TypedLoopStatus |
Definition at line 48 of file player_skeleton.h.
| typedef QMap<QString,QString> lomiri::MediaHubService::PlayerSkeleton::Headers |
Definition at line 82 of file player_skeleton.h.
| Enumerator | |
|---|---|
| None | |
| Track | |
| Playlist | |
Definition at line 84 of file player_skeleton.h.
| PlayerSkeleton::PlayerSkeleton | ( | const Configuration & | configuration, |
| QObject * | parent = nullptr |
||
| ) |
Definition at line 216 of file player_skeleton.cpp.
|
default |
|
signal |
| qint16 PlayerSkeleton::audioStreamRole | ( | ) | const |
Definition at line 400 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::audioStreamRole(), and player().
Here is the call graph for this function:| qint16 PlayerSkeleton::backend | ( | ) | const |
Definition at line 380 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::backend(), and player().
Here is the call graph for this function:
|
signal |
| bool PlayerSkeleton::canGoNext | ( | ) | const |
Definition at line 268 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::canGoNext(), and player().
Here is the call graph for this function:
|
signal |
| bool PlayerSkeleton::canGoPrevious | ( | ) | const |
Definition at line 263 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::canGoPrevious(), and player().
Here is the call graph for this function:
|
signal |
| bool PlayerSkeleton::canPause | ( | ) | const |
Definition at line 253 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::canPause(), and player().
Here is the call graph for this function:
|
signal |
| bool PlayerSkeleton::canPlay | ( | ) | const |
Definition at line 248 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::canPlay(), and player().
Here is the call graph for this function:
|
signal |
| bool PlayerSkeleton::canSeek | ( | ) | const |
Definition at line 258 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::canSeek(), and player().
Here is the call graph for this function:
|
slot |
Definition at line 463 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::create_gl_texture_video_sink(), mpris::Player::Error::OutOfProcessBufferStreamingNotSupported::name, and player().
Here is the call graph for this function:| qint64 PlayerSkeleton::duration | ( | ) | const |
Definition at line 375 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::duration(), and player().
Here is the call graph for this function:
|
signal |
|
signal |
| bool PlayerSkeleton::isAudioSource | ( | ) | const |
Definition at line 278 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::isAudioSource(), and player().
Here is the call graph for this function:
|
signal |
| bool PlayerSkeleton::isVideoSource | ( | ) | const |
Definition at line 273 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::isVideoSource(), and player().
Here is the call graph for this function:
|
signal |
|
slot |
Definition at line 483 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::key(), and player().
Here is the call graph for this function:| qint16 PlayerSkeleton::lifetime | ( | ) | const |
Definition at line 390 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::lifetime(), and player().
Here is the call graph for this function:| QString PlayerSkeleton::loopStatus | ( | ) | const |
Definition at line 309 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::loopStatus(), and player().
Here is the call graph for this function:| double PlayerSkeleton::maximumRate | ( | ) | const |
Definition at line 365 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::maximumRate(), and player().
Here is the call graph for this function:| QVariantMap PlayerSkeleton::metadata | ( | ) | const |
Definition at line 345 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::metadataForCurrentTrack(), and player().
Here is the call graph for this function:
|
signal |
| double PlayerSkeleton::minimumRate | ( | ) | const |
Definition at line 360 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::minimumRate(), and player().
Here is the call graph for this function:
|
slot |
Definition at line 405 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::next(), and player().
Here is the call graph for this function:
|
slot |
Definition at line 488 of file player_skeleton.cpp.
References lomiri::MediaHubService::OnlyUri.
|
slot |
Definition at line 494 of file player_skeleton.cpp.
References lomiri::MediaHubService::UriWithHeaders.
| qint16 PlayerSkeleton::orientation | ( | ) | const |
Definition at line 385 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::orientation(), and player().
Here is the call graph for this function:
|
signal |
|
slot |
Definition at line 415 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::pause(), and player().
Here is the call graph for this function:
|
slot |
Definition at line 444 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::play(), PlaybackStatusChanged(), player(), and lomiri::MediaHubService::Player::playing.
Here is the call graph for this function:| double PlayerSkeleton::playbackRate | ( | ) | const |
Definition at line 330 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::playbackRate(), and player().
Here is the call graph for this function:| QString PlayerSkeleton::playbackStatus | ( | ) | const |
Definition at line 283 of file player_skeleton.cpp.
References lomiri::MediaHubService::Player::paused, lomiri::MediaHubService::PlayerImplementation::playbackStatus(), player(), lomiri::MediaHubService::Player::playing, and lomiri::MediaHubService::Player::ready.
Here is the call graph for this function:
|
signal |
Referenced by Play(), and lomiri::MediaHubService::PlayerSkeletonPrivate::PlayerSkeletonPrivate().
| PlayerImplementation * PlayerSkeleton::player | ( | ) |
Definition at line 225 of file player_skeleton.cpp.
Referenced by audioStreamRole(), backend(), canGoNext(), canGoPrevious(), canPause(), canPlay(), canSeek(), CreateVideoSink(), duration(), isAudioSource(), isVideoSource(), Key(), lifetime(), loopStatus(), maximumRate(), metadata(), minimumRate(), Next(), orientation(), Pause(), Play(), playbackRate(), playbackStatus(), PlayPause(), position(), Previous(), Seek(), setAudioStreamRole(), setLoopStatus(), setPlaybackRate(), setShuffle(), setTypedLoopStatus(), setVolume(), shuffle(), Stop(), typedLoopStatus(), and volume().
| const PlayerImplementation * PlayerSkeleton::player | ( | ) | const |
Definition at line 230 of file player_skeleton.cpp.
|
slot |
Definition at line 420 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::pause(), lomiri::MediaHubService::Player::paused, lomiri::MediaHubService::PlayerImplementation::play(), lomiri::MediaHubService::PlayerImplementation::playbackStatus(), player(), lomiri::MediaHubService::Player::playing, lomiri::MediaHubService::Player::ready, and lomiri::MediaHubService::Player::stopped.
Here is the call graph for this function:| qint64 PlayerSkeleton::position | ( | ) | const |
Definition at line 370 of file player_skeleton.cpp.
References player(), and lomiri::MediaHubService::PlayerImplementation::position().
Here is the call graph for this function:
|
slot |
Definition at line 410 of file player_skeleton.cpp.
References player(), and lomiri::MediaHubService::PlayerImplementation::previous().
Here is the call graph for this function:| bool PlayerSkeleton::registerAt | ( | const QString & | objectPath | ) |
Definition at line 235 of file player_skeleton.cpp.
|
slot |
Definition at line 453 of file player_skeleton.cpp.
References player(), and lomiri::MediaHubService::PlayerImplementation::seek_to().
Here is the call graph for this function:
|
signal |
| void PlayerSkeleton::setAudioStreamRole | ( | qint16 | role | ) |
Definition at line 395 of file player_skeleton.cpp.
References player(), and lomiri::MediaHubService::PlayerImplementation::setAudioStreamRole().
Here is the call graph for this function:| void PlayerSkeleton::setLoopStatus | ( | const QString & | status | ) |
Definition at line 297 of file player_skeleton.cpp.
References MH_ERROR, player(), and lomiri::MediaHubService::PlayerImplementation::setLoopStatus().
Here is the call graph for this function:| void PlayerSkeleton::setPlaybackRate | ( | double | rate | ) |
Definition at line 325 of file player_skeleton.cpp.
References player(), and lomiri::MediaHubService::PlayerImplementation::setPlaybackRate().
Here is the call graph for this function:
|
slot |
Definition at line 458 of file player_skeleton.cpp.
| void PlayerSkeleton::setShuffle | ( | bool | shuffle | ) |
Definition at line 335 of file player_skeleton.cpp.
References player(), lomiri::MediaHubService::PlayerImplementation::setShuffle(), and shuffle().
Here is the call graph for this function:| void PlayerSkeleton::setTypedLoopStatus | ( | qint16 | status | ) |
Definition at line 315 of file player_skeleton.cpp.
References player(), and lomiri::MediaHubService::PlayerImplementation::setLoopStatus().
Here is the call graph for this function:| void PlayerSkeleton::setVolume | ( | double | volume | ) |
Definition at line 350 of file player_skeleton.cpp.
References player(), lomiri::MediaHubService::PlayerImplementation::setVolume(), and volume().
Here is the call graph for this function:| bool PlayerSkeleton::shuffle | ( | ) | const |
Definition at line 340 of file player_skeleton.cpp.
References player(), and lomiri::MediaHubService::PlayerImplementation::shuffle().
Referenced by setShuffle().
Here is the call graph for this function:
|
slot |
Definition at line 439 of file player_skeleton.cpp.
References player(), and lomiri::MediaHubService::PlayerImplementation::stop().
Here is the call graph for this function:| qint16 PlayerSkeleton::typedLoopStatus | ( | ) | const |
Definition at line 320 of file player_skeleton.cpp.
References lomiri::MediaHubService::PlayerImplementation::loopStatus(), and player().
Here is the call graph for this function:
|
signal |
| double PlayerSkeleton::volume | ( | ) | const |
Definition at line 355 of file player_skeleton.cpp.
References player(), and lomiri::MediaHubService::PlayerImplementation::volume().
Referenced by setVolume().
Here is the call graph for this function:
|
signal |
|
readwrite |
Definition at line 76 of file player_skeleton.h.
|
read |
Definition at line 57 of file player_skeleton.h.
|
read |
Definition at line 55 of file player_skeleton.h.
|
read |
Definition at line 53 of file player_skeleton.h.
|
read |
Definition at line 52 of file player_skeleton.h.
|
read |
Definition at line 54 of file player_skeleton.h.
|
read |
Definition at line 72 of file player_skeleton.h.
|
read |
Definition at line 60 of file player_skeleton.h.
|
read |
Definition at line 58 of file player_skeleton.h.
|
read |
Definition at line 75 of file player_skeleton.h.
|
readwrite |
Definition at line 64 of file player_skeleton.h.
|
read |
Definition at line 70 of file player_skeleton.h.
|
read |
Definition at line 67 of file player_skeleton.h.
|
read |
Definition at line 69 of file player_skeleton.h.
|
read |
Definition at line 74 of file player_skeleton.h.
|
readwrite |
Definition at line 65 of file player_skeleton.h.
|
read |
Definition at line 62 of file player_skeleton.h.
|
read |
Definition at line 71 of file player_skeleton.h.
|
readwrite |
Definition at line 66 of file player_skeleton.h.
|
read |
Definition at line 73 of file player_skeleton.h.
|
readwrite |
Definition at line 78 of file player_skeleton.h.
|
readwrite |
Definition at line 68 of file player_skeleton.h.