19 [[nodiscard]]
const std::string&
getName()
const {
return name; }
20 [[nodiscard]] std::string_view
getDescription()
const {
return description; }
21 [[nodiscard]]
virtual std::string
getValue()
const = 0;
30 const std::string name;
42 if (value != newValue) {
49 [[nodiscard]]
operator const T&()
const {
54 [[nodiscard]] std::string getValue()
const override;
81 [[nodiscard]] std::string getValue()
const override;
virtual std::string getValue() const =0
ProbeBase & operator=(const ProbeBase &)=delete
const std::string & getName() const
ProbeBase(const ProbeBase &)=delete
std::string_view getDescription() const
Probe(Debugger &debugger, std::string name, static_string_view description, T t)
Probe & operator=(const T &newValue)
Generic Gang-of-Four Subject class of the Observer pattern, templatized edition.
This file implemented 3 utility functions:
std::string strCat(Ts &&...ts)