live
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
OggFileServerDemux Class Reference

#include <OggFileServerDemux.hh>

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

Public Types

typedef void() onCreationFunc(OggFileServerDemux *newDemux, void *clientData)
 

Public Member Functions

ServerMediaSubsessionnewServerMediaSubsession ()
 
ServerMediaSubsessionnewServerMediaSubsession (u_int32_t &resultTrackNumber)
 
ServerMediaSubsessionnewServerMediaSubsessionByTrackNumber (u_int32_t trackNumber)
 
OggFileourOggFile ()
 
char const * fileName () const
 
FramedSourcenewDemuxedTrack (unsigned clientSessionId, u_int32_t trackNumber)
 
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 void createNew (UsageEnvironment &env, char const *fileName, onCreationFunc *onCreation, void *onCreationClientData)
 
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

TaskTokennextTask ()
 

Private Member Functions

 OggFileServerDemux (UsageEnvironment &env, char const *fileName, onCreationFunc *onCreation, void *onCreationClientData)
 
virtual ~OggFileServerDemux ()
 
void onOggFileCreation (OggFile *newFile)
 
void onDemuxDeletion (OggDemux *demuxBeingDeleted)
 

Static Private Member Functions

static void onOggFileCreation (OggFile *newFile, void *clientData)
 
static void onDemuxDeletion (void *clientData, OggDemux *demuxBeingDeleted)
 

Private Attributes

char const * fFileName
 
onCreationFuncfOnCreation
 
void * fOnCreationClientData
 
OggFilefOurOggFile
 
OggTrackTableIteratorfIter
 
unsigned fLastClientSessionId
 
OggDemuxfLastCreatedDemux
 
UsageEnvironmentfEnviron
 
char fMediumName [mediumNameMaxLen]
 
TaskToken fNextTask
 

Detailed Description

Definition at line 32 of file OggFileServerDemux.hh.

Member Typedef Documentation

◆ onCreationFunc

typedef void() OggFileServerDemux::onCreationFunc(OggFileServerDemux *newDemux, void *clientData)

Definition at line 34 of file OggFileServerDemux.hh.

Constructor & Destructor Documentation

◆ OggFileServerDemux()

OggFileServerDemux::OggFileServerDemux ( UsageEnvironment env,
char const *  fileName,
onCreationFunc onCreation,
void *  onCreationClientData 
)
private

◆ ~OggFileServerDemux()

virtual OggFileServerDemux::~OggFileServerDemux ( )
privatevirtual

Member Function Documentation

◆ close() [1/2]

static void Medium::close ( Medium medium)
staticinherited

◆ close() [2/2]

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

◆ createNew()

static void OggFileServerDemux::createNew ( UsageEnvironment env,
char const *  fileName,
onCreationFunc onCreation,
void *  onCreationClientData 
)
static

◆ envir()

UsageEnvironment& Medium::envir ( ) const
inlineinherited

◆ fileName()

char const* OggFileServerDemux::fileName ( ) const
inline

Definition at line 54 of file OggFileServerDemux.hh.

54 { return fFileName; }

References fFileName.

◆ isMediaSession()

virtual Boolean Medium::isMediaSession ( ) const
virtualinherited

Reimplemented in MediaSession.

◆ isRTCPInstance()

virtual Boolean Medium::isRTCPInstance ( ) const
virtualinherited

Reimplemented in RTCPInstance.

◆ isRTSPClient()

virtual Boolean Medium::isRTSPClient ( ) const
virtualinherited

Reimplemented in RTSPClient.

◆ isRTSPServer()

virtual Boolean Medium::isRTSPServer ( ) const
virtualinherited

Reimplemented in RTSPServer.

◆ isServerMediaSession()

virtual Boolean Medium::isServerMediaSession ( ) const
virtualinherited

Reimplemented in ServerMediaSession.

◆ isSink()

virtual Boolean Medium::isSink ( ) const
virtualinherited

Reimplemented in MediaSink.

◆ isSource()

virtual Boolean Medium::isSource ( ) const
virtualinherited

Reimplemented in MediaSource.

◆ lookupByName()

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

◆ name()

char const* Medium::name ( ) const
inlineinherited

Definition at line 61 of file Media.hh.

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

References Medium::fMediumName.

◆ newDemuxedTrack()

FramedSource* OggFileServerDemux::newDemuxedTrack ( unsigned  clientSessionId,
u_int32_t  trackNumber 
)

◆ newServerMediaSubsession() [1/2]

ServerMediaSubsession* OggFileServerDemux::newServerMediaSubsession ( )

◆ newServerMediaSubsession() [2/2]

ServerMediaSubsession* OggFileServerDemux::newServerMediaSubsession ( u_int32_t &  resultTrackNumber)

◆ newServerMediaSubsessionByTrackNumber()

ServerMediaSubsession* OggFileServerDemux::newServerMediaSubsessionByTrackNumber ( u_int32_t  trackNumber)

◆ nextTask()

TaskToken& Medium::nextTask ( )
inlineprotectedinherited

Definition at line 77 of file Media.hh.

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

References Medium::fNextTask.

◆ onDemuxDeletion() [1/2]

void OggFileServerDemux::onDemuxDeletion ( OggDemux demuxBeingDeleted)
private

◆ onDemuxDeletion() [2/2]

static void OggFileServerDemux::onDemuxDeletion ( void *  clientData,
OggDemux demuxBeingDeleted 
)
staticprivate

◆ onOggFileCreation() [1/2]

void OggFileServerDemux::onOggFileCreation ( OggFile newFile)
private

◆ onOggFileCreation() [2/2]

static void OggFileServerDemux::onOggFileCreation ( OggFile newFile,
void *  clientData 
)
staticprivate

◆ ourOggFile()

OggFile* OggFileServerDemux::ourOggFile ( )
inline

Definition at line 53 of file OggFileServerDemux.hh.

53 { return fOurOggFile; }

References fOurOggFile.

Field Documentation

◆ fEnviron

UsageEnvironment& Medium::fEnviron
privateinherited

Definition at line 82 of file Media.hh.

Referenced by Medium::envir().

◆ fFileName

char const* OggFileServerDemux::fFileName
private

Definition at line 72 of file OggFileServerDemux.hh.

Referenced by fileName().

◆ fIter

OggTrackTableIterator* OggFileServerDemux::fIter
private

Definition at line 78 of file OggFileServerDemux.hh.

◆ fLastClientSessionId

unsigned OggFileServerDemux::fLastClientSessionId
private

Definition at line 81 of file OggFileServerDemux.hh.

◆ fLastCreatedDemux

OggDemux* OggFileServerDemux::fLastCreatedDemux
private

Definition at line 82 of file OggFileServerDemux.hh.

◆ fMediumName

char Medium::fMediumName[mediumNameMaxLen]
privateinherited

Definition at line 83 of file Media.hh.

Referenced by Medium::name().

◆ fNextTask

TaskToken Medium::fNextTask
privateinherited

Definition at line 84 of file Media.hh.

Referenced by Medium::nextTask().

◆ fOnCreation

onCreationFunc* OggFileServerDemux::fOnCreation
private

Definition at line 73 of file OggFileServerDemux.hh.

◆ fOnCreationClientData

void* OggFileServerDemux::fOnCreationClientData
private

Definition at line 74 of file OggFileServerDemux.hh.

◆ fOurOggFile

OggFile* OggFileServerDemux::fOurOggFile
private

Definition at line 75 of file OggFileServerDemux.hh.

Referenced by ourOggFile().


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