TreeFrogFramework  2.8
Signals | Public Member Functions | Protected Member Functions | List of all members
TJobScheduler Class Referenceabstract

#include <tjobscheduler.h>

Inheritance diagram for TJobScheduler:
Inheritance graph
[legend]
Collaboration diagram for TJobScheduler:
Collaboration graph
[legend]

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)
 

Detailed Description

The TJobScheduler class provides functionality for job scheduler.

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

Constructor & Destructor Documentation

◆ TJobScheduler()

TJobScheduler::TJobScheduler ( )

◆ ~TJobScheduler()

TJobScheduler::~TJobScheduler ( )
virtual

Member Function Documentation

◆ 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: