Files
eden-sim/contrib/real-device/model/evb-lan9668.h

64 lines
1.2 KiB
C
Raw Normal View History

2025-12-01 15:56:02 +01:00
#ifndef EVB_LAN9668_H
#define EVB_LAN9668_H
2026-03-10 11:04:50 +01:00
#include "ns3/real-switch.h"
2025-12-01 15:56:02 +01:00
#include "ns3/tsn-node.h"
#include "ns3/tsn-net-device.h"
#include "ns3/stream-identification-function-null.h"
namespace ns3
{
/**
* \ingroup real-device
*
* \brief A object to simulate EVB-LAN9668 switch.
*/
2026-03-10 11:04:50 +01:00
class EvbLan9668: public RealSwitch
2025-12-01 15:56:02 +01:00
{
public:
/**
* \brief Get the TypeId
*
* \return The TypeId for this class
*/
static TypeId GetTypeId();
/**
* \brief Create a EvbLan9668
*/
EvbLan9668();
/**
* \brief Create a EvbLan9668
*/
EvbLan9668(std::string name);
/**
* Destroy a EvbLan9668
*
* This is the destructor for the TsnNode.
*/
~EvbLan9668();
// Delete copy constructor and assignment operator to avoid misuse
EvbLan9668& operator=(const EvbLan9668&) = delete;
EvbLan9668(const EvbLan9668&) = delete;
2026-03-10 11:04:50 +01:00
protected:
2025-12-01 15:56:02 +01:00
/**
2026-03-10 11:04:50 +01:00
* Update the parent hardware characteristics with the child values
2025-12-01 15:56:02 +01:00
*/
2026-03-10 11:04:50 +01:00
void UpdateParentHardwareCharacteristics() override;
2025-12-01 15:56:02 +01:00
2026-03-10 11:04:50 +01:00
2025-12-01 15:56:02 +01:00
private:
};
}
#endif /* EVB_LAN9668_H */