ArmNN
 21.08
ILocalPacketHandler Class Referenceabstract

#include <ILocalPacketHandler.hpp>

Inheritance diagram for ILocalPacketHandler:
PrintPacketHeaderHandler RequestCountersPacketHandler StreamMetaDataProcessor TestTimelinePacketHandler

Public Member Functions

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

Detailed Description

Definition at line 53 of file ILocalPacketHandler.hpp.

Constructor & Destructor Documentation

◆ ~ILocalPacketHandler()

virtual ~ILocalPacketHandler ( )
inlinevirtual

Definition at line 56 of file ILocalPacketHandler.hpp.

56 {};

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, StreamMetaDataProcessor, and RequestCountersPacketHandler.

◆ HandlePacket()

virtual void HandlePacket ( const arm::pipe::Packet &  packet)
pure virtual

◆ SetConnection()

virtual void SetConnection ( IInternalProfilingConnection 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, and RequestCountersPacketHandler.

Definition at line 69 of file ILocalPacketHandler.hpp.

References armnn::IgnoreUnused().

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

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