Classes | Public Types | Public Member Functions

gnash::NetStats Class Reference

#include <netstats.h>

Inheritance diagram for gnash::NetStats:
Inheritance graph
[legend]

List of all members.

Classes

struct  netstats_t

Public Types

enum  codec_e {
  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
}

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 ()
NetStatsoperator= (NetStats &stats)

Member Enumeration Documentation

Enumerator:
NO_CODEC 
OGG 
THEORA 
DIRAC 
SNOW 
MP3 
MPEG4 
H264 
H263 
FLV 
VP6 
VP7 
Enumerator:
NO_FILETYPE 
HTTP 
RTMP 
RTMPT 
RTMPTS 
SWF 
SWF6 
SWF7 
SWF8 
SWF9 
AUDIO 
VIDEO 

Constructor & Destructor Documentation

gnash::NetStats::NetStats (  ) 
gnash::NetStats::~NetStats (  )  [virtual]

Member Function Documentation

int gnash::NetStats::addBytes ( int  x  )  [inline]

Referenced by gnash::DiskStream::play().

int gnash::NetStats::getBytes (  )  [inline]
filetypes_e gnash::NetStats::getFileType (  )  [inline]
boost::posix_time::ptime gnash::NetStats::getStartTime (  )  [inline]
boost::posix_time::ptime gnash::NetStats::getStopTime (  )  [inline]
boost::posix_time::time_duration gnash::NetStats::getTimeSpan (  )  [inline]

Referenced by gnash::Statistics::dump().

NetStats & gnash::NetStats::operator= ( NetStats stats  ) 
void gnash::NetStats::setBytes ( int  x  )  [inline]
void gnash::NetStats::setFileType ( filetypes_e  x  )  [inline]
void gnash::NetStats::setStartTime ( boost::posix_time::ptime  x  )  [inline]
void gnash::NetStats::setStopTime ( boost::posix_time::ptime  x  )  [inline]
boost::posix_time::ptime gnash::NetStats::startClock (  ) 
boost::posix_time::ptime gnash::NetStats::stopClock (  ) 

The documentation for this class was generated from the following files: