| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <media-app.h>
Inheritance diagram for MediaSegment:

Public Types | |
| enum | { MS_LAST = 1, MS_PREF = 2 } |
Public Member Functions | |
| MediaSegment () | |
| MediaSegment (int start, int end) | |
| MediaSegment (const HttpMediaData &d) | |
| MediaSegment (const MediaSegment &s) | |
| int | start () const |
| int | end () const |
| int | datasize () const |
| MediaSegment * | next () const |
| MediaSegment * | prev () const |
| void | set_start (int d) |
| void | set_end (int d) |
| void | set_datasize (int d) |
| void | advance (int size) |
| int | in (const MediaSegment &s) const |
| int | before (const MediaSegment &s) const |
| int | overlap (const MediaSegment &s) const |
| int | merge (const MediaSegment &s) |
| int | evict_tail (int sz) |
| int | evict_head (int sz) |
| int | is_empty () const |
| int | is_last () const |
| void | set_last () |
| int | is_pref () const |
| void | set_pref () |
Private Attributes | |
| int | start_ |
| int | end_ |
| int | flags_ |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from DoubleListElem. |
|
|
|
|
|
Reimplemented from DoubleListElem. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|