Skip to content

Commit 899f895

Browse files
ZoltanBojtheavarga
authored andcommitted
LteAirFrame: convert remoteUnitPhyDataVector to msg vector
1 parent f00cf82 commit 899f895

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
@@ -17,21 +17,15 @@ cplusplus {{
1717

1818
namespace simu5g;
1919

20-
struct RemoteUnitPhyDataVector
21-
{
22-
@existingClass;
23-
@opaque;
24-
//@toString(.str());
25-
}
26-
2720
//
2821
// This is LteAirFrame.
2922
//
3023
packet LteAirFrame extends AirFrame {
3124
@customize(true);
32-
RemoteUnitPhyDataVector remoteUnitPhyDataVector;
25+
RemoteUnitPhyData remoteUnitPhyDataVector[] @nopack;
3326
}
3427

3528
cplusplus(LteAirFrame) {{
36-
void addRemoteUnitPhyDataVector(const RemoteUnitPhyData& data) { remoteUnitPhyDataVector.push_back(data); }
29+
public:
30+
void addRemoteUnitPhyDataVector(const RemoteUnitPhyData& data) { appendRemoteUnitPhyDataVector(data); }
3731
}}

0 commit comments

Comments
 (0)