yat  0.14.5pre
Public Member Functions | Friends | List of all members
theplu::yat::utility::Scheduler::Job Class Referenceabstract

#include <yat/utility/Scheduler.h>

Public Member Functions

 Job (unsigned int prio=0)
 constructor
 
virtual ~Job (void)
 destructor
 
unsigned int priority (void) const
 
virtual void operator() (void)=0
 

Friends

class Scheduler
 

Detailed Description

Base class that defines the interface for a Job

Member Function Documentation

virtual void theplu::yat::utility::Scheduler::Job::operator() ( void  )
pure virtual

This function defines the work done in thread.

unsigned int theplu::yat::utility::Scheduler::Job::priority ( void  ) const

Jobs with greater priority are run before Jobs with less priority.


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

Generated on Tue Sep 26 2017 02:33:31 for yat by  doxygen 1.8.5