20.02
|
#include <CommandHandler.hpp>
Public Member Functions | |
CommandHandler (uint32_t timeout, bool stopAfterTimeout, CommandHandlerRegistry &commandHandlerRegistry, PacketVersionResolver &packetVersionResolver) | |
~CommandHandler () | |
void | SetTimeout (uint32_t timeout) |
void | SetStopAfterTimeout (bool stopAfterTimeout) |
void | Start (IProfilingConnection &profilingConnection) |
void | Stop () |
bool | IsRunning () const |
Definition at line 21 of file CommandHandler.hpp.
|
inline |
Definition at line 24 of file CommandHandler.hpp.
|
inline |
|
inline |
Definition at line 43 of file CommandHandler.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), and CommandHandler::Start().
|
inline |
Definition at line 39 of file CommandHandler.hpp.
References CommandHandler::Start(), and CommandHandler::Stop().
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 38 of file CommandHandler.hpp.
void Start | ( | IProfilingConnection & | profilingConnection | ) |
Definition at line 17 of file CommandHandler.cpp.
References CommandHandler::IsRunning().
Referenced by BOOST_AUTO_TEST_CASE(), CommandHandler::SetStopAfterTimeout(), and ProfilingService::Update().
void Stop | ( | ) |
Definition at line 34 of file CommandHandler.cpp.
References ARMNN_LOG, Version::GetEncodedValue(), CommandHandlerRegistry::GetFunctor(), Packet::GetPacketFamily(), Packet::GetPacketId(), Packet::IsEmpty(), IProfilingConnection::IsOpen(), IProfilingConnection::ReadPacket(), PacketVersionResolver::ResolvePacketVersion(), armnn::warning, and Exception::what().
Referenced by BOOST_AUTO_TEST_CASE(), ProfilingService::GetSendTimelinePacket(), CommandHandler::SetStopAfterTimeout(), ProfilingService::Update(), and CommandHandler::~CommandHandler().