fw4spl
Bundles/ctrl/monitor/src/monitor/Plugin.cpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #include <fwRuntime/utils/GenericExecutableFactoryRegistrar.hpp>
8 
9 #include "monitor/installSIGSEVBacktrace.hpp"
10 #include "monitor/Plugin.hpp"
11 
12 namespace monitor
13 {
14 
15 static ::fwRuntime::utils::GenericExecutableFactoryRegistrar<Plugin> registrar("::monitor::Plugin");
16 
17 //------------------------------------------------------------------------------
18 
19 Plugin::~Plugin() noexcept
20 {
21 }
22 
23 //------------------------------------------------------------------------------
24 
26 {
28 
30 }
31 
32 //------------------------------------------------------------------------------
33 
34 void Plugin::stop() noexcept
35 {
36 }
37 
38 //------------------------------------------------------------------------------
39 
40 } // namespace monitor
MONITOR_API void installSIGSEVBacktrace()
Function installing a callback which print the backtrace on a SIGSEV and SIGUSR1 signal for posix onl...
#define SLM_TRACE_FUNC()
Trace contextual function signature.
Definition: spyLog.hpp:329
void start()
Notifies the plugin about its start.
The namespace monitor contains tools for monitoring an application built with FW4SPL.
Definition: fwMetrics.hpp:14
void stop() noexcept
Notifies the plugin about its stop.