add ports

This commit is contained in:
Robert 2023-07-02 13:53:56 +02:00
parent dc966782b5
commit 89fcef5619
5 changed files with 52 additions and 0 deletions

View file

@ -5,6 +5,8 @@
#include <string>
#include <memory>
class Port;
class Device {
public:
friend std::ostream& operator<<(std::ostream& os, const Device& device);
@ -24,6 +26,9 @@ public:
private:
void parseAndSetMac(const std::string& macAddress);
private:
std::shared_ptr<Port> port;
public:
uint8_t macAddress[6];
};