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
send-params.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2007,2008 INRIA
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: Jahanzeb Farooq <jahanzeb.farooq@sophia.inria.fr>
19
*/
20
21
22
23
#ifndef SEND_PARAMS_H
24
#define SEND_PARAMS_H
25
26
#include <stdint.h>
27
28
namespace
ns3 {
29
30
class
WimaxPhy;
31
43
class
SendParams
44
{
45
public
:
46
SendParams
();
47
virtual
~SendParams
();
48
49
private
:
50
};
51
52
}
// namespace ns3
53
54
#endif
/* SEND_PARAMS_H */
55
56
#ifndef OFDM_SEND_PARAMS_H
57
#define OFDM_SEND_PARAMS_H
58
59
#include <stdint.h>
60
#include "ns3/packet-burst.h"
61
62
namespace
ns3 {
63
64
class
OfdmSendParams
:
public
SendParams
65
{
69
public
:
70
OfdmSendParams
(
Ptr<PacketBurst>
burst, uint8_t modulationType,
71
uint8_t direction);
72
~OfdmSendParams
();
73
Ptr<PacketBurst>
GetBurst
()
const
74
{
75
return
m_burst
;
76
}
77
78
uint8_t
GetModulationType
()
const
79
{
80
return
m_modulationType
;
81
}
82
83
uint8_t
GetDirection
()
const
84
{
85
return
m_direction
;
86
}
87
88
private
:
89
Ptr<PacketBurst>
m_burst
;
90
uint8_t
m_modulationType
;
91
uint8_t
m_direction
;
92
};
93
94
}
// namespace ns3
95
96
#endif
/* OFDM_SEND_PARAMS_H */
ns3::Ptr
smart pointer class similar to boost::intrusive_ptr
Definition:
ptr.h:59
ns3::OfdmSendParams::~OfdmSendParams
~OfdmSendParams()
Definition:
send-params.cc:45
ns3::SendParams
The SendParams class defines the parameters with which Send() function of a particular PHY is called...
Definition:
send-params.h:43
ns3::OfdmSendParams
Definition:
send-params.h:64
ns3::OfdmSendParams::m_modulationType
uint8_t m_modulationType
Definition:
send-params.h:90
ns3::OfdmSendParams::OfdmSendParams
OfdmSendParams(Ptr< PacketBurst > burst, uint8_t modulationType, uint8_t direction)
Definition:
send-params.cc:36
ns3::SendParams::~SendParams
virtual ~SendParams()
Definition:
send-params.cc:30
ns3::OfdmSendParams::GetDirection
uint8_t GetDirection() const
Definition:
send-params.h:83
ns3::SendParams::SendParams
SendParams()
Definition:
send-params.cc:26
ns3::OfdmSendParams::GetModulationType
uint8_t GetModulationType() const
Definition:
send-params.h:78
ns3::OfdmSendParams::m_burst
Ptr< PacketBurst > m_burst
Definition:
send-params.h:89
ns3::OfdmSendParams::GetBurst
Ptr< PacketBurst > GetBurst() const
Definition:
send-params.h:73
ns3::OfdmSendParams::m_direction
uint8_t m_direction
Definition:
send-params.h:91
src
wimax
model
send-params.h
Generated on Sat Apr 19 2014 14:07:13 for ns-3 by
1.8.6