CCF
Loading...
Searching...
No Matches
include
ccf
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
5
namespace
ccf
6
{
7
class
AbstractNodeSubSystem
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
}
ccf::AbstractNodeSubSystem
Definition
node_subsystem_interface.h:8
ccf::AbstractNodeSubSystem::~AbstractNodeSubSystem
virtual ~AbstractNodeSubSystem()=default
ccf::SubsystemType
Definition
node_subsystem_interface.h:14
ccf
Definition
app_interface.h:13
Generated by
1.9.8