mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 18:13:57 +02:00
39 lines
628 B
C++
39 lines
628 B
C++
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
|
|
|
|
#ifndef LEO_MOCK_NET_DEVICE_H_
|
|
#define LEO_MOCK_NET_DEVICE_H_
|
|
|
|
#include "mock-net-device.h"
|
|
|
|
namespace ns3
|
|
{
|
|
/**
|
|
* \brief A mocked satellite-ground link communication device with a type
|
|
*/
|
|
class LeoMockNetDevice : public MockNetDevice
|
|
{
|
|
public:
|
|
enum DeviceType
|
|
{
|
|
GND,
|
|
SAT
|
|
};
|
|
|
|
static TypeId GetTypeId (void);
|
|
|
|
LeoMockNetDevice ();
|
|
|
|
virtual ~LeoMockNetDevice ()
|
|
{
|
|
}
|
|
|
|
DeviceType GetDeviceType () const;
|
|
void SetDeviceType (DeviceType deviceType);
|
|
|
|
private:
|
|
DeviceType m_deviceType;
|
|
};
|
|
|
|
};
|
|
|
|
#endif /* LEO_MOCK_NET_DEVICE_H_ */
|