OPAL  Version 3.10.10
mediatype.h File Reference
#include <ptbuildopts.h>
#include <ptlib/pfactory.h>
#include <opal/buildopts.h>

Go to the source code of this file.

Data Structures

class  OpalMediaType
 
class  OpalMediaTypeDefinition
 
class  SimpleMediaType< Type, sdp >
 
class  OpalRTPAVPMediaType
 
class  OpalAudioMediaType
 
class  OpalVideoMediaType
 

Macros

#define OPAL_INSTANTIATE_MEDIATYPE2(title, name, cls)
 
#define OPAL_INSTANTIATE_MEDIATYPE(type, cls)   OPAL_INSTANTIATE_MEDIATYPE2(type, #type, cls) \
 
#define OPAL_INSTANTIATE_SIMPLE_MEDIATYPE(type, sdp)
 
#define OPAL_INSTANTIATE_SIMPLE_MEDIATYPE_NO_SDP(type)   OPAL_INSTANTIATE_SIMPLE_MEDIATYPE(type, "")
 

Typedefs

typedef PFactory
< OpalMediaTypeDefinition
OpalMediaTypeFactory
 
typedef
OpalMediaTypeFactory::KeyList_T 
OpalMediaTypeList
 

Functions

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

Macro Definition Documentation

#define OPAL_INSTANTIATE_MEDIATYPE (   type,
  cls 
)    OPAL_INSTANTIATE_MEDIATYPE2(type, #type, cls) \
#define OPAL_INSTANTIATE_MEDIATYPE2 (   title,
  name,
  cls 
)
Value:
namespace OpalMediaTypeSpace { \
static PFactory<OpalMediaTypeDefinition>::Worker<cls> static_##title##_##cls(name, true); \
}; \
#define OPAL_INSTANTIATE_SIMPLE_MEDIATYPE (   type,
  sdp 
)
Value:
namespace OpalMediaTypeSpace { \
char type##_type_string[] = #type; \
char type##_sdp_string[] = #sdp; \
}; \
OPAL_INSTANTIATE_MEDIATYPE(type, type##_MediaType) \
#define OPAL_INSTANTIATE_SIMPLE_MEDIATYPE_NO_SDP (   type)    OPAL_INSTANTIATE_SIMPLE_MEDIATYPE(type, "")

Typedef Documentation

typedef OpalMediaTypeFactory::KeyList_T OpalMediaTypeList

Function Documentation

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