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 |