MeVisLab Toolbox Reference
ExecutionPolicy.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3
4#pragma once
5
6#include <asio/System.h>
7
8#include <FMEThirdPartyWarningsDisable.h>
9#include <functional>
10#include <FMEThirdPartyWarningsRestore.h>
11
12namespace asio {
13
35 {
36 public:
37
38 virtual ~ExecutionPolicy() = default;
39
40 virtual void execute(std::function<void()> callable) = 0;
41 };
42
43}
#define ASYNCHRONOUSIO_EXPORT
Definition System.h:10
Abstract base class for all asio::ExecutionPolicy derivatives.
virtual ~ExecutionPolicy()=default
virtual void execute(std::function< void()> callable)=0
Target mlrange_cast(Source arg)
Generic version of checked ML casts.