SRS-control 0.1.4
Loading...
Searching...
No Matches
ConverterConcepts.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <concepts>
4
5namespace srs::process
6{
7 template <typename T>
8 concept ConvertibleTask = requires(T converter) {
9 typename T::InputType;
10 typename T::OutputType;
11 typename T::ConverterOption;
12 { converter.get_data_view() } -> std::same_as<typename T::OutputType>;
13 };
14} // namespace srs::process