A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
lte-simple-net-device.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Author: Manuel Requena <manuel.requena@cttc.es>
19
*/
20
21
#ifndef LTE_SIMPLE_NET_DEVICE_H
22
#define LTE_SIMPLE_NET_DEVICE_H
23
24
#include "ns3/event-id.h"
25
#include "ns3/node.h"
26
#include "ns3/error-model.h"
27
#include "ns3/simple-channel.h"
28
#include "ns3/simple-net-device.h"
29
#include "ns3/lte-rlc.h"
30
31
namespace
ns3 {
32
33
38
class
LteSimpleNetDevice
:
public
SimpleNetDevice
39
{
40
41
public
:
42
static
TypeId
GetTypeId
(
void
);
43
44
LteSimpleNetDevice
(
void
);
45
LteSimpleNetDevice
(
Ptr<Node>
node);
46
47
virtual
~LteSimpleNetDevice
(
void
);
48
virtual
void
DoDispose
();
49
50
51
// inherited from NetDevice
52
virtual
bool
Send
(
Ptr<Packet>
packet,
const
Address
& dest, uint16_t protocolNumber);
53
54
55
protected
:
56
// inherited from Object
57
virtual
void
DoInitialize
(
void
);
58
59
};
60
61
}
// namespace ns3
62
63
64
#endif // LTE_SIMPLE_NET_DEVICE_H
ns3::Ptr< Node >
ns3::LteSimpleNetDevice::~LteSimpleNetDevice
virtual ~LteSimpleNetDevice(void)
Definition:
lte-simple-net-device.cc:60
ns3::Address
a polymophic address class
Definition:
address.h:86
ns3::LteSimpleNetDevice::DoInitialize
virtual void DoInitialize(void)
This method is called only once by Object::Initialize.
Definition:
lte-simple-net-device.cc:74
ns3::SimpleNetDevice
This device does not have a helper and assumes 48-bit mac addressing; the default address assigned to...
Definition:
simple-net-device.h:45
ns3::LteSimpleNetDevice::LteSimpleNetDevice
LteSimpleNetDevice(void)
Definition:
lte-simple-net-device.cc:48
ns3::LteSimpleNetDevice::DoDispose
virtual void DoDispose()
This method is called by Object::Dispose or by the object's destructor, whichever comes first...
Definition:
lte-simple-net-device.cc:66
ns3::LteSimpleNetDevice::Send
virtual bool Send(Ptr< Packet > packet, const Address &dest, uint16_t protocolNumber)
Definition:
lte-simple-net-device.cc:80
ns3::LteSimpleNetDevice
The LteSimpleNetDevice class implements the LTE simple net device.
Definition:
lte-simple-net-device.h:38
ns3::LteSimpleNetDevice::GetTypeId
static TypeId GetTypeId(void)
Definition:
lte-simple-net-device.cc:35
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:49
src
lte
test
lte-simple-net-device.h
Generated on Sat Apr 19 2014 14:07:02 for ns-3 by
1.8.6