CCF
Loading...
Searching...
No Matches
node_subsystem_interface.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
5namespace ccf
6{
8 {
9 public:
10 virtual ~AbstractNodeSubSystem() = default;
11 };
12
13 template <typename T>
14 concept SubsystemType = requires(T) {
15 { T::get_subsystem_name() } -> std::convertible_to<std::string_view>;
16 } && std::is_base_of_v<AbstractNodeSubSystem, T>;
17}
Definition node_subsystem_interface.h:8
virtual ~AbstractNodeSubSystem()=default
Definition node_subsystem_interface.h:14
Definition app_interface.h:13