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

#include <tapplicationscheduler.h>

Inheritance diagram for TApplicationScheduler:
Inheritance graph
Collaboration diagram for TApplicationScheduler:
Collaboration graph

Public Member Functions

 TApplicationScheduler (QObject *parent=nullptr)
virtual ~TApplicationScheduler ()
void start (int msec)
void stop ()
int interval () const
bool isSingleShot () const
void setSingleShot (bool singleShot)
- Public Member Functions inherited from TScheduler
 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 ()
- Protected Member Functions inherited from TScheduler
void rollbackTransaction ()
void publish (const QString &topic, const QString &text)
void publish (const QString &topic, const QByteArray &binary)

Additional Inherited Members

- Signals inherited from TScheduler
void startTimer (int msec)
void startTimer ()
void stopTimer ()

Detailed Description

The TApplicationScheduler class provides functionality for job scheduler.

Jobs scheduled by this class will be executed in only one application server process. This scheduler will be started in staticInitialize() function.

Constructor & Destructor Documentation

TApplicationScheduler::TApplicationScheduler ( QObject *  parent = nullptr)


TApplicationScheduler::~TApplicationScheduler ( )

Member Function Documentation

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

Implements TScheduler.

void TApplicationScheduler::rollbackTransaction ( )
void TApplicationScheduler::setSingleShot ( bool  singleShot)
void TApplicationScheduler::start ( int  msec)
void TApplicationScheduler::stop ( )

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