OPAL  Version 3.14.3
mediatype.h File Reference
#include <opal_config.h>
#include <ptlib/pfactory.h>
#include <ptlib/bitwise_enum.h>
Include dependency graph for mediatype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  OpalMediaTypeList
 
class  OpalMediaType
 
class  OpalMediaType::AutoStartMap
 
class  OpalMediaTypeDefinition
 
class  SimpleMediaType< Type, SessionId >
 
class  OpalRTPAVPMediaDefinition
 
class  OpalAudioMediaDefinition
 
class  OpalVideoMediaDefinition
 
class  OpalPresentationVideoMediaDefinition
 

Macros

#define OPAL_INSTANTIATE_MEDIATYPE2(cls, name)   PFACTORY_CREATE(OpalMediaTypesFactory, cls, name, true)
 
#define OPAL_INSTANTIATE_MEDIATYPE(cls)   OPAL_INSTANTIATE_MEDIATYPE2(cls, cls::Name())
 
#define OPAL_MEDIATYPE(clsBase)
 
#define OPAL_INSTANTIATE_SIMPLE_MEDIATYPE(cls, name,...)
 

Typedefs

typedef PFactory
< OpalMediaTypeDefinition,
OpalMediaType
OpalMediaTypesFactory
 

Functions

__inline ostream & operator<< (ostream &strm, const OpalMediaType &mediaType)
 
ostream & operator<< (ostream &strm, OpalMediaType::AutoStartMode mode)
 

Macro Definition Documentation

#define OPAL_INSTANTIATE_MEDIATYPE (   cls)    OPAL_INSTANTIATE_MEDIATYPE2(cls, cls::Name())
#define OPAL_INSTANTIATE_MEDIATYPE2 (   cls,
  name 
)    PFACTORY_CREATE(OpalMediaTypesFactory, cls, name, true)
#define OPAL_INSTANTIATE_SIMPLE_MEDIATYPE (   cls,
  name,
  ... 
)
Value:
namespace OpalMediaTypeSpace { extern const char cls[] = name; }; \
OPAL_INSTANTIATE_MEDIATYPE(cls) \
#define OPAL_MEDIATYPE (   clsBase)
Value:
OPAL_INSTANTIATE_MEDIATYPE2(clsBase##Definition, clsBase##Definition::Name()); \
const OpalMediaType & clsBase##Type() { static OpalMediaType t(clsBase##Definition::Name()); return t; }

Typedef Documentation

Function Documentation

__inline ostream& operator<< ( ostream &  strm,
const OpalMediaType mediaType 
)
ostream& operator<< ( ostream &  strm,
OpalMediaType::AutoStartMode  mode 
)