libbbb  1.2.1
Groups common code used in some applications and libraries.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
bbb::JobBack Class Reference

This class represents a job that works in same thread. More...

#include <jobinterf.h>

+ Inheritance diagram for bbb::JobBack:

Public Member Functions

 JobBack (void)
 constructor;
 
virtual ~JobBack (void)
 destructor;
 
bool startJob (void)
 start the job
 
void stopJob (void)
 stop the job
 
bool isJobRunning (void) const
 tell if the job is running
 
void setFrequency (int milisec)
 set the frequency
 
- Public Member Functions inherited from bbb::JobInterf
 JobInterf (void)
 constructor;
 
virtual ~JobInterf (void)
 destructor;
 
virtual int frequency (void) const
 frequency in miliseconds
 
void setCallback (KbTimeout val)
 sets the callback to use
 
KbTimeout callback (void)
 retrieves the callback used
 

Protected Member Functions

void timerEvent (QTimerEvent *event)
 internal timer fires;
 

Additional Inherited Members

- Public Types inherited from bbb::JobInterf
typedef void(* KbTimeout )(JobInterf *job)
 the function to call when the timeout expires
 
- Public Attributes inherited from bbb::JobInterf
Amorph a0_
 associated data
 
- Protected Attributes inherited from bbb::JobInterf
KbTimeout kb_
 the function to call when the timeout expires
 
int freq_msec_
 the frequency
 

Detailed Description

This class represents a job that works in same thread.


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