Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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. More...
 
static void Stop ()
 Stop reception of trace on/off commands. More...
 

Detailed Description

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

Member Function Documentation

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. If the connection is closed the reception of backdoor commands is stopped. If a new connection is opened this method needs to be called in order to start reception of backdoor commands.

In situations when a connection is regularly closed and reopened, for instance in the case of context switches, you should consider using a dedicated connection as parameter.

Parameters
connection[in] The connection used for setting up a subscription for backdoor commands.
static void Safir::Application::TracerBackdoor::Stop ( )
static

Stop reception of trace on/off commands.