tin  1.5.9
tsm::runtime::inline_executor Struct Reference

#include <executor.h>

Collaboration diagram for tsm::runtime::inline_executor:
Collaboration graph

Public Member Functions

template<typename Work >
decltype(auto) post (Work &&work)
 
bool step ()
 
std::size_t run_ready ()
 

Detailed Description

Inline executor for tests and direct caller-owned systems.

post runs the callable immediately. Runtime stepping is represented by the same step / run_ready surface as other executors, but there is no stored backlog inside the executor itself.

Member Function Documentation

◆ post()

template<typename Work >
decltype(auto) tsm::runtime::inline_executor::post ( Work &&  work)
inline

◆ run_ready()

std::size_t tsm::runtime::inline_executor::run_ready ( )
inline

◆ step()

bool tsm::runtime::inline_executor::step ( )
inline

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