MSG File src/simu5g/apps/mec/WarningAlert/packets/WarningAlertPacket.msg

Name

Type

Description

WarningAppPacket

class

(no description)

WarningAlertPacket

class

(no description)

WarningStartPacket

class

(no description)

WarningStopPacket

class

(no description)

Source code

//
//                  Simu5G
//
// Copyright (C) 2019-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa)
// Copyright (C) 2022-2026 Giovanni Nardini, Giovanni Stea et al. (University of Pisa)
//
// This file is part of a software released under the license included in file
// "license.pdf". Please read LICENSE and README files before using it.
// The above files and the present reference are part of the software itself,
// and cannot be removed from it.
//

import simu5g.mec.platform.MecPackets;

namespace simu5g;

class WarningAppPacket extends MecPacket
{
}

class WarningAlertPacket extends WarningAppPacket
{
    double positionX;
    double positionY;
    double positionZ;
    bool danger;
}

class WarningStartPacket extends WarningAppPacket
{
     double centerPositionX;
     double centerPositionY;
     double centerPositionZ;

     double radius;
}

class WarningStopPacket extends WarningAppPacket
{
}