fw4spl
MemoryInfo.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2017.
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 #ifndef __MONITOR_ACTION_MEMORYINFO_HPP__
8 #define __MONITOR_ACTION_MEMORYINFO_HPP__
9 
10 #include "monitor/config.hpp"
11 
12 #include <fwGui/IActionSrv.hpp>
13 
14 namespace monitor
15 {
16 namespace action
17 {
18 
20 class MONITOR_CLASS_API MemoryInfo : public ::fwGui::IActionSrv
21 {
22 
23 public:
24 
26 
28  MONITOR_API MemoryInfo() noexcept;
29 
31  MONITOR_API virtual ~MemoryInfo() noexcept;
32 
33 protected:
34 
36  void configuring() override;
37 
39  void starting() override;
40 
42  void updating() override;
43 
45  void stopping() override;
46 
47 };
48 
49 } // namespace action
50 } // namespace monitor
51 
52 #endif // __MONITOR_ACTION_MEMORYINFO_HPP__
53 
Defines the service interface managing the menu items.
Definition: IActionSrv.hpp:24
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace monitor contains tools for monitoring an application built with FW4SPL.
Definition: fwMetrics.hpp:14
Implements an action to show in a message box few memory information.
Definition: MemoryInfo.hpp:20