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

#include <Media.hh>

Collaboration diagram for MediaLookupTable:
Collaboration graph
[legend]

Public Member Functions

HashTable const & getTable ()
 

Static Public Member Functions

static MediaLookupTableourMedia (UsageEnvironment &env)
 

Protected Member Functions

 MediaLookupTable (UsageEnvironment &env)
 
virtual ~MediaLookupTable ()
 

Private Member Functions

Mediumlookup (char const *name) const
 
void addNew (Medium *medium, char *mediumName)
 
void remove (char const *name)
 
void generateNewName (char *mediumName, unsigned maxLen)
 

Private Attributes

UsageEnvironmentfEnv
 
HashTablefTable
 
unsigned fNameGenerator
 

Friends

class Medium
 

Detailed Description

Definition at line 91 of file Media.hh.

Constructor & Destructor Documentation

◆ MediaLookupTable()

MediaLookupTable::MediaLookupTable ( UsageEnvironment env)
protected

◆ ~MediaLookupTable()

virtual MediaLookupTable::~MediaLookupTable ( )
protectedvirtual

Member Function Documentation

◆ addNew()

void MediaLookupTable::addNew ( Medium medium,
char *  mediumName 
)
private

◆ generateNewName()

void MediaLookupTable::generateNewName ( char *  mediumName,
unsigned  maxLen 
)
private

◆ getTable()

HashTable const & MediaLookupTable::getTable ( )
inline

Definition at line 94 of file Media.hh.

94{ return *fTable; }
HashTable * fTable
Definition: Media.hh:113

References fTable.

◆ lookup()

Medium * MediaLookupTable::lookup ( char const *  name) const
private

◆ ourMedia()

static MediaLookupTable * MediaLookupTable::ourMedia ( UsageEnvironment env)
static

◆ remove()

void MediaLookupTable::remove ( char const *  name)
private

Friends And Related Function Documentation

◆ Medium

friend class Medium
friend

Definition at line 101 of file Media.hh.

Field Documentation

◆ fEnv

UsageEnvironment& MediaLookupTable::fEnv
private

Definition at line 112 of file Media.hh.

◆ fNameGenerator

unsigned MediaLookupTable::fNameGenerator
private

Definition at line 114 of file Media.hh.

◆ fTable

HashTable* MediaLookupTable::fTable
private

Definition at line 113 of file Media.hh.

Referenced by getTable().


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