FileChannelMapping Class Reference

#include <filechannelmapping.h>

Inheritance diagram for FileChannelMapping:

Inheritance graph
[legend]
Collaboration diagram for FileChannelMapping:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FileChannelMapping (const char *name, BasicSmartPointer< InstructionContext > instrContext, int id)
virtual ~FileChannelMapping ()
bool createChannel (std::string traceBaseName)
bool openChannel (std::string traceBaseName)
void closeChannel ()
virtual void send (trace_event_t &event)
virtual trace_event_t next ()

Constructor & Destructor Documentation

FileChannelMapping::FileChannelMapping const char *  name,
BasicSmartPointer< InstructionContext instrContext,
int  id
 

Construct a new fileChannelMapping that reads traces from a trace file.

Parameters:
name The name of the channel.
instrContext The channel's instruction context.
id The channel id.

FileChannelMapping::~FileChannelMapping  )  [virtual]
 


Member Function Documentation

bool FileChannelMapping::createChannel std::string  traceBaseName  ) 
 

bool FileChannelMapping::openChannel std::string  traceBaseName  ) 
 

void FileChannelMapping::closeChannel  ) 
 

Close this channel and the close access to the corresponding trace file.

void FileChannelMapping::send trace_event_t event  )  [virtual]
 

The fileChannelMapping implementation of send.

Parameters:
event The event to send.

Implements TraceChannel.

trace_event_t FileChannelMapping::next  )  [virtual]
 

The fileChannelMapping implementation of next. If read fails throws a BasicException.

Returns:
The read trace event on success/

Implements TraceChannel.


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