class MediaSegment : public DoubleListElem

Fixed length segment in a multimedia stream

Inheritance:


Public Classes

enum
Whether this is the last segment of the available data

Public Methods

void advance(int size)
Advance the segment by size
int before(const MediaSegment& s)
int datasize()
int end()
int evict_head(int sz)
Return the amount of data evicted
int evict_tail(int sz)
Return the amount of data evicted
int in(const MediaSegment& s)
int is_empty()
int is_last()
int is_pref()
MediaSegment(const MediaSegment& s)
MediaSegment()
MediaSegment(const HttpMediaData& d)
MediaSegment(int start, int end)
int merge(const MediaSegment& s)
Return the overlapping size between the two
MediaSegment* next()
int overlap(const MediaSegment& s)
MediaSegment* prev()
void set_datasize(int d)
void set_end(int d)
void set_last()
void set_pref()
void set_start(int d)
int start()

Public

enum
Whether this is the last segment of the available data

Private Fields

int end_
int flags_
int start_

Inherited from DoubleListElem:


Documentation

Fixed length segment in a multimedia stream
MediaSegment()

MediaSegment(int start, int end)

MediaSegment(const HttpMediaData& d)

MediaSegment(const MediaSegment& s)

int start()

int end()

int datasize()

MediaSegment* next()

MediaSegment* prev()

void set_start(int d)

void set_end(int d)

void set_datasize(int d)

void advance(int size)
Advance the segment by size

int in(const MediaSegment& s)

int before(const MediaSegment& s)

int overlap(const MediaSegment& s)

int merge(const MediaSegment& s)
Return the overlapping size between the two

int evict_tail(int sz)
Return the amount of data evicted

int evict_head(int sz)
Return the amount of data evicted

int is_empty()

enum
Whether this is the last segment of the available data

int is_last()

void set_last()

int is_pref()

void set_pref()

int start_

int end_

int flags_


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de