Home
Base module

IPacketInfo

An abstract interface for packet sources to provide extra information about packets.

IPacketInfo

#include <icy/packet.h>
struct IPacketInfo

Defined in src/base/include/icy/packet.h:33

Subclassed by: PacketInfo

An abstract interface for packet sources to provide extra information about packets.

List of all members

NameKindOwner
IPacketInfofunctionDeclared here
~IPacketInfofunctionDeclared here
clonefunctionDeclared here

Public Methods

ReturnNameDescription
IPacketInfoDefaulted constructor.
std::unique_ptr< IPacketInfo >clone virtual constReturns a heap-allocated deep copy of this info object.

IPacketInfo

IPacketInfo() = default

Defined in src/base/include/icy/packet.h:35

Defaulted constructor.


clone

virtual const

virtual std::unique_ptr< IPacketInfo > clone() const

Defined in src/base/include/icy/packet.h:40

Returns a heap-allocated deep copy of this info object.

Returns

Owning pointer to the cloned instance.

Reimplemented by