Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::RepeatedTask Class Reference

A RepeatedJob that can be disposed. More...

#include <scheduled_executor.h>

Collaboration diagram for jami::RepeatedTask:
Collaboration graph

Public Member Functions

void cancel ()
 
void destroy ()
 
bool isCancelled () const
 
RepeatedJobjob ()
 
 RepeatedTask (std::function< bool()> &&fn, const char *filename, uint32_t linum)
 
bool run (const char *executor_name)
 

Detailed Description

A RepeatedJob that can be disposed.

Definition at line 120 of file scheduled_executor.h.

Constructor & Destructor Documentation

◆ RepeatedTask()

jami::RepeatedTask::RepeatedTask ( std::function< bool()> &&  fn,
const char filename,
uint32_t  linum 
)
inline

Definition at line 123 of file scheduled_executor.h.

Member Function Documentation

◆ cancel()

void jami::RepeatedTask::cancel ( )
inline

Definition at line 157 of file scheduled_executor.h.

Referenced by destroy().

◆ destroy()

void jami::RepeatedTask::destroy ( )
inline

Definition at line 159 of file scheduled_executor.h.

References cancel(), jami::emitSignal(), and jami::RepeatedJob::reset().

Here is the call graph for this function:

◆ isCancelled()

bool jami::RepeatedTask::isCancelled ( ) const
inline

Definition at line 166 of file scheduled_executor.h.

◆ job()

RepeatedJob & jami::RepeatedTask::job ( )
inline

Definition at line 168 of file scheduled_executor.h.

◆ run()

bool jami::RepeatedTask::run ( const char executor_name)
inline

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