IEthernetControlCommands class
#include <net/eth/control_commands.hpp>
Type-erased interface for Ethernet-like interface command adapters.
Scenario composition can keep multiple interface handlers in one generic container without branching on concrete section type (UsbConfigSection, EthConfigSection, ...).
Derived classes
-
template<typename ConfigSectionT>class EthernetControlCommands final
- Generic control adapter for Ethernet-like interfaces.
Constructors, destructors, conversion operators
- ~IEthernetControlCommands() defaulted virtual
Public functions
-
auto descriptors() const -> std::span<const prf::
control:: CommandDescriptor> pure virtual - auto iface_name() const -> const char* pure virtual