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

#include <scheduled_executor.h>

Collaboration diagram for jami::RepeatedJob:
Collaboration graph

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 62 of file scheduled_executor.h.

Constructor & Destructor Documentation

◆ RepeatedJob()

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

Definition at line 63 of file scheduled_executor.h.

Member Function Documentation

◆ operator bool()

jami::RepeatedJob::operator bool ( )
inline

Definition at line 72 of file scheduled_executor.h.

References fn.

◆ reset()

void jami::RepeatedJob::reset ( )
inline

Definition at line 76 of file scheduled_executor.h.

References fn.

Referenced by jami::RepeatedTask::destroy(), and jami::RepeatedTask::run().

Member Data Documentation

◆ filename

const char* jami::RepeatedJob::filename

Definition at line 69 of file scheduled_executor.h.

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

◆ fn

std::function<bool()> jami::RepeatedJob::fn

Definition at line 68 of file scheduled_executor.h.

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

◆ linum

uint32_t jami::RepeatedJob::linum

Definition at line 70 of file scheduled_executor.h.

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


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