OPAL  Version 3.10.4
OpalMediaOptionNumericalValue< T > Class Template Reference

#include <mediafmt.h>

Inheritance diagram for OpalMediaOptionNumericalValue< T >:
OpalMediaOptionValue< T > OpalMediaOption

Public Member Functions

 OpalMediaOptionNumericalValue (const char *name, bool readOnly, OpalMediaOption::MergeType merge=OpalMediaOption::MinMerge, T value=0, T minimum=std::numeric_limits< T >::min(), T maximum=std::numeric_limits< T >::max())
virtual PObject * Clone () const
virtual void ReadFrom (istream &strm)
void SetValue (T value)
void SetMinimum (T m)
void SetMaximum (T m)
- Public Member Functions inherited from OpalMediaOptionValue< T >
 OpalMediaOptionValue (const char *name, bool readOnly, OpalMediaOption::MergeType merge=OpalMediaOption::MinMerge, T value=T())
virtual void PrintOn (ostream &strm) const
virtual bool Merge (const OpalMediaOption &option)
virtual Comparison CompareValue (const OpalMediaOption &option) const
virtual void Assign (const OpalMediaOption &option)
GetValue () const
- Public Member Functions inherited from OpalMediaOption
virtual Comparison Compare (const PObject &obj) const
virtual bool ValidateMerge (const OpalMediaOption &option) const
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)
const H245GenericInfoGetH245Generic () const
void SetH245Generic (const H245GenericInfo &genericInfo)

Protected Attributes

m_minimum
m_maximum
- Protected Attributes inherited from OpalMediaOptionValue< T >
m_value
- Protected Attributes inherited from OpalMediaOption
PCaselessString m_name
bool m_readOnly
MergeType m_merge
PCaselessString m_FMTPName
PString m_FMTPDefault
H245GenericInfo m_H245Generic

Additional Inherited Members

- Public Types inherited from OpalMediaOption
enum  MergeType {
  NoMerge, MinMerge, MaxMerge, EqualMerge,
  NotEqualMerge, AlwaysMerge, CustomMerge, IntersectionMerge,
  AndMerge = MinMerge, OrMerge = MaxMerge
}
- Protected Member Functions inherited from OpalMediaOption
 OpalMediaOption (const PString &name)
 OpalMediaOption (const char *name, bool readOnly, MergeType merge)

Constructor & Destructor Documentation

template<typename T >
OpalMediaOptionNumericalValue< T >::OpalMediaOptionNumericalValue ( const char *  name,
bool  readOnly,
OpalMediaOption::MergeType  merge = OpalMediaOption::MinMerge,
value = 0,
minimum = std::numeric_limits<T>::min(),
maximum = std::numeric_limits<T>::max() 
)
inline

Member Function Documentation

template<typename T >
virtual PObject* OpalMediaOptionNumericalValue< T >::Clone ( ) const
inlinevirtual
template<typename T >
virtual void OpalMediaOptionNumericalValue< T >::ReadFrom ( istream &  strm)
inlinevirtual
template<typename T >
void OpalMediaOptionNumericalValue< T >::SetMaximum ( m)
inline
template<typename T >
void OpalMediaOptionNumericalValue< T >::SetMinimum ( m)
inline

Field Documentation


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