MsgQMUXChannelMapping Class Reference

#include <msgqmuxchannelmapping.h>

Inheritance diagram for MsgQMUXChannelMapping:

Inheritance graph
[legend]
Collaboration diagram for MsgQMUXChannelMapping:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MsgQMUXChannelMapping (const char *name, BasicSmartPointer< InstructionContext > instrContext, int id)
virtual ~MsgQMUXChannelMapping ()
bool openChannel (BasicMsgQueueMUX *msgQMUX)
void closeChannel (BasicMsgQueueMUX *msgQMUX)
virtual void send (trace_event_t &event)
virtual trace_event_t next ()

Constructor & Destructor Documentation

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

Construct a new message queue mux ChannelMapping.

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

MsgQMUXChannelMapping::~MsgQMUXChannelMapping  )  [virtual]
 


Member Function Documentation

bool MsgQMUXChannelMapping::openChannel BasicMsgQueueMUX msgQMUX  ) 
 

Open this channel in the provided message queue mux.

Parameters:
msgQMUX The message queue mux to open the channel in.
Returns:
true on success, false otherwise.

void MsgQMUXChannelMapping::closeChannel BasicMsgQueueMUX msgQMUX  ) 
 

Close this channel's connection in the message queue mux.

Parameters:
msgQMUX The message queue mux.

void MsgQMUXChannelMapping::send trace_event_t event  )  [virtual]
 

The message queue mux implementation of send. This function will block if the channel is full.

Parameters:
event The event to send.

Implements TraceChannel.

trace_event_t MsgQMUXChannelMapping::next  )  [virtual]
 

The message queue mux implementation of next. This function will block if until there is a trace event to read.

Returns:
The read trace event on success, a trace event of type T_NULL otherwise.

Implements TraceChannel.


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