live
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | Friends
Medium Class Reference

#include <Media.hh>

Inheritance diagram for Medium:
Inheritance graph
[legend]
Collaboration diagram for Medium:
Collaboration graph
[legend]

Public Member Functions

UsageEnvironmentenvir () const
 
char const * name () const
 
virtual Boolean isSource () const
 
virtual Boolean isSink () const
 
virtual Boolean isRTCPInstance () const
 
virtual Boolean isRTSPClient () const
 
virtual Boolean isRTSPServer () const
 
virtual Boolean isMediaSession () const
 
virtual Boolean isServerMediaSession () const
 

Static Public Member Functions

static Boolean lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium)
 
static void close (UsageEnvironment &env, char const *mediumName)
 
static void close (Medium *medium)
 

Protected Member Functions

 Medium (UsageEnvironment &env)
 
virtual ~Medium ()
 
TaskTokennextTask ()
 

Private Attributes

UsageEnvironmentfEnviron
 
char fMediumName [mediumNameMaxLen]
 
TaskToken fNextTask
 

Friends

class MediaLookupTable
 

Detailed Description

Definition at line 50 of file Media.hh.

Constructor & Destructor Documentation

◆ Medium()

Medium::Medium ( UsageEnvironment env)
protected

◆ ~Medium()

virtual Medium::~Medium ( )
protectedvirtual

Member Function Documentation

◆ close() [1/2]

static void Medium::close ( Medium medium)
static

◆ close() [2/2]

static void Medium::close ( UsageEnvironment env,
char const *  mediumName 
)
static

◆ envir()

UsageEnvironment & Medium::envir ( ) const
inline

Definition at line 59 of file Media.hh.

59{return fEnviron;}
UsageEnvironment & fEnviron
Definition: Media.hh:82

References fEnviron.

Referenced by MediaSubsession::env(), GenericMediaServer::ClientConnection::envir(), GenericMediaServer::ClientSession::envir(), and RTPInterface::envir().

◆ isMediaSession()

virtual Boolean Medium::isMediaSession ( ) const
virtual

Reimplemented in MediaSession.

◆ isRTCPInstance()

virtual Boolean Medium::isRTCPInstance ( ) const
virtual

Reimplemented in RTCPInstance.

◆ isRTSPClient()

virtual Boolean Medium::isRTSPClient ( ) const
virtual

Reimplemented in RTSPClient.

◆ isRTSPServer()

virtual Boolean Medium::isRTSPServer ( ) const
virtual

Reimplemented in RTSPServer.

◆ isServerMediaSession()

virtual Boolean Medium::isServerMediaSession ( ) const
virtual

Reimplemented in ServerMediaSession.

◆ isSink()

virtual Boolean Medium::isSink ( ) const
virtual

Reimplemented in MediaSink.

◆ isSource()

virtual Boolean Medium::isSource ( ) const
virtual

Reimplemented in MediaSource.

◆ lookupByName()

static Boolean Medium::lookupByName ( UsageEnvironment env,
char const *  mediumName,
Medium *&  resultMedium 
)
static

◆ name()

char const * Medium::name ( ) const
inline

Definition at line 61 of file Media.hh.

61{return fMediumName;}
char fMediumName[mediumNameMaxLen]
Definition: Media.hh:83

References fMediumName.

◆ nextTask()

TaskToken & Medium::nextTask ( )
inlineprotected

Definition at line 77 of file Media.hh.

77 {
78 return fNextTask;
79 }
TaskToken fNextTask
Definition: Media.hh:84

References fNextTask.

Friends And Related Function Documentation

◆ MediaLookupTable

friend class MediaLookupTable
friend

Definition at line 73 of file Media.hh.

Field Documentation

◆ fEnviron

UsageEnvironment& Medium::fEnviron
private

Definition at line 82 of file Media.hh.

Referenced by envir().

◆ fMediumName

char Medium::fMediumName[mediumNameMaxLen]
private

Definition at line 83 of file Media.hh.

Referenced by name().

◆ fNextTask

TaskToken Medium::fNextTask
private

Definition at line 84 of file Media.hh.

Referenced by nextTask().


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