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
Collaboration diagram for TScheduler:
Collaboration graph


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 ( )

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 
void TScheduler::publish ( const QString &  topic,
const QByteArray &  binary 
void TScheduler::restart ( )
void TScheduler::rollbackTransaction ( )
void TScheduler::setSingleShot ( bool  singleShot)
void TScheduler::start ( int  msec)
void TScheduler::startTimer ( int  msec)
void TScheduler::startTimer ( )
void TScheduler::stop ( )
void TScheduler::stopTimer ( )

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