Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::Job Struct Reference

A runnable function. More...

#include <scheduled_executor.h>

Collaboration diagram for jami::Job:
Collaboration graph

Public Member Functions

 Job (std::function< void()> &&f, const char *file, uint32_t l)
 
 operator bool () const
 
void reset ()
 

Public Attributes

const charfilename
 
std::function< void()> fn
 
uint32_t linum
 

Detailed Description

A runnable function.

Definition at line 43 of file scheduled_executor.h.

Constructor & Destructor Documentation

◆ Job()

jami::Job::Job ( std::function< void()> &&  f,
const char file,
uint32_t  l 
)
inline

Definition at line 44 of file scheduled_executor.h.

Member Function Documentation

◆ operator bool()

jami::Job::operator bool ( ) const
inline

Definition at line 53 of file scheduled_executor.h.

References fn.

◆ reset()

void jami::Job::reset ( )
inline

Definition at line 57 of file scheduled_executor.h.

References fn.

Referenced by jami::Task::cancel().

Member Data Documentation

◆ filename

const char* jami::Job::filename

Definition at line 50 of file scheduled_executor.h.

Referenced by jami::Task::run().

◆ fn

std::function<void()> jami::Job::fn

Definition at line 49 of file scheduled_executor.h.

Referenced by operator bool(), reset(), and jami::Task::run().

◆ linum

uint32_t jami::Job::linum

Definition at line 51 of file scheduled_executor.h.

Referenced by jami::Task::run().


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