Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1045)

Unified Diff: src/lte/model/component-carrier-enb.h

Issue 250600043: GSoC 2015 - Carrier Aggregation - Control Plane
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/lte/helper/mac-stats-calculator.cc ('k') | src/lte/model/component-carrier-enb.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lte/model/component-carrier-enb.h
===================================================================
--- a/src/lte/model/component-carrier-enb.h
+++ b/src/lte/model/component-carrier-enb.h
@@ -29,9 +29,12 @@
#include "ns3/lte-phy.h"
#include <ns3/lte-enb-phy.h>
#include <ns3/pointer.h>
-
+//#include <ns3/lte-enb-mac.h>
namespace ns3 {
+class LteEnbMac;
+class FfMacScheduler;
+class LteFfrAlgorithm;
/**
* \ingroup lte
*
@@ -53,6 +56,21 @@
Ptr<LteEnbPhy> GetPhy (void) const;
Ptr<LteEnbPhy> m_phy;
+ /**
+ * \return a pointer to the MAC layer.
+ */
+ Ptr<LteEnbMac> GetMac (void) const;
+ Ptr<LteFfrAlgorithm> GetFfrAlgorithm () const;
+ Ptr<FfMacScheduler> GetFfMacScheduler () const;
+ void SetFfrAlgorithm (Ptr<LteFfrAlgorithm> s);
+ void SetMac (Ptr<LteEnbMac> s);
+ void SetFfMacScheduler (Ptr<FfMacScheduler> s);
+
+
+
+ Ptr<LteEnbMac> m_mac;
+ Ptr<FfMacScheduler> m_scheduler;
+ Ptr<LteFfrAlgorithm> m_ffrAlgorithm;
protected:
// inherited from Object
« no previous file with comments | « src/lte/helper/mac-stats-calculator.cc ('k') | src/lte/model/component-carrier-enb.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b