On this page
article
peary::interface::iface_loopback
peary::interface::iface_loopback
Peary Loopback Interface.
#include <peary/interfaces/Loopback/loopback.hpp>
Inherits from peary::interface::Interface< uint8_t, uint8_t, iface_loopback_config >
Public Functions
| Name | |
|---|---|
| uint8_t | devAddress() constGet the device address. |
| iface_loopback() =deleteDelete copy constructor. |
Friends
| Name | |
|---|---|
| iface_loopback & | InterfaceManager::getInterface(const configuration_type & ) Only this function can create the interface. |
| void | InterfaceManager::deleteInterface(iface_loopback * ) Only this function can delete the interface. |
Additional inherited members
Public Types inherited from peary::interface::Interface< uint8_t, uint8_t, iface_loopback_config >
| Name | |
|---|---|
| using REG_T | reg_type Type aliases for register type, data type, configuration type, and data vector type. |
| using DATA_T | data_type |
| using CONFIG_T | configuration_type |
| using std::vector< data_type > | dataVector_type |
Public Functions inherited from peary::interface::Interface< uint8_t, uint8_t, iface_loopback_config >
| Name | |
|---|---|
| std::string | devicePath() constGet the device path associated with the interface. |
Protected Functions inherited from peary::interface::Interface< uint8_t, uint8_t, iface_loopback_config >
| Name | |
|---|---|
| Interface(const InterfaceConfiguration & config)Constructor for Interface class. | |
| virtual | ~Interface() =defaultVirtual destructor for Interface class. |
Public Functions Documentation
function devAddress
inline uint8_t devAddress() const
Get the device address.
Return: The device address
function iface_loopback
iface_loopback() =delete
Delete copy constructor.
Friends
friend InterfaceManager::getInterface
friend iface_loopback & InterfaceManager::getInterface(
const configuration_type &
);
Only this function can create the interface.
Return: A reference to the created loopback interface
friend InterfaceManager::deleteInterface
friend void InterfaceManager::deleteInterface(
iface_loopback *
);
Only this function can delete the interface.
Updated on 2025-11-14 at 11:31:23 +0100