OLD | NEW |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari | 3 * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 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 | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "ns3/object.h" | 24 #include "ns3/object.h" |
25 #include <list> | 25 #include <list> |
26 #include "radio-bearer-instance.h" | 26 #include "radio-bearer-instance.h" |
27 #include <vector> | 27 #include <vector> |
28 | 28 |
29 namespace ns3 { | 29 namespace ns3 { |
30 | 30 |
31 class IpcsClassifierRecord; | 31 class IpcsClassifierRecord; |
32 class BearerManager; | 32 class BearerManager; |
33 class Bearer; | 33 class Bearer; |
| 34 class IdealControlMessage; |
34 | 35 |
35 /** | 36 /** |
36 * \ingroup lte | |
37 * | |
38 * \brief This class implements the RRC entity | 37 * \brief This class implements the RRC entity |
39 */ | 38 */ |
40 class RrcEntity : public Object | 39 class RrcEntity : public Object |
41 { | 40 { |
42 public: | 41 public: |
43 static TypeId GetTypeId (void); | 42 static TypeId GetTypeId (void); |
44 | 43 |
45 RrcEntity (void); | 44 RrcEntity (void); |
46 virtual ~RrcEntity (void); | 45 virtual ~RrcEntity (void); |
47 virtual void DoDispose (void); | 46 virtual void DoDispose (void); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 * \return a pointer to the selected bearer | 106 * \return a pointer to the selected bearer |
108 */ | 107 */ |
109 Ptr<RadioBearerInstance> Classify (Ptr<Packet> p) const; | 108 Ptr<RadioBearerInstance> Classify (Ptr<Packet> p) const; |
110 | 109 |
111 /** | 110 /** |
112 * \brief Get a default bearer | 111 * \brief Get a default bearer |
113 * \return a pointer to the defoult bearer | 112 * \return a pointer to the defoult bearer |
114 */ | 113 */ |
115 Ptr<RadioBearerInstance> GetDefaultBearer (void); | 114 Ptr<RadioBearerInstance> GetDefaultBearer (void); |
116 | 115 |
| 116 virtual void SendRrcIdealControlMessage(Ptr < IdealControlMessage > msg) = 0; |
| 117 ········ |
| 118 virtual void ReceiveRrcIdealControlMessage (Ptr<IdealControlMessage> msg) = 0; |
| 119 |
117 private: | 120 private: |
118 | 121 |
119 void DisposeAllElements (BearersContainer *c); | 122 void DisposeAllElements (BearersContainer *c); |
120 | 123 |
121 BearersContainer* m_downlinkGbrBearersContainer; | 124 BearersContainer* m_downlinkGbrBearersContainer; |
122 BearersContainer* m_downlinkNgbrBearersContainer; | 125 BearersContainer* m_downlinkNgbrBearersContainer; |
123 | 126 |
124 BearersContainer* m_uplinkGbrBearersContainer; | 127 BearersContainer* m_uplinkGbrBearersContainer; |
125 BearersContainer* m_uplinkNgbrBearersContainer; | 128 BearersContainer* m_uplinkNgbrBearersContainer; |
126 | 129 |
127 Ptr<RadioBearerInstance> m_defaultBearer; | 130 Ptr<RadioBearerInstance> m_defaultBearer; |
128 | 131 |
129 }; | 132 }; |
130 | 133 |
131 | 134 |
132 } // namespace ns3 | 135 } // namespace ns3 |
133 | 136 |
134 #endif /* RRC_ENTITY_H */ | 137 #endif /* RRC_ENTITY_H */ |
OLD | NEW |