paqueteCnC
Loading...
Searching...
No Matches
packet_extended_housekeeping_basic.h
Go to the documentation of this file.
1
27#ifndef PACKET_EXTENDED_HOUSEKEEPING_BASIC_H
28#define PACKET_EXTENDED_HOUSEKEEPING_BASIC_H
29
30#include <vector>
31#include <unordered_map>
32
33#include "../packet.h"
35
37public:
38
56 static std::unordered_map<uint16_t, std::vector<uint8_t>> structureIdDefinitions;
57
58 PacketExtendedHousekeeping(const Packet& packet, uint16_t structureId);
59
60 /****** Methods from composited classes ******/
61
71
79
80 /****** Methods from this class ******/
81
87 uint16_t getStructureIdentifier();
88private:
89 PacketExtendedBasic packetBasic_;
90 uint16_t structureId_;
91};
92
93#endif
Definition: packet_extended_basic.h:13
Definition: packet_extended_housekeeping_basic.h:36
PacketExtendedHousekeeping swapApplicationIdFields()
Calls the packet extended housekeeping implementation of this method.
Definition: packet_extended_housekeeping_basic.cpp:14
Packet & getPacket()
Calls the packet extended housekeeping implementation of this method.
Definition: packet_extended_housekeeping_basic.cpp:10
static std::unordered_map< uint16_t, std::vector< uint8_t > > structureIdDefinitions
SID definitions for interpretation of the parameters field.
Definition: packet_extended_housekeeping_basic.h:56
uint16_t getStructureIdentifier()
Get the Structure Identifier.
Definition: packet_extended_housekeeping_basic.cpp:23
Definition: packet.h:26
Higher level packet for the services.