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 28 matching lines...) Expand all Loading... |
39 */ | 39 */ |
40 class IdealControlMessage : public SimpleRefCount<IdealControlMessage> | 40 class IdealControlMessage : public SimpleRefCount<IdealControlMessage> |
41 { | 41 { |
42 public: | 42 public: |
43 | 43 |
44 /** | 44 /** |
45 * The type of the message | 45 * The type of the message |
46 */ | 46 */ |
47 enum MessageType | 47 enum MessageType |
48 { | 48 { |
49 CQI_FEEDBACKS, ALLOCATION_MAP | 49 CQI_FEEDBACKS, ALLOCATION_MAP,SYSTEM_INFO_MIB,SYSTEM_INFO_SIB, PAGING, RRC_E
STABLISHMENT, RRC_CONN_RECONFIG, RRC_CONN_RELEASE |
50 }; | 50 }; |
51 | 51 |
52 IdealControlMessage (void); | 52 IdealControlMessage (void); |
53 virtual ~IdealControlMessage (void); | 53 virtual ~IdealControlMessage (void); |
54 | 54 |
55 /** | 55 /** |
56 * \brief Set the source device of the message | 56 * \brief Set the source device of the message |
57 * \param src the device that sends the message | 57 * \param src the device that sends the message |
58 */ | 58 */ |
59 void SetSourceDevice (Ptr<LteNetDevice> src); | 59 void SetSourceDevice (Ptr<LteNetDevice> src); |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 */ | 242 */ |
243 CqiFeedbacks* GetMessage (void); | 243 CqiFeedbacks* GetMessage (void); |
244 | 244 |
245 | 245 |
246 private: | 246 private: |
247 CqiFeedbacks *m_cqiFeedbacks; | 247 CqiFeedbacks *m_cqiFeedbacks; |
248 }; | 248 }; |
249 } // namespace ns3 | 249 } // namespace ns3 |
250 | 250 |
251 #endif /* CQI_IDEAL_CONTROL_MESSAGES_H */ | 251 #endif /* CQI_IDEAL_CONTROL_MESSAGES_H */ |
OLD | NEW |