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

◆ ~TScheduler()

TScheduler::~TScheduler ( )
virtual

Member Function Documentation

◆ autoDelete()

bool TScheduler::autoDelete ( ) const
inline

◆ interval()

int TScheduler::interval ( ) const

◆ isSingleShot()

bool TScheduler::isSingleShot ( ) const

◆ job()

virtual void TScheduler::job ( )
protectedpure virtual

Implemented in TApplicationScheduler.

◆ publish() [1/2]

void TScheduler::publish ( const QString &  topic,
const QByteArray &  binary 
)
protected

◆ publish() [2/2]

void TScheduler::publish ( const QString &  topic,
const QString &  text 
)
protected

◆ restart()

void TScheduler::restart ( )

◆ rollbackTransaction()

void TScheduler::rollbackTransaction ( )
protected

◆ setAutoDelete()

void TScheduler::setAutoDelete ( bool  autoDelete)
inline

◆ setSingleShot()

void TScheduler::setSingleShot ( bool  singleShot)

◆ start()

void TScheduler::start ( int  msec)

◆ startTimer [1/2]

void TScheduler::startTimer ( )
signal

◆ startTimer [2/2]

void TScheduler::startTimer ( int  msec)
signal

◆ stop()

void TScheduler::stop ( )

◆ stopTimer

void TScheduler::stopTimer ( )
signal

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