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

QBoxInvocation Class Reference

#include <QBox.h>

List of all members.


Detailed Description

Runtime parameters for a QBox provided by the scheduler.

This object is passed to a QBox's runImpl() method and contains information specific to a particular invocation of the box, e.g., how many tuples to process.


Public Member Functions

 QBoxInvocation ()
unsigned int getMaxTuplesToDequeue (unsigned int input_port) const
 Return the maximum tuples that should be dequeued on a particular input port.
bool continueDequeueOn (QBox::DeqIterator deq, unsigned int input_port) const
 Should the caller continue to process tuples from a particular input? Guaranteed to return false if !deq.avail().
unsigned long ticks () const

Public Attributes

unsigned int _tuples_dequeued
QBox_box
vector< unsigned int > _tuple_limit
unsigned long _end_time
unsigned long _last_ticks
unsigned int _next_tick

Static Public Attributes

const int CALLS_BETWEEN_TICK = 1


Constructor & Destructor Documentation

QBoxInvocation::QBoxInvocation  ) 
 


Member Function Documentation

bool QBoxInvocation::continueDequeueOn QBox::DeqIterator  deq,
unsigned int  input_port
const
 

Should the caller continue to process tuples from a particular input? Guaranteed to return false if !deq.avail().

unsigned int QBoxInvocation::getMaxTuplesToDequeue unsigned int  input_port  )  const
 

Return the maximum tuples that should be dequeued on a particular input port.

Deprecated (use continueDequeueOn instead).

unsigned long QBoxInvocation::ticks  )  const
 


Member Data Documentation

QBox* QBoxInvocation::_box
 

unsigned long QBoxInvocation::_end_time
 

unsigned long QBoxInvocation::_last_ticks [mutable]
 

unsigned int QBoxInvocation::_next_tick [mutable]
 

vector<unsigned int> QBoxInvocation::_tuple_limit
 

unsigned int QBoxInvocation::_tuples_dequeued [mutable]
 

const int QBoxInvocation::CALLS_BETWEEN_TICK = 1 [static]
 


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