ArmNN
 20.05
ILocalPacketHandler Class Referenceabstract

#include <ILocalPacketHandler.hpp>

Inheritance diagram for ILocalPacketHandler:
PrintPacketHeaderHandler TestTimelinePacketHandler

Public Member Functions

virtual ~ILocalPacketHandler ()
 
virtual std::vector< uint32_t > GetHeadersAccepted ()=0
 
virtual void HandlePacket (const Packet &packet)=0
 process the packet More...
 
virtual void SetConnection (IProfilingConnection *profilingConnection)
 Set a profiling connection on the handler. More...
 

Detailed Description

Definition at line 24 of file ILocalPacketHandler.hpp.

Constructor & Destructor Documentation

◆ ~ILocalPacketHandler()

virtual ~ILocalPacketHandler ( )
inlinevirtual

Member Function Documentation

◆ GetHeadersAccepted()

virtual std::vector<uint32_t> GetHeadersAccepted ( )
pure virtual
Returns
lists the headers of the packets that this handler accepts only these packets will get sent to this handler. If this function returns an empty list then ALL packets will be sent to the PacketHandler i.e. a universal handler.

Implemented in TestTimelinePacketHandler.

Referenced by ILocalPacketHandler::~ILocalPacketHandler().

◆ HandlePacket()

virtual void HandlePacket ( const Packet &  packet)
pure virtual

process the packet

Implemented in TestTimelinePacketHandler.

Referenced by ILocalPacketHandler::~ILocalPacketHandler().

◆ SetConnection()

virtual void SetConnection ( IProfilingConnection profilingConnection)
inlinevirtual

Set a profiling connection on the handler.

Only need to implement this function if the handler will be writing data back to the profiled application.

Reimplemented in TestTimelinePacketHandler.

Definition at line 40 of file ILocalPacketHandler.hpp.

References armnn::IgnoreUnused().

40 {armnn::IgnoreUnused(profilingConnection);}
void IgnoreUnused(Ts &&...)

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