Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

BonnMotionFileCache Class Reference
[mobility - modules handling the mobility of the hosts]

#include <BonnMotionFileCache.h>

Collaboration diagram for BonnMotionFileCache:

Collaboration graph
List of all members.

Public Member Functions

virtual const BonnMotionFilegetFile (const char *filename)

Static Public Member Functions

static BonnMotionFileCacheinstance ()
static void deleteInstance ()

Protected Types

typedef std::map< std::string,

Protected Member Functions

void parseFile (const char *filename, BonnMotionFile &bmFile)

Protected Attributes

BMFileMap cache

Static Protected Attributes

static BonnMotionFileCacheinst

Detailed Description

Singleton object to read and store BonnMotion files. Used within BonnMotionMobility. Needed because otherwise every node would have to open and read the file independently.

Andras Varga

Member Function Documentation

void BonnMotionFileCache::deleteInstance  )  [static]

Deletes the singleton instance.

const BonnMotionFile * BonnMotionFileCache::getFile const char *  filename  )  [virtual]

Returns the given document.

BonnMotionFileCache * BonnMotionFileCache::instance  )  [static]

Returns the singleton instance.

The documentation for this class was generated from the following files:
Generated on Fri Jan 12 08:29:46 2007 for Mobility Framework by  doxygen 1.4.4