Dripline-Cpp  v2.10.11
Dripline Implementation in C++
Public Member Functions | List of all members
base_executor Struct Referenceabstract

Base class for executors. More...

#include <scheduler.hh>

Inheritance diagram for base_executor:
Inheritance graph

Public Member Functions

 base_executor ()
 
 base_executor (const base_executor &)=default
 
 base_executor (base_executor &&)=default
 
virtual ~base_executor ()=default
 
base_executoroperator= (const base_executor &)=default
 
base_executoroperator= (base_executor &&)=default
 
virtual void operator() (std::function< void() >)=0
 

Detailed Description

Base class for executors.

Author
N.S. Oblath

Executors execute the actions that are scheduled in scheduler.

Definition at line 39 of file scheduler.hh.

Constructor & Destructor Documentation

◆ base_executor() [1/3]

base_executor ( )
inline

Definition at line 41 of file scheduler.hh.

◆ base_executor() [2/3]

base_executor ( const base_executor )
default

◆ base_executor() [3/3]

base_executor ( base_executor &&  )
default

◆ ~base_executor()

virtual ~base_executor ( )
virtualdefault

Member Function Documentation

◆ operator()()

virtual void operator() ( std::function< void() >  )
pure virtual

Implemented in simple_executor.

◆ operator=() [1/2]

base_executor& operator= ( base_executor &&  )
default

◆ operator=() [2/2]

base_executor& operator= ( const base_executor )
default

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