OpalMediaType Class Reference

#include <mediatype.h>

List of all members.

Public Types

enum  AutoStartMode {
  DontOffer = -1, OfferInactive, Receive, Transmit,
  ReceiveTransmit, TransmitReceive = ReceiveTransmit
}

Public Member Functions

 OpalMediaType ()
virtual ~OpalMediaType ()
 OpalMediaType (const std::string &str)
 OpalMediaType (const char *str)
 OpalMediaType (const PString &str)
void PrintOn (ostream &strm) const
OpalMediaTypeDefinition * GetDefinition () const
AutoStartMode GetAutoStart () const

Static Public Member Functions

static const OpalMediaType & Audio ()
static const OpalMediaType & Video ()
static const OpalMediaType & Fax ()
static const OpalMediaType & UserInput ()
static OpalMediaTypeDefinition * GetDefinition (const OpalMediaType &key)
static
OpalMediaTypeFactory::KeyList_T 
GetList ()


Detailed Description

Define the type used to hold the media type identifiers, i.e. "audio", "video", "h.224", "fax" etc

Member Enumeration Documentation

Enumerator:
DontOffer 
OfferInactive 
Receive 
Transmit 
ReceiveTransmit 
TransmitReceive 


Constructor & Destructor Documentation

OpalMediaType::OpalMediaType (  )  [inline]

virtual OpalMediaType::~OpalMediaType (  )  [inline, virtual]

OpalMediaType::OpalMediaType ( const std::string &  str  )  [inline]

OpalMediaType::OpalMediaType ( const char *  str  )  [inline]

OpalMediaType::OpalMediaType ( const PString &  str  )  [inline]


Member Function Documentation

static const OpalMediaType& OpalMediaType::Audio (  )  [static]

static const OpalMediaType& OpalMediaType::Video (  )  [static]

static const OpalMediaType& OpalMediaType::Fax (  )  [static]

static const OpalMediaType& OpalMediaType::UserInput (  )  [static]

void OpalMediaType::PrintOn ( ostream &  strm  )  const [inline]

OpalMediaTypeDefinition* OpalMediaType::GetDefinition (  )  const

Referenced by GetAutoStart().

static OpalMediaTypeDefinition* OpalMediaType::GetDefinition ( const OpalMediaType &  key  )  [static]

static OpalMediaTypeFactory::KeyList_T OpalMediaType::GetList (  )  [inline, static]

__inline OpalMediaType::AutoStartMode OpalMediaType::GetAutoStart (  )  const


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

Generated on Fri Dec 11 06:24:15 2009 for OPAL by  doxygen 1.5.6