MediaLookupTable Class Reference

#include <Media.hh>

Collaboration diagram for MediaLookupTable:

Collaboration graph

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

unsigned fNameGenerator


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 Sun Jan 4 13:16:22 2015 for live by  doxygen 1.5.2