64 lines
1.2 KiB
C++
64 lines
1.2 KiB
C++
#ifndef EVB_LAN9668_H
|
|
#define EVB_LAN9668_H
|
|
|
|
#include "ns3/real-switch.h"
|
|
|
|
#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.
|
|
*/
|
|
class EvbLan9668: public RealSwitch
|
|
{
|
|
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;
|
|
|
|
protected:
|
|
|
|
/**
|
|
* Update the parent hardware characteristics with the child values
|
|
*/
|
|
void UpdateParentHardwareCharacteristics() override;
|
|
|
|
|
|
private:
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* EVB_LAN9668_H */
|