Native Player
1.0
|
Constant bidirectional iterator through the sequence. More...
#include <media_segment_sequence.h>
Public Member Functions | |
Iterator () | |
Constructs an empty Iterator object. More... | |
Iterator (std::unique_ptr< SequenceIterator > &&) | |
Iterator (const Iterator &other) | |
Constructs a copy of other . More... | |
Iterator (Iterator &&other) | |
~Iterator () | |
Destroys Iterator object. More... | |
Iterator & | operator= (const Iterator &other) |
Assigns other to this Iterator More... | |
Iterator & | operator= (Iterator &&other) |
Iterator & | operator++ () |
Iterator | operator++ (int) |
Iterator & | operator-- () |
Iterator | operator-- (int) |
bool | operator== (const Iterator &) const |
bool | operator!= (const Iterator &) const |
std::unique_ptr< dash::mpd::ISegment > | operator* () const |
double | SegmentDuration (const MediaSegmentSequence *) const |
double | SegmentTimestamp (const MediaSegmentSequence *) const |
Constant bidirectional iterator through the sequence.
For live streams incrementation and decrementation operations might return past-the-end iterator when a segment is either not yet available or no more segments are available.
Definition at line 64 of file media_segment_sequence.h.
MediaSegmentSequence::Iterator::Iterator | ( | ) |
Constructs an empty Iterator
object.
|
explicit |
Constructs an Iterator
object from SequenceIterator
.
MediaSegmentSequence::Iterator::Iterator | ( | const Iterator & | other | ) |
Constructs a copy of other
.
MediaSegmentSequence::Iterator::Iterator | ( | Iterator && | other | ) |
Move-constructs a Iterator
object, making it point at the same object that other
was pointing to.
MediaSegmentSequence::Iterator::~Iterator | ( | ) |
Destroys Iterator
object.
bool MediaSegmentSequence::Iterator::operator!= | ( | const Iterator & | ) | const |
Checks if compared object is different from current object.
std::unique_ptr<dash::mpd::ISegment> MediaSegmentSequence::Iterator::operator* | ( | ) | const |
Iterator& MediaSegmentSequence::Iterator::operator++ | ( | ) |
Advances the iterator by one position.
Iterator MediaSegmentSequence::Iterator::operator++ | ( | int | ) |
Advances the iterator by one position.
Iterator& MediaSegmentSequence::Iterator::operator-- | ( | ) |
Decreases the iterator by one position.
Iterator MediaSegmentSequence::Iterator::operator-- | ( | int | ) |
Decreases the iterator by one position.
Assigns other
to this Iterator
Move-assigns other
to this Iterator
object.
bool MediaSegmentSequence::Iterator::operator== | ( | const Iterator & | ) | const |
Checks if compared object is equal to current object.
double MediaSegmentSequence::Iterator::SegmentDuration | ( | const MediaSegmentSequence * | ) | const |
Provides a segment duration for the given MediaSegmentSequence.
double MediaSegmentSequence::Iterator::SegmentTimestamp | ( | const MediaSegmentSequence * | ) | const |
Provides a segment timestamp for given the MediaSegmentSequence.