FileMapping Class Reference

#include <filemapping.h>

Inheritance diagram for FileMapping:

Inheritance graph
[legend]
Collaboration diagram for FileMapping:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FileMapping (const char *filename, side_t side)
virtual ~FileMapping ()
bool open (char *traceBaseName)
bool open ()

Protected Member Functions

bool openChannel (ChannelMapping *channel)
void closeChannel (ChannelMapping *channel)

Constructor & Destructor Documentation

FileMapping::FileMapping const char *  filename,
side_t  side
 

Construct a new file based implentation of a Mapping.

Parameters:
filename The path to the YML mapping file.
side Our mapping side either SOURCE_SIDE or DEST_SIDE.

FileMapping::~FileMapping  )  [virtual]
 


Member Function Documentation

bool FileMapping::open char *  traceBaseName  ) 
 

Open file based mapping object.

Parameters:
traceBaseName Prefix of the trace file's name
Returns:
true on success, false otherwise.

bool FileMapping::open  )  [virtual]
 

fileChannelMapping implementation of open. This function should not be called. Use open(char* traceBaseName) instead.

Returns:
false.

Reimplemented from Mapping.

bool FileMapping::openChannel ChannelMapping channel  )  [protected, virtual]
 

fileChannelMapping implementation of openChannel.

Parameters:
channel The channel to open.
Returns:
true on success, false otherwise.

Implements Mapping.

void FileMapping::closeChannel ChannelMapping channel  )  [protected, virtual]
 

fileChannelMapping implementation of closeChannel.

Parameters:
channel The channel to close.

Implements Mapping.


The documentation for this class was generated from the following files:
Generated on Wed Apr 5 21:04:07 2006 for Sesame by  doxygen 1.4.6