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 92 of file Media.hh.


Constructor & Destructor Documentation

MediaLookupTable::MediaLookupTable ( UsageEnvironment env  )  [protected]

virtual MediaLookupTable::~MediaLookupTable (  )  [protected, virtual]


Member Function Documentation

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

HashTable const& MediaLookupTable::getTable (  )  [inline]

Definition at line 95 of file Media.hh.

References fTable.

00095 { return *fTable; }

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

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

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

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


Friends And Related Function Documentation

friend class Medium [friend]

Definition at line 102 of file Media.hh.


Field Documentation

UsageEnvironment& MediaLookupTable::fEnv [private]

Definition at line 113 of file Media.hh.

HashTable* MediaLookupTable::fTable [private]

Definition at line 114 of file Media.hh.

Referenced by getTable().

unsigned MediaLookupTable::fNameGenerator [private]

Definition at line 115 of file Media.hh.


The documentation for this class was generated from the following file:
Generated on Tue Oct 28 14:14:30 2014 for live by  doxygen 1.5.2