Skip to content

Commit

Permalink
src: move c++/ned files, adjust includes/imports
Browse files Browse the repository at this point in the history
So that simple module NED and C++ class impl are in the same directory.
  • Loading branch information
avarga committed Jan 23, 2025
1 parent 7dc6366 commit 395c9fe
Show file tree
Hide file tree
Showing 123 changed files with 164 additions and 161 deletions.
2 changes: 1 addition & 1 deletion src/apps/d2dMultihop/MultihopD2D.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "apps/d2dMultihop/MultihopD2D.h"
#include "apps/d2dMultihop/TrickleTimerMsg_m.h"
#include "stack/mac/layer/LteMacBase.h"
#include "stack/mac/LteMacBase.h"

namespace simu5g {

Expand Down
4 changes: 2 additions & 2 deletions src/apps/d2dMultihop/MultihopD2D.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include "apps/d2dMultihop/MultihopD2DPacket_m.h"
#include "apps/d2dMultihop/statistics/MultihopD2DStatistics.h"
#include "apps/d2dMultihop/eventGenerator/EventGenerator.h"
#include "stack/mac/layer/LteMacBase.h"
#include "stack/phy/layer/LtePhyBase.h"
#include "stack/mac/LteMacBase.h"
#include "stack/phy/LtePhyBase.h"

namespace simu5g {

Expand Down
2 changes: 1 addition & 1 deletion src/apps/d2dMultihop/eventGenerator/EventGenerator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include "apps/d2dMultihop/eventGenerator/EventGenerator.h"
#include "common/LteCommon.h"
#include "stack/phy/layer/LtePhyBase.h"
#include "stack/phy/LtePhyBase.h"

namespace simu5g {

Expand Down
2 changes: 1 addition & 1 deletion src/apps/d2dMultihop/eventGenerator/EventGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "apps/d2dMultihop/MultihopD2D.h"
#include "common/binder/Binder.h"
#include "stack/phy/layer/LtePhyBase.h"
#include "stack/phy/LtePhyBase.h"

namespace simu5g {

Expand Down
2 changes: 1 addition & 1 deletion src/apps/mecRequestResponseApp/MecRequestApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "apps/mecRequestResponseApp/packets/MecRequestResponsePacket_m.h"
#include "apps/mecRequestResponseApp/packets/MigrationTimer_m.h"
#include "stack/phy/layer/NRPhyUe.h"
#include "stack/phy/NRPhyUe.h"

namespace simu5g {

Expand Down
2 changes: 1 addition & 1 deletion src/common/LteCommon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "common/binder/Binder.h"
#include "common/cellInfo/CellInfo.h"
#include "corenetwork/trafficFlowFilter/TftControlInfo_m.h"
#include "stack/mac/layer/LteMacEnb.h"
#include "stack/mac/LteMacEnb.h"
#include "x2/packet/X2ControlInfo_m.h"

namespace simu5g {
Expand Down
4 changes: 2 additions & 2 deletions src/common/binder/Binder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#include "common/binder/Binder.h"
#include "corenetwork/statsCollector/BaseStationStatsCollector.h"
#include "corenetwork/statsCollector/UeStatsCollector.h"
#include "stack/mac/layer/LteMacUe.h"
#include "stack/phy/layer/LtePhyUe.h"
#include "stack/mac/LteMacUe.h"
#include "stack/phy/LtePhyUe.h"

namespace simu5g {

Expand Down
2 changes: 1 addition & 1 deletion src/common/binder/Binder.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "common/LteCommon.h"
#include "common/blerCurves/PhyPisaData.h"
#include "nodes/ExtCell.h"
#include "stack/mac/layer/LteMacBase.h"
#include "stack/mac/LteMacBase.h"

namespace simu5g {

Expand Down
4 changes: 1 addition & 3 deletions src/corenetwork/statsCollector/BaseStationStatsCollector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
#include "corenetwork/statsCollector/BaseStationStatsCollector.h"
#include "corenetwork/statsCollector/UeStatsCollector.h"
#include "stack/packetFlowManager/PacketFlowManagerEnb.h"
#include "stack/rlc/um/LteRlcUm.h"
#include "stack/pdcp_rrc/layer/LtePdcpRrc.h"
#include "stack/mac/layer/LteMacEnb.h"
#include "stack/mac/LteMacEnb.h"
#include <string>

namespace simu5g {
Expand Down
4 changes: 2 additions & 2 deletions src/corenetwork/statsCollector/BaseStationStatsCollector.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include <map>
#include "corenetwork/statsCollector/L2Measures/L2MeasBase.h"
#include "common/cellInfo/CellInfo.h"
#include "stack/mac/layer/LteMacEnb.h"
#include "stack/pdcp_rrc/layer/LtePdcpRrc.h"
#include "stack/mac/LteMacEnb.h"
#include "stack/pdcp_rrc/LtePdcpRrc.h"
#include "stack/rlc/um/LteRlcUm.h"
#include "stack/packetFlowManager/PacketFlowManagerEnb.h"

Expand Down
4 changes: 2 additions & 2 deletions src/corenetwork/statsCollector/UeStatsCollector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
#include <inet/networklayer/common/NetworkInterface.h>

#include "corenetwork/statsCollector/UeStatsCollector.h"
#include "stack/mac/layer/LteMacBase.h"
#include "stack/mac/LteMacBase.h"
#include "stack/packetFlowManager/PacketFlowManagerUe.h"
#include "stack/pdcp_rrc/layer/LtePdcpRrc.h"
#include "stack/pdcp_rrc/LtePdcpRrc.h"

namespace simu5g {

Expand Down
4 changes: 2 additions & 2 deletions src/corenetwork/statsCollector/UeStatsCollector.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
#include "corenetwork/statsCollector/L2Measures/L2MeasBase.h"
#include <string>
#include "corenetwork/statsCollector/UeStatsCollector.h"
#include "stack/mac/layer/LteMacBase.h"
#include "stack/mac/LteMacBase.h"
#include "stack/packetFlowManager/PacketFlowManagerUe.h"
// #include "stack/pdcp_rrc/layer/LtePdcpRrc.h"
// #include "stack/pdcp_rrc/LtePdcpRrc.h"

namespace simu5g {

Expand Down
4 changes: 2 additions & 2 deletions src/nodes/backgroundCell/BackgroundCellChannelModel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

#include "nodes/backgroundCell/BackgroundCellChannelModel.h"
#include "nodes/backgroundCell/BackgroundScheduler.h"
#include "stack/phy/layer/LtePhyBase.h"
#include "stack/phy/layer/LtePhyUe.h"
#include "stack/phy/LtePhyBase.h"
#include "stack/phy/LtePhyUe.h"
#include "stack/phy/ChannelModel/LteRealisticChannelModel.h"

namespace simu5g {
Expand Down
4 changes: 2 additions & 2 deletions src/nodes/backgroundCell/BackgroundCellTrafficManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
#include "nodes/backgroundCell/BackgroundCellAmc.h"
#include "nodes/backgroundCell/BackgroundCellAmcNr.h"
#include "stack/backgroundTrafficGenerator/ActiveUeNotification_m.h"
#include "stack/mac/layer/LteMacEnb.h"
#include "stack/phy/layer/LtePhyEnb.h"
#include "stack/mac/LteMacEnb.h"
#include "stack/phy/LtePhyEnb.h"
#include "stack/phy/ChannelModel/LteChannelModel.h"

namespace simu5g {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#include "common/blerCurves/PhyPisaData.h"
#include "stack/backgroundTrafficGenerator/BackgroundTrafficManagerBase.h"
#include "stack/backgroundTrafficGenerator/generators/TrafficGeneratorBase.h"
#include "stack/mac/layer/LteMacEnb.h"
#include "stack/phy/layer/LtePhyEnb.h"
#include "stack/mac/LteMacEnb.h"
#include "stack/phy/LtePhyEnb.h"

namespace simu5g {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#include "common/blerCurves/PhyPisaData.h"
#include "stack/backgroundTrafficGenerator/IBackgroundTrafficManager.h"
#include "stack/backgroundTrafficGenerator/generators/TrafficGeneratorBase.h"
#include "stack/mac/layer/LteMacEnb.h"
#include "stack/phy/layer/LtePhyEnb.h"
#include "stack/mac/LteMacEnb.h"
#include "stack/phy/LtePhyEnb.h"

namespace simu5g {

Expand Down
2 changes: 1 addition & 1 deletion src/stack/compManager/LteCompManagerBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define LTE_LTECOMPMANAGERBASE_H_

#include "common/LteCommon.h"
#include "stack/mac/layer/LteMacEnb.h"
#include "stack/mac/LteMacEnb.h"
#include "stack/mac/buffer/LteMacBuffer.h"
#include "x2/packet/X2ControlInfo_m.h"
#include "stack/compManager/X2CompMsg.h"
Expand Down
2 changes: 1 addition & 1 deletion src/stack/d2dModeSelection/D2DModeSelectionBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <inet/common/ModuleRefByPar.h>

#include "stack/mac/layer/LteMacEnbD2D.h"
#include "stack/mac/LteMacEnbD2D.h"

namespace simu5g {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// and cannot be removed from it.
//

#include "stack/d2dModeSelection/d2dModeSelectionBestCqi/D2DModeSelectionBestCqi.h"
#include "stack/d2dModeSelection/D2DModeSelectionBestCqi.h"

namespace simu5g {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "common/LteCommon.h"
#include "x2/packet/X2ControlInfo_m.h"
#include "stack/dualConnectivityManager/X2DualConnectivityDataMsg.h"
#include "stack/pdcp_rrc/layer/LtePdcpRrc.h"
#include "stack/pdcp_rrc/LtePdcpRrc.h"

namespace simu5g {

Expand Down
2 changes: 1 addition & 1 deletion src/stack/ip2nic/IP2Nic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <inet/linklayer/common/InterfaceTag_m.h>

#include "stack/ip2nic/IP2Nic.h"
#include "stack/mac/layer/LteMacBase.h"
#include "stack/mac/LteMacBase.h"
#include "common/binder/Binder.h"
#include "common/cellInfo/CellInfo.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "common/LteControlInfo.h"
#include "common/binder/Binder.h"
#include "common/cellInfo/CellInfo.h"
#include "stack/mac/layer/LteMacBase.h"
#include "stack/mac/LteMacBase.h"
#include "stack/mac/buffer/harq/LteHarqBufferTx.h"
#include "stack/mac/buffer/harq_d2d/LteHarqBufferRxD2D.h"
#include "stack/mac/buffer/harq/LteHarqBufferRx.h"
Expand All @@ -23,7 +23,7 @@
#include "stack/mac/buffer/LteMacBuffer.h"
#include "assert.h"
#include "stack/packetFlowManager/PacketFlowManagerBase.h"
#include "stack/phy/layer/LtePhyBase.h"
#include "stack/phy/LtePhyBase.h"

namespace simu5g {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include <inet/common/TimeTag_m.h>

#include "common/LteCommon.h"
#include "stack/mac/layer/LteMacEnb.h"
#include "stack/mac/layer/LteMacUe.h"
#include "stack/mac/LteMacEnb.h"
#include "stack/mac/LteMacUe.h"
#include "stack/mac/buffer/harq/LteHarqBufferRx.h"
#include "stack/mac/buffer/LteMacBuffer.h"
#include "stack/mac/buffer/LteMacQueue.h"
Expand All @@ -30,12 +30,12 @@
#include "stack/mac/amc/UserTxParams.h"
#include "stack/mac/packet/LteRac_m.h"
#include "stack/mac/packet/LteMacSduRequest.h"
#include "stack/phy/layer/LtePhyBase.h"
#include "stack/phy/LtePhyBase.h"
#include "stack/rlc/packet/LteRlcDataPdu.h"
#include "stack/rlc/am/packet/LteRlcAmPdu_m.h"
#include "stack/packetFlowManager/PacketFlowManagerBase.h"
#include "stack/rlc/um/LteRlcUm.h"
#include "stack/pdcp_rrc/layer/NRPdcpRrcEnb.h"
#include "stack/pdcp_rrc/NRPdcpRrcEnb.h"

namespace simu5g {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <inet/common/ModuleRefByPar.h>

#include "common/cellInfo/CellInfo.h"
#include "stack/mac/layer/LteMacBase.h"
#include "stack/mac/LteMacBase.h"
#include "stack/mac/amc/LteAmc.h"
#include "common/LteCommon.h"
#include "stack/backgroundTrafficGenerator/IBackgroundTrafficManager.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
// and cannot be removed from it.
//

#include "stack/mac/layer/LteMacEnbD2D.h"
#include "stack/mac/layer/LteMacUeD2D.h"
#include "stack/mac/LteMacEnbD2D.h"
#include "stack/mac/LteMacUeD2D.h"
#include "stack/phy/packet/LteFeedbackPkt.h"
#include "stack/mac/buffer/harq/LteHarqBufferRx.h"
#include "stack/mac/amc/AmcPilotD2D.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#ifndef _LTE_LTEMACENBD2D_H_
#define _LTE_LTEMACENBD2D_H_

#include "stack/mac/layer/LteMacEnb.h"
#include "stack/mac/LteMacEnb.h"
#include "stack/mac/buffer/LteMacBuffer.h"
#include "stack/mac/buffer/harq_d2d/LteHarqBufferMirrorD2D.h"
#include "stack/d2dModeSelection/D2DModeSwitchNotification_m.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// and cannot be removed from it.
//

#include "stack/mac/layer/LteMacUe.h"
#include "stack/mac/LteMacUe.h"

#include <inet/networklayer/ipv4/Ipv4InterfaceData.h>

Expand Down
4 changes: 2 additions & 2 deletions src/stack/mac/layer/LteMacUe.h → src/stack/mac/LteMacUe.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#ifndef _LTE_LTEMACUE_H_
#define _LTE_LTEMACUE_H_

#include "stack/mac/layer/LteMacBase.h"
#include "stack/phy/layer/LtePhyBase.h"
#include "stack/mac/LteMacBase.h"
#include "stack/phy/LtePhyBase.h"
#include "stack/mac/buffer/harq/LteHarqBufferTx.h"
#include "stack/phy/feedback/LteFeedback.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// and cannot be removed from it.
//

#include "stack/mac/layer/LteMacUeD2D.h"
#include "stack/mac/LteMacUeD2D.h"

#include "stack/mac/buffer/harq/LteHarqBufferRx.h"
#include "stack/mac/buffer/LteMacQueue.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#ifndef _LTE_LTEMACUED2D_H_
#define _LTE_LTEMACUED2D_H_

#include "stack/mac/layer/LteMacUe.h"
#include "stack/mac/layer/LteMacEnbD2D.h"
#include "stack/mac/LteMacUe.h"
#include "stack/mac/LteMacEnbD2D.h"
#include "stack/mac/buffer/harq_d2d/LteHarqBufferTxD2D.h"

namespace simu5g {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// The above files and the present reference are part of the software itself,
// and cannot be removed from it.
//
#include "stack/mac/layer/NRMacGnb.h"
#include "stack/mac/NRMacGnb.h"
#include "stack/mac/scheduler/NRSchedulerGnbUl.h"

namespace simu5g {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#ifndef _NRMACGNB_H_
#define _NRMACGNB_H_

#include "stack/mac/layer/LteMacEnbD2D.h"
#include "stack/mac/LteMacEnbD2D.h"

namespace simu5g {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// and cannot be removed from it.
//

#include "stack/mac/layer/NRMacUe.h"
#include "stack/mac/NRMacUe.h"

#include <inet/common/TimeTag_m.h>

Expand Down
2 changes: 1 addition & 1 deletion src/stack/mac/layer/NRMacUe.h → src/stack/mac/NRMacUe.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#ifndef _NRMACUED2D_H_
#define _NRMACUED2D_H_

#include "stack/mac/layer/LteMacUeD2D.h"
#include "stack/mac/LteMacUeD2D.h"

namespace simu5g {

Expand Down
2 changes: 1 addition & 1 deletion src/stack/mac/allocator/LteAllocationModule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#include "stack/mac/allocator/LteAllocationModule.h"
#include "stack/mac/layer/LteMacEnb.h"
#include "stack/mac/LteMacEnb.h"

namespace simu5g {

Expand Down
2 changes: 1 addition & 1 deletion src/stack/mac/allocator/LteAllocationModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "common/LteCommon.h"
#include "stack/mac/allocator/LteAllocatorUtils.h"

#include "stack/mac/layer/LteMacEnb.h"
#include "stack/mac/LteMacEnb.h"

namespace simu5g {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#include "stack/mac/allocator/LteAllocationModuleFrequencyReuse.h"
#include "stack/mac/layer/LteMacEnb.h"
#include "stack/mac/LteMacEnb.h"

namespace simu5g {

Expand Down
2 changes: 1 addition & 1 deletion src/stack/mac/amc/LteAmc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <omnetpp.h>

#include "stack/mac/amc/LteAmc.h"
#include "stack/mac/layer/LteMacEnb.h"
#include "stack/mac/LteMacEnb.h"

// NOTE: AMC Pilots header file inclusions must go here
#include "stack/mac/amc/AmcPilotAuto.h"
Expand Down
Loading

0 comments on commit 395c9fe

Please sign in to comment.