OPAL
Version 3.18.8
|
#include <mediafmt.h>
Inherits PObject.
Public Types | |
enum | Direction { Rx = 1, Tx, RxTx, TxRx = RxTx } |
typedef unsigned | int_type |
Public Member Functions | |
__inline | OpalBandwidth (int_type bps=0) |
__inline OpalBandwidth & | operator= (int_type bps) |
__inline | operator int_type () const |
OpalBandwidth (const PString &str) | |
__inline OpalBandwidth | operator+ (const OpalBandwidth &bw) const |
__inline OpalBandwidth | operator- (const OpalBandwidth &bw) const |
__inline OpalBandwidth & | operator+= (const OpalBandwidth &bw) |
__inline OpalBandwidth & | operator-= (const OpalBandwidth &bw) |
__inline OpalBandwidth & | operator&= (const OpalBandwidth &bw) |
virtual Comparison | Compare (const PObject &other) const |
virtual void | PrintOn (std::ostream &strm) const |
virtual void | ReadFrom (std::istream &strm) |
OpalBandwidth (const H225_BandWidth &bw) | |
OpalBandwidth & | operator= (const H225_BandWidth &bw) |
void | SetH225 (H225_BandWidth &bw) const |
void | SetH245 (PASN_Integer &bitRate) const |
void | FromH245 (const PASN_Integer &bitRate) |
unsigned | kbps () const |
Static Public Member Functions | |
static OpalBandwidth | Max () |
Protected Attributes | |
int_type | m_bps |
Friends | |
std::ostream & | operator<< (std::ostream &strm, OpalBandwidth::Direction dir) |
Type for bandwidth (bitrate) specification. Currently 32 bit unsigned, but could be set to 64 bit if we ever need more than 4Gb/s
typedef unsigned OpalBandwidth::int_type |
|
inline |
Referenced by Max(), operator+(), and operator-().
OpalBandwidth::OpalBandwidth | ( | const PString & | str | ) |
OpalBandwidth::OpalBandwidth | ( | const H225_BandWidth & | bw | ) |
|
virtual |
void OpalBandwidth::FromH245 | ( | const PASN_Integer & | bitRate | ) |
|
inline |
References m_bps.
|
inlinestatic |
References OpalBandwidth().
|
inline |
References m_bps.
|
inline |
References m_bps, and OpalBandwidth().
|
inline |
References m_bps.
|
inline |
References m_bps, and OpalBandwidth().
|
inline |
References m_bps.
|
inline |
References m_bps.
OpalBandwidth& OpalBandwidth::operator= | ( | const H225_BandWidth & | bw | ) |
|
virtual |
|
virtual |
void OpalBandwidth::SetH225 | ( | H225_BandWidth & | bw | ) | const |
void OpalBandwidth::SetH245 | ( | PASN_Integer & | bitRate | ) | const |
|
friend |
|
protected |
Referenced by kbps(), operator int_type(), operator&=(), operator+(), operator+=(), operator-(), operator-=(), and operator=().