Safir SDK Core
Loading...
Searching...
No Matches
Safir::Application::TracerBackdoor Class Reference

This class just contains two static methods, for starting and stopping the tracers backdoor. More...

#include <Safir/Application/Tracer.h>

Static Public Member Functions

static void Start (const Safir::Dob::ConnectionBase &connection)
 Start reception of trace on/off commands.
 
static void Stop ()
 Stop reception of trace on/off commands.
 

Detailed Description

This class just contains two static methods, for starting and stopping the tracers backdoor.

Member Function Documentation

◆ Start()

static void Safir::Application::TracerBackdoor::Start ( const Safir::Dob::ConnectionBase & connection)
static

Start reception of trace on/off commands.

The given connection must be opened before this method is called. The connection name is just used for listening to the appropriate backdoor commands. The tracer will open its own connection in a background thread.

Parameters
connection[in] Connection whose name determines which backdoor commands to observe. The connection must already be open when this function is called.

◆ Stop()

static void Safir::Application::TracerBackdoor::Stop ( )
static

Stop reception of trace on/off commands.