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 ( UsageEnvironment env)
protected
virtual MediaLookupTable::~MediaLookupTable ( )
protectedvirtual

Member Function Documentation

void MediaLookupTable::addNew ( Medium medium,
char *  mediumName 
)
private
void MediaLookupTable::generateNewName ( char *  mediumName,
unsigned  maxLen 
)
private
HashTable const& MediaLookupTable::getTable ( )
inline

Definition at line 94 of file Media.hh.

References fTable.

94 { return *fTable; }
HashTable * fTable
Definition: Media.hh:113
Medium* MediaLookupTable::lookup ( char const *  name) const
private
static MediaLookupTable* MediaLookupTable::ourMedia ( UsageEnvironment env)
static
void MediaLookupTable::remove ( char const *  name)
private

Friends And Related Function Documentation

friend class Medium
friend

Definition at line 101 of file Media.hh.

Field Documentation

UsageEnvironment& MediaLookupTable::fEnv
private

Definition at line 112 of file Media.hh.

unsigned MediaLookupTable::fNameGenerator
private

Definition at line 114 of file Media.hh.

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: