paqueteCnC
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PacketExtendedLargeData1 Class Reference

Public Member Functions

 PacketExtendedLargeData1 (const Packet &packet, uint8_t largeDataUnitId, uint16_t sequenceNumber, const std::vector< std::byte > &data)
 
 PacketExtendedLargeData1 (const Packet &packet, uint8_t largeDataUnitId, uint16_t sequenceNumber, std::vector< std::byte > &&data)
 
PacketgetPacket ()
 Calls the packet extended basic implementation of this method.
 
PacketExtendedLargeData1 swapApplicationIdFields ()
 Calls the packet extended basic implementation of this method.
 
uint8_t getLargeDataUnitId ()
 Calls the packet extended large data implementation of this method.
 
uint16_t getSequenceNumber ()
 
void setSequenceNumber (const uint16_t newSequenceNumber)
 
std::vector< std::byte > & getData ()
 
void setData (const std::vector< std::byte > &newData)
 
void setData (std::vector< std::byte > &&newData)
 

Member Function Documentation

◆ getLargeDataUnitId()

uint8_t PacketExtendedLargeData1::getLargeDataUnitId ( )

Calls the packet extended large data implementation of this method.

Returns
uint8_t

◆ getPacket()

Packet & PacketExtendedLargeData1::getPacket ( )

Calls the packet extended basic implementation of this method.

To avoid having to define all the getters here.

Returns
const Packet&

◆ swapApplicationIdFields()

PacketExtendedLargeData1 PacketExtendedLargeData1::swapApplicationIdFields ( )

Calls the packet extended basic implementation of this method.

Returns
PacketExtendedLargeData1

The documentation for this class was generated from the following files: