TouchCPLib  1.0.0
A touch-enabled GUI interface based on SDL and libTS. It provides a simple desktop-free UI for your embedded Raspberry projects.
Task Class Reference

A task is an object that wraps the code to run on an thread. More...

#include <Task.h>

Public Member Functions

 Task (std::function< void(void)> runner)
 
void operator() ()
 

Detailed Description

A task is an object that wraps the code to run on an thread.

Constructor & Destructor Documentation

◆ Task()

Task::Task ( std::function< void(void)>  runner)
inline

Member Function Documentation

◆ operator()()

void Task::operator() ( )
inline

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