Skip to content

Commit e08920e

Browse files
ZoltanBojtheavarga
authored andcommitted
LteAirFrame: convert remoteUnitPhyDataVector to msg vector
1 parent b2c7e06 commit e08920e

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

src/simu5g/stack/phy/packet/LteAirFrame.msg

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,15 @@ cplusplus {{
1919

2020
namespace simu5g;
2121

22-
struct RemoteUnitPhyDataVector
23-
{
24-
@existingClass;
25-
@opaque;
26-
//@toString(.str());
27-
}
28-
2922
//
3023
// This is LteAirFrame.
3124
//
3225
packet LteAirFrame extends AirFrame {
33-
RemoteUnitPhyDataVector remoteUnitPhyDataVector;
26+
RemoteUnitPhyData remoteUnitPhyDataVector[] @nopack;
3427
UserControlInfo additionalInfo @nopack;
3528
}
3629

3730
cplusplus(LteAirFrame) {{
38-
void addRemoteUnitPhyDataVector(const RemoteUnitPhyData& data) { remoteUnitPhyDataVector.push_back(data); }
31+
public:
32+
void addRemoteUnitPhyDataVector(const RemoteUnitPhyData& data) { appendRemoteUnitPhyDataVector(data); }
3933
}}

0 commit comments

Comments
 (0)