TreeFrogFramework  1.18
Signals | Public Member Functions | Protected Member Functions | List of all members
TScheduler Class Referenceabstract

#include <tscheduler.h>

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

Signals

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

Public Member Functions

 TScheduler (QObject *parent=nullptr)
 
virtual ~TScheduler ()
 
void start (int msec)
 
void restart ()
 
void stop ()
 
int interval () const
 
bool isSingleShot () const
 
void setSingleShot (bool singleShot)
 

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 TScheduler class provides functionality for job scheduler.

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

Constructor & Destructor Documentation

TScheduler::TScheduler ( QObject *  parent = nullptr)
TScheduler::~TScheduler ( )
virtual

Member Function Documentation

int TScheduler::interval ( ) const
bool TScheduler::isSingleShot ( ) const
virtual void TScheduler::job ( )
protectedpure virtual

Implemented in TApplicationScheduler.

void TScheduler::publish ( const QString &  topic,
const QString &  text 
)
protected
void TScheduler::publish ( const QString &  topic,
const QByteArray &  binary 
)
protected
void TScheduler::restart ( )
void TScheduler::rollbackTransaction ( )
protected
void TScheduler::setSingleShot ( bool  singleShot)
void TScheduler::start ( int  msec)
void TScheduler::startTimer ( int  msec)
signal
void TScheduler::startTimer ( )
signal
void TScheduler::stop ( )
void TScheduler::stopTimer ( )
signal

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