OPAL
Version 3.14.3
|
#include <mediafmt.h>
Data Structures | |
struct | H245GenericInfo |
Public Types | |
enum | MergeType { NoMerge, MinMerge, MaxMerge, EqualMerge, NotEqualMerge, AlwaysMerge, CustomMerge, IntersectionMerge, AndMerge = MinMerge, OrMerge = MaxMerge } |
Public Member Functions | |
virtual Comparison | Compare (const PObject &obj) const |
virtual bool | Merge (const OpalMediaOption &option) |
virtual bool | ValidateMerge (const OpalMediaOption &option) const |
virtual Comparison | CompareValue (const OpalMediaOption &option) const =0 |
virtual void | Assign (const OpalMediaOption &option)=0 |
PString | AsString () const |
bool | FromString (const PString &value) |
const PString & | GetName () const |
bool | IsReadOnly () const |
void | SetReadOnly (bool readOnly) |
MergeType | GetMerge () const |
void | SetMerge (MergeType merge) |
const PString & | GetFMTPName () const |
void | SetFMTPName (const char *name) |
const PString & | GetFMTPDefault () const |
void | SetFMTPDefault (const char *value) |
void | SetFMTP (const char *name, const char *dflt) |
const H245GenericInfo & | GetH245Generic () const |
void | SetH245Generic (const H245GenericInfo &genericInfo) |
Protected Member Functions | |
OpalMediaOption (const PString &name) | |
OpalMediaOption (const char *name, bool readOnly, MergeType merge) | |
Protected Attributes | |
PCaselessString | m_name |
bool | m_readOnly |
MergeType | m_merge |
PCaselessString | m_FMTPName |
PString | m_FMTPDefault |
H245GenericInfo | m_H245Generic |
Base class for options attached to an OpalMediaFormat.
|
protected |
|
protected |
|
pure virtual |
Implemented in OpalMediaOptionOctets, OpalMediaOptionString, OpalMediaOptionEnum, and OpalMediaOptionValue< T >.
PString OpalMediaOption::AsString | ( | ) | const |
|
virtual |
|
pure virtual |
Implemented in OpalMediaOptionOctets, OpalMediaOptionString, OpalMediaOptionEnum, and OpalMediaOptionValue< T >.
bool OpalMediaOption::FromString | ( | const PString & | value | ) |
|
inline |
References m_FMTPDefault.
|
inline |
References m_FMTPName.
|
inline |
References m_H245Generic.
|
inline |
References m_name.
|
inline |
References m_readOnly.
|
virtual |
Reimplemented in OpalMediaOptionString, OpalMediaOptionEnum, and OpalMediaOptionValue< T >.
Referenced by OpalMediaOptionValue< T >::Merge().
|
inline |
References m_FMTPDefault, and m_FMTPName.
|
inline |
References m_FMTPDefault.
|
inline |
References m_FMTPName.
|
inline |
References m_H245Generic.
|
inline |
References m_readOnly.
|
virtual |
|
protected |
Referenced by GetFMTPDefault(), SetFMTP(), and SetFMTPDefault().
|
protected |
Referenced by GetFMTPName(), SetFMTP(), and SetFMTPName().
|
protected |
Referenced by GetH245Generic(), and SetH245Generic().
|
protected |
Referenced by GetMerge(), OpalMediaOptionValue< T >::Merge(), and SetMerge().
|
protected |
Referenced by GetName().
|
protected |
Referenced by IsReadOnly(), and SetReadOnly().