TreeFrogFramework  1.29
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 ()
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 ()
virtual ~TScheduler ()
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 ()
- 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::TApplicationScheduler ( )


◆ ~TApplicationScheduler()

TApplicationScheduler::~TApplicationScheduler ( )

Member Function Documentation

◆ interval()

int TApplicationScheduler::interval ( ) const

◆ isSingleShot()

bool TApplicationScheduler::isSingleShot ( ) const

◆ job()

virtual void TApplicationScheduler::job ( )
protectedpure virtual

Implements TScheduler.

◆ rollbackTransaction()

void TApplicationScheduler::rollbackTransaction ( )

◆ setSingleShot()

void TApplicationScheduler::setSingleShot ( bool  singleShot)

◆ start()

void TApplicationScheduler::start ( int  msec)

◆ stop()

void TApplicationScheduler::stop ( )

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