#include <rtp.h>
Definition at line 255 of file mythplugins/mythphone/mythphone/rtp.h.
Public Member Functions | |
| TxShaper (int bw, int period, int granularity) | |
| ~TxShaper () | |
| bool | OkToSend () |
| void | Send (int Bytes) |
| void | setMaxBandwidth (int bytesPerSec) |
Private Member Functions | |
| void | flushHistory () |
Private Attributes | |
| int | historySize |
| int * | txHistory |
| int | txGranularity |
| int | txWindowTotal |
| int | maxBandwidth |
| int | itTail |
| int | itHead |
| QTime | timestamp |
| int | timeLastFlush |
| int | timeLastSend |
| bool TxShaper::OkToSend | ( | ) |
| void TxShaper::Send | ( | int | Bytes | ) |
| void TxShaper::setMaxBandwidth | ( | int | bytesPerSec | ) | [inline] |
Definition at line 262 of file mythplugins/mythphone/mythphone/rtp.h.
| void TxShaper::flushHistory | ( | ) | [private] |
int TxShaper::historySize [private] |
Definition at line 266 of file mythplugins/mythphone/mythphone/rtp.h.
Referenced by flushHistory(), Send(), and TxShaper().
int* TxShaper::txHistory [private] |
Definition at line 267 of file mythplugins/mythphone/mythphone/rtp.h.
Referenced by flushHistory(), Send(), TxShaper(), and ~TxShaper().
int TxShaper::txGranularity [private] |
Definition at line 268 of file mythplugins/mythphone/mythphone/rtp.h.
Referenced by flushHistory(), Send(), and TxShaper().
int TxShaper::txWindowTotal [private] |
Definition at line 269 of file mythplugins/mythphone/mythphone/rtp.h.
Referenced by flushHistory(), OkToSend(), Send(), and TxShaper().
int TxShaper::maxBandwidth [private] |
Definition at line 270 of file mythplugins/mythphone/mythphone/rtp.h.
Referenced by OkToSend(), and TxShaper().
int TxShaper::itTail [private] |
Definition at line 271 of file mythplugins/mythphone/mythphone/rtp.h.
Referenced by flushHistory(), and TxShaper().
int TxShaper::itHead [private] |
Definition at line 272 of file mythplugins/mythphone/mythphone/rtp.h.
Referenced by Send(), and TxShaper().
QTime TxShaper::timestamp [private] |
Definition at line 273 of file mythplugins/mythphone/mythphone/rtp.h.
Referenced by flushHistory(), Send(), and TxShaper().
int TxShaper::timeLastFlush [private] |
Definition at line 274 of file mythplugins/mythphone/mythphone/rtp.h.
Referenced by flushHistory(), and TxShaper().
int TxShaper::timeLastSend [private] |
Definition at line 275 of file mythplugins/mythphone/mythphone/rtp.h.
Referenced by Send(), and TxShaper().
1.5.5