ThreadComparator Struct Reference

List of all members.

Public Member Functions

 ThreadComparator ()
int operator() (const Thread *t1, const Thread *t2) const


Detailed Description

implements the operator() for comparing threads and inserting them in the OrderedCVector
Author:
Group 06

Definition at line 27 of file scheduler.cc.


Constructor & Destructor Documentation

ThreadComparator::ThreadComparator (  )  [inline]

Default constructor

Definition at line 31 of file scheduler.cc.


Member Function Documentation

int ThreadComparator::operator() ( const Thread t1,
const Thread t2 
) const [inline]

Parameters:
t1 the comparable first Thread
t2 the comparable second Thread
Returns:
-1 if t1 < t2, 0 if t1 == t2, and 1 if t1 > t2

Definition at line 38 of file scheduler.cc.


The documentation for this struct was generated from the following file:

Generated on Mon May 4 09:42:22 2009 for EPOS-- by  doxygen 1.5.8