A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lte-radio-bearer-info.cc
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: Nicola Baldo <nbaldo@cttc.es>
19  */
20 
21 #include "lte-radio-bearer-info.h"
22 #include "lte-ue-rrc.h"
23 #include "lte-rlc.h"
24 #include "lte-pdcp.h"
25 
26 #include <ns3/log.h>
27 
28 
29 
30 namespace ns3 {
31 
32 NS_OBJECT_ENSURE_REGISTERED (LteRadioBearerInfo);
33 
35 {
36 }
37 
39 {
40 }
41 
43 {
44  static TypeId
45  tid =
46  TypeId ("ns3::LteRadioBearerInfo")
47  .SetParent<Object> ()
48  .AddConstructor<LteRadioBearerInfo> ()
49  .AddAttribute ("LteRlc", "RLC instance of the radio bearer.",
50  PointerValue (),
51  MakePointerAccessor (&LteRadioBearerInfo::m_rlc),
52  MakePointerChecker<LteRlc> ())
53  .AddAttribute ("LtePdcp", "PDCP instance of the radio bearer.",
54  PointerValue (),
55  MakePointerAccessor (&LteRadioBearerInfo::m_pdcp),
56  MakePointerChecker<LtePdcp> ())
57  ;
58  return tid;
59 }
60 
61 
62 
63 
64 } // namespace ns3