WarningAlertPacketSerializer.h Source File

Simu5G: WarningAlertPacketSerializer.h Source File
Simu5G
WarningAlertPacketSerializer.h
1//
2// Simu5G
3//
4// Copyright (C) 2019-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa)
5// Copyright (C) 2022-2026 Giovanni Nardini, Giovanni Stea et al. (University of Pisa)
6//
7// This file is part of a software released under the license included in file
8// "license.pdf". Please read LICENSE and README files before using it.
9// The above files and the present reference are part of the software itself,
10// and cannot be removed from it.
11//
12
13#ifndef _WARNINGALERTPACKETSERIALIZER_H_
14#define _WARNINGALERTPACKETSERIALIZER_H_
15
16#include <inet/common/packet/serializer/FieldsChunkSerializer.h>
17
18namespace simu5g {
19
20using namespace inet;
21
40class WarningAlertPacketSerializer : public FieldsChunkSerializer
41{
42 protected:
43 void serialize(MemoryOutputStream& stream, const Ptr<const Chunk>& chunk) const override;
44 const Ptr<Chunk> deserialize(MemoryInputStream& stream) const override;
45};
46
47} //namespace
48
49#endif
50
Definition WarningAlertPacketSerializer.h:41
Definition AlertReceiver.h:24