MeVisLab Toolbox Reference
ml::MainExecutorT Class Reference

#include <mlMainExecutor.h>

Public Member Functions

template<typename F>
void operator() (F f) const

Detailed Description

This class implements an executor that allows you to execute a task in the ML's main loop without implementing a different BackgroundTaskMessage for each occasion.

Definition at line 27 of file mlMainExecutor.h.

Member Function Documentation

◆ operator()()

template<typename F>
void ml::MainExecutorT::operator() ( F f) const
inline

Submit an function object of type 'void()' that should be executed within the ML's main loop.

Definition at line 53 of file mlMainExecutor.h.

References F, and ml::BackgroundTaskManager::self().


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