TreeFrogFramework: TJobScheduler Class Reference

#include <tjobscheduler.h>

Signals

void startTimer (int msec)
 
void startTimer ()
 
void stopTimer ()
 

Public Member Functions

 TJobScheduler ()
 
virtual ~TJobScheduler ()
 
void start (int msec)
 
void restart ()
 
void stop ()
 
int interval () const
 
bool isSingleShot () const
 
void setSingleShot (bool singleShot)
 
bool autoDelete () const
 
void setAutoDelete (bool autoDelete)
 

Protected Member Functions

virtual void job ()=0
 
void rollbackTransaction ()
 
void publish (const QString &topic, const QString &text)
 
void publish (const QString &topic, const QByteArray &binary)
 

The TJobScheduler class provides functionality for job scheduler.

Jobs scheduled by this class will be executed in each application server process.

TJobScheduler::TJobScheduler ( )

◆ ~TJobScheduler()

TJobScheduler::~TJobScheduler ( )
virtual

◆ autoDelete()

bool TJobScheduler::autoDelete ( ) const
inline

◆ interval()

int TJobScheduler::interval ( ) const

◆ isSingleShot()

bool TJobScheduler::isSingleShot ( ) const

◆ job()

virtual void TJobScheduler::job ( )
protectedpure virtual

◆ publish() [1/2]

void TJobScheduler::publish ( const QString &  topic,
const QByteArray &  binary 
)
protected

◆ publish() [2/2]

void TJobScheduler::publish ( const QString &  topic,
const QString &  text 
)
protected

◆ restart()

void TJobScheduler::restart ( )

◆ rollbackTransaction()

void TJobScheduler::rollbackTransaction ( )
protected

◆ setAutoDelete()

void TJobScheduler::setAutoDelete ( bool  autoDelete)
inline

◆ setSingleShot()

void TJobScheduler::setSingleShot ( bool  singleShot)

◆ start()

void TJobScheduler::start ( int  msec)

◆ startTimer [1/2]

void TJobScheduler::startTimer ( )
signal

◆ startTimer [2/2]

void TJobScheduler::startTimer ( int  msec)
signal

◆ stop()

void TJobScheduler::stop ( )

◆ stopTimer

void TJobScheduler::stopTimer ( )
signal

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