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

A Job that can be disposed. More...

#include <scheduled_executor.h>

Collaboration diagram for jami::Task:
Collaboration graph

Public Member Functions

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

Detailed Description

A Job that can be disposed.

Definition at line 84 of file scheduled_executor.h.

Constructor & Destructor Documentation

◆ Task()

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

Definition at line 87 of file scheduled_executor.h.

Member Function Documentation

◆ cancel()

void jami::Task::cancel ( )
inline

Definition at line 107 of file scheduled_executor.h.

References jami::Job::reset().

Here is the call graph for this function:

◆ isCancelled()

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

Definition at line 108 of file scheduled_executor.h.

◆ job()

Job & jami::Task::job ( )
inline

Definition at line 110 of file scheduled_executor.h.

◆ run()

void jami::Task::run ( const char executor_name)
inline

Definition at line 93 of file scheduled_executor.h.

References jami::emitSignal(), jami::Job::filename, jami::Job::fn, jami_tracepoint, and jami::Job::linum.

Here is the call graph for this function:

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