#include <netstats.h>
Classes | |
struct | netstats_t |
Public Types | |
enum | codec_e { NO_CODEC, OGG, THEORA, DIRAC, SNOW, MP3, MPEG4, H264, H263, FLV, VP6, VP7, NO_CODEC, OGG, THEORA, DIRAC, SNOW, MP3, MPEG4, H264, H263, FLV, VP6, VP7 } |
enum | filetypes_e { NO_FILETYPE, HTTP, RTMP, RTMPT, RTMPTS, SWF, SWF6, SWF7, SWF8, SWF9, AUDIO, VIDEO, NO_FILETYPE, HTTP, RTMP, RTMPT, RTMPTS, SWF, SWF6, SWF7, SWF8, SWF9, AUDIO, VIDEO } |
enum | codec_e { NO_CODEC, OGG, THEORA, DIRAC, SNOW, MP3, MPEG4, H264, H263, FLV, VP6, VP7, NO_CODEC, OGG, THEORA, DIRAC, SNOW, MP3, MPEG4, H264, H263, FLV, VP6, VP7 } |
enum | filetypes_e { NO_FILETYPE, HTTP, RTMP, RTMPT, RTMPTS, SWF, SWF6, SWF7, SWF8, SWF9, AUDIO, VIDEO, NO_FILETYPE, HTTP, RTMP, RTMPT, RTMPTS, SWF, SWF6, SWF7, SWF8, SWF9, AUDIO, VIDEO } |
Public Member Functions | |
NetStats () | |
virtual | ~NetStats () |
boost::posix_time::ptime | startClock () |
boost::posix_time::ptime | stopClock () |
void | setStartTime (boost::posix_time::ptime x) |
void | setStopTime (boost::posix_time::ptime x) |
void | setBytes (int x) |
void | setFileType (filetypes_e x) |
int | addBytes (int x) |
int | getBytes () |
filetypes_e | getFileType () |
boost::posix_time::ptime | getStartTime () |
boost::posix_time::ptime | getStopTime () |
boost::posix_time::time_duration | getTimeSpan () |
NetStats & | operator= (NetStats &stats) |
NetStats () | |
virtual | ~NetStats () |
boost::posix_time::ptime | startClock () |
boost::posix_time::ptime | stopClock () |
void | setStartTime (boost::posix_time::ptime x) |
void | setStopTime (boost::posix_time::ptime x) |
void | setBytes (int x) |
void | setFileType (filetypes_e x) |
int | addBytes (int x) |
int | getBytes () |
filetypes_e | getFileType () |
boost::posix_time::ptime | getStartTime () |
boost::posix_time::ptime | getStopTime () |
boost::posix_time::time_duration | getTimeSpan () |
NetStats & | operator= (NetStats &stats) |
gnash::NetStats::NetStats | ( | ) |
gnash::NetStats::~NetStats | ( | ) | [virtual] |
gnash::NetStats::NetStats | ( | ) |
virtual gnash::NetStats::~NetStats | ( | ) | [virtual] |
int gnash::NetStats::addBytes | ( | int | x | ) | [inline] |
Referenced by gnash::DiskStream::play().
int gnash::NetStats::addBytes | ( | int | x | ) | [inline] |
int gnash::NetStats::getBytes | ( | ) | [inline] |
Referenced by gnash::Statistics::addStats(), gnash::Statistics::dump(), gnash::Statistics::getBitRate(), and operator=().
int gnash::NetStats::getBytes | ( | ) | [inline] |
filetypes_e gnash::NetStats::getFileType | ( | ) | [inline] |
Referenced by gnash::Statistics::addStats(), gnash::Statistics::dump(), and operator=().
filetypes_e gnash::NetStats::getFileType | ( | ) | [inline] |
boost::posix_time::ptime gnash::NetStats::getStartTime | ( | ) | [inline] |
Referenced by gnash::Statistics::addStats(), gnash::Statistics::getBitRate(), and operator=().
boost::posix_time::ptime gnash::NetStats::getStartTime | ( | ) | [inline] |
boost::posix_time::ptime gnash::NetStats::getStopTime | ( | ) | [inline] |
Referenced by gnash::Statistics::addStats(), gnash::Statistics::getBitRate(), and operator=().
boost::posix_time::ptime gnash::NetStats::getStopTime | ( | ) | [inline] |
boost::posix_time::time_duration gnash::NetStats::getTimeSpan | ( | ) | [inline] |
Referenced by gnash::Statistics::dump().
boost::posix_time::time_duration gnash::NetStats::getTimeSpan | ( | ) | [inline] |
References getBytes(), getFileType(), getStartTime(), and getStopTime().
void gnash::NetStats::setBytes | ( | int | x | ) | [inline] |
void gnash::NetStats::setBytes | ( | int | x | ) | [inline] |
Referenced by gnash::Statistics::addStats().
void gnash::NetStats::setFileType | ( | filetypes_e | x | ) | [inline] |
void gnash::NetStats::setFileType | ( | filetypes_e | x | ) | [inline] |
Referenced by gnash::Statistics::addStats().
void gnash::NetStats::setStartTime | ( | boost::posix_time::ptime | x | ) | [inline] |
void gnash::NetStats::setStartTime | ( | boost::posix_time::ptime | x | ) | [inline] |
Referenced by gnash::Statistics::addStats().
void gnash::NetStats::setStopTime | ( | boost::posix_time::ptime | x | ) | [inline] |
void gnash::NetStats::setStopTime | ( | boost::posix_time::ptime | x | ) | [inline] |
Referenced by gnash::Statistics::addStats().
boost::posix_time::ptime gnash::NetStats::startClock | ( | ) |
boost::posix_time::ptime gnash::NetStats::startClock | ( | ) |
boost::posix_time::ptime gnash::NetStats::stopClock | ( | ) |
boost::posix_time::ptime gnash::NetStats::stopClock | ( | ) |