My Project 3.2.0
C++ Distributed Hash Table
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
dht::Scheduler::Job Struct Reference

Public Member Functions

 Job (std::function< void()> &&f, time_point t)
 
void cancel ()
 

Public Attributes

std::function< void()> do_
 
const time_point t_
 

Detailed Description

Definition at line 38 of file scheduler.h.

Constructor & Destructor Documentation

◆ Job()

dht::Scheduler::Job::Job ( std::function< void()> && f,
time_point t )
inline

Definition at line 39 of file scheduler.h.

Member Function Documentation

◆ cancel()

void dht::Scheduler::Job::cancel ( )
inline

Definition at line 42 of file scheduler.h.

Member Data Documentation

◆ do_

std::function<void()> dht::Scheduler::Job::do_

Definition at line 40 of file scheduler.h.

◆ t_

const time_point dht::Scheduler::Job::t_

Definition at line 41 of file scheduler.h.


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