#include <transcoders.h>
Inheritance diagram for OpalMediaFormatPair:
Public Member Functions | |
Overrides from PObject | |
void | PrintOn (ostream &strm) const |
virtual Comparison | Compare (const PObject &obj) const |
Operations | |
const OpalMediaFormat & | GetInputFormat () const |
const OpalMediaFormat & | GetOutputFormat () const |
Protected Attributes | |
OpalMediaFormat | inputMediaFormat |
OpalMediaFormat | outputMediaFormat |
OpalMediaFormatPair::OpalMediaFormatPair | ( | const OpalMediaFormat & | inputMediaFormat, | |
const OpalMediaFormat & | outputMediaFormat | |||
) |
Create a new transcoder implementation.
inputMediaFormat | Input media format |
outputMediaFormat | Output media format |
OpalMediaFormatPair::OpalMediaFormatPair | ( | const OpalMediaFormat & | inputMediaFormat, | |
const OpalMediaFormat & | outputMediaFormat | |||
) |
Create a new transcoder implementation.
inputMediaFormat | Input media format |
outputMediaFormat | Output media format |
void OpalMediaFormatPair::PrintOn | ( | ostream & | strm | ) | const |
Standard stream print function. The PObject class has a << operator defined that calls this function polymorphically.
strm | Stream to output text representation |
virtual Comparison OpalMediaFormatPair::Compare | ( | const PObject & | obj | ) | const [virtual] |
Compare the two objects and return their relative rank. This function is usually overridden by descendent classes to yield the ranking according to the semantics of the object.
The default function is to use the CompareObjectMemoryDirect()# function to do a byte wise memory comparison of the two objects.
obj | Object to compare against. |
const OpalMediaFormat& OpalMediaFormatPair::GetInputFormat | ( | ) | const [inline] |
Get the names of the input or output formats.
const OpalMediaFormat& OpalMediaFormatPair::GetOutputFormat | ( | ) | const [inline] |
Get the names of the input or output formats.
OpalMediaFormat OpalMediaFormatPair::inputMediaFormat [protected] |