EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
Loading...
Searching...
No Matches
echomap::NotificationNames Struct Reference

Helper to retrieve names of Notification variant alternatives. More...

#include <AllNotificationsFwd.hpp>

Static Public Member Functions

template<typename NotificationT>
requires variant_helpers::VariantAlternative< NotificationT, Notification>
static constexpr std::string_view get ()
 Retrieve a human-readable name for the templated Notification.
template<>
constexpr std::string_view get ()
template<>
constexpr std::string_view get ()
template<>
constexpr std::string_view get ()
template<>
constexpr std::string_view get ()
template<>
constexpr std::string_view get ()
template<>
constexpr std::string_view get ()
template<>
constexpr std::string_view get ()
template<>
constexpr std::string_view get ()
template<>
constexpr std::string_view get ()

Static Public Attributes

static const std::array< std::string_view, std::variant_size_v< Notification > > indexed_names
 Aggregated names by the index of the alternative.

Detailed Description

Helper to retrieve names of Notification variant alternatives.

Definition at line 95 of file AllNotificationsFwd.hpp.

Member Function Documentation

◆ get() [1/10]

template<>
std::string_view echomap::NotificationNames::get ( )
staticconstexpr

Definition at line 169 of file AllNotificationsFwd.hpp.

170{
171 return "Register VFS Mapping Notification";
172}

◆ get() [2/10]

template<>
std::string_view echomap::NotificationNames::get ( )
staticconstexpr

Definition at line 164 of file AllNotificationsFwd.hpp.

165{
166 return "Complete Project Load Notification";
167}

◆ get() [3/10]

template<>
std::string_view echomap::NotificationNames::get ( )
staticconstexpr

Definition at line 159 of file AllNotificationsFwd.hpp.

160{
161 return "Cancel Project Load Notification";
162}

◆ get() [4/10]

template<>
std::string_view echomap::NotificationNames::get ( )
staticconstexpr

Definition at line 148 of file AllNotificationsFwd.hpp.

149{
150 return "Raise File Chooser Notification";
151}

◆ get() [5/10]

template<>
std::string_view echomap::NotificationNames::get ( )
staticconstexpr

Definition at line 139 of file AllNotificationsFwd.hpp.

140{
141 return "Clear Error State Notification";
142}

◆ get() [6/10]

template<>
std::string_view echomap::NotificationNames::get ( )
staticconstexpr

Definition at line 134 of file AllNotificationsFwd.hpp.

135{
136 return "Project Selected Notification";
137}

◆ get() [7/10]

template<>
std::string_view echomap::NotificationNames::get ( )
staticconstexpr

Definition at line 129 of file AllNotificationsFwd.hpp.

130{
131 return "Modify Sensor Position Notification";
132}

◆ get() [8/10]

template<>
std::string_view echomap::NotificationNames::get ( )
staticconstexpr

Definition at line 124 of file AllNotificationsFwd.hpp.

125{
126 return "Modify Sensor Colour Notification";
127}

◆ get() [9/10]

template<>
std::string_view echomap::NotificationNames::get ( )
staticconstexpr

Definition at line 119 of file AllNotificationsFwd.hpp.

120{
121 return "Add Channel Mapping Notification";
122}

◆ get() [10/10]

template<typename NotificationT>
requires variant_helpers::VariantAlternative< NotificationT, Notification>
constexpr std::string_view echomap::NotificationNames::get ( )
inlinestaticconstexpr

Retrieve a human-readable name for the templated Notification.

Returns
A NULL-terminated static non-owning view of the name.

Definition at line 106 of file AllNotificationsFwd.hpp.

107 {
108 // ReSharper disable once CppStaticAssertFailure
109 static_assert(false, "Missing notification name.");
110 return {};
111 }

Member Data Documentation

◆ indexed_names

std::array< std::string_view, std::variant_size_v< Notification > > echomap::NotificationNames::indexed_names
staticconstexpr
Initial value:
=
constexpr auto variant_name_array
Array of human-readable names for every alternative in a variant.

Aggregated names by the index of the alternative.

Definition at line 116 of file AllNotificationsFwd.hpp.


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