A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
lte-simple-net-device.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Manuel Requena <manuel.requena@cttc.es>
7
*/
8
9
#ifndef LTE_SIMPLE_NET_DEVICE_H
10
#define LTE_SIMPLE_NET_DEVICE_H
11
12
#include "ns3/error-model.h"
13
#include "ns3/event-id.h"
14
#include "ns3/lte-rlc.h"
15
#include "ns3/node.h"
16
#include "ns3/simple-channel.h"
17
#include "ns3/simple-net-device.h"
18
19
namespace
ns3
20
{
21
22
/**
23
* \ingroup lte
24
* The LteSimpleNetDevice class implements the LTE simple net device.
25
* This class is used to provide a limited LteNetDevice functionalities that
26
* are necessary for testing purposes.
27
*/
28
class
LteSimpleNetDevice
:
public
SimpleNetDevice
29
{
30
public
:
31
/**
32
* \brief Get the type ID.
33
* \return the object TypeId
34
*/
35
static
TypeId
GetTypeId
();
36
37
LteSimpleNetDevice
();
38
/**
39
* Constructor
40
*
41
* \param node the Node
42
*/
43
LteSimpleNetDevice
(
Ptr<Node>
node);
44
45
~LteSimpleNetDevice
()
override
;
46
void
DoDispose
()
override
;
47
48
// inherited from NetDevice
49
bool
Send
(
Ptr<Packet>
packet,
const
Address
& dest, uint16_t protocolNumber)
override
;
50
51
protected
:
52
// inherited from Object
53
void
DoInitialize
()
override
;
54
};
55
56
}
// namespace ns3
57
58
#endif
// LTE_SIMPLE_NET_DEVICE_H
ns3::Address
a polymophic address class
Definition
address.h:90
ns3::LteSimpleNetDevice
The LteSimpleNetDevice class implements the LTE simple net device.
Definition
lte-simple-net-device.h:29
ns3::LteSimpleNetDevice::Send
bool Send(Ptr< Packet > packet, const Address &dest, uint16_t protocolNumber) override
Definition
lte-simple-net-device.cc:63
ns3::LteSimpleNetDevice::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
lte-simple-net-device.cc:24
ns3::LteSimpleNetDevice::DoDispose
void DoDispose() override
Destructor implementation.
Definition
lte-simple-net-device.cc:50
ns3::LteSimpleNetDevice::LteSimpleNetDevice
LteSimpleNetDevice()
Definition
lte-simple-net-device.cc:33
ns3::LteSimpleNetDevice::~LteSimpleNetDevice
~LteSimpleNetDevice() override
Definition
lte-simple-net-device.cc:44
ns3::LteSimpleNetDevice::DoInitialize
void DoInitialize() override
Initialize() implementation.
Definition
lte-simple-net-device.cc:57
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition
mpi-test-fixtures.h:37
ns3::SimpleNetDevice
This device assumes 48-bit mac addressing; there is also the possibility to add an ErrorModel if you ...
Definition
simple-net-device.h:44
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
lte
test
lte-simple-net-device.h
Generated on Fri Nov 8 2024 13:59:03 for ns-3 by
1.11.0