Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

TuplesAvailableMailbox Class Reference

#include <TuplesAvailableMailbox.h>

List of all members.


Detailed Description

This is a flag system that notifies an observer when a particular TupleQueue goes from non-empty to empty.

The observer doesn't have to be looking at the time such a transition occurs - it's remembered until the observer picks up the notification.


Public Member Functions

 TuplesAvailableMailbox ()
virtual ~TuplesAvailableMailbox ()
void onNonEmpty (TupleQueue *pTQ)
void close ()
bool getEvent (TupleQueuePtr &pTQ)


Constructor & Destructor Documentation

TuplesAvailableMailbox::TuplesAvailableMailbox  ) 
 

TuplesAvailableMailbox::~TuplesAvailableMailbox  )  [virtual]
 


Member Function Documentation

void TuplesAvailableMailbox::close  ) 
 

bool TuplesAvailableMailbox::getEvent TupleQueuePtr pTQ  ) 
 

void TuplesAvailableMailbox::onNonEmpty TupleQueue pTQ  ) 
 

if (rc != 0) { if (rc == EINVAL) cout << " ***** EINVAL" << endl; if (rc == EDEADLK) cout << " ***** EDEADLK" << endl; perror("failed with"); }


The documentation for this class was generated from the following files:
Generated on Fri Nov 12 15:15:24 2004 for Borealis by doxygen 1.3.8