comparison Core/MetricsRegistry.h @ 3992:f9863630ec7f

working on the shared library for Orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Jun 2020 16:07:01 +0200
parents 94f4a18a79cc
children 05a363186da6
comparison
equal deleted inserted replaced
3991:5d2348b39392 3992:f9863630ec7f
31 **/ 31 **/
32 32
33 33
34 #pragma once 34 #pragma once
35 35
36 #include "OrthancFramework.h"
37
36 #if !defined(ORTHANC_SANDBOXED) 38 #if !defined(ORTHANC_SANDBOXED)
37 # error The macro ORTHANC_SANDBOXED must be defined 39 # error The macro ORTHANC_SANDBOXED must be defined
38 #endif 40 #endif
39 41
40 #if ORTHANC_SANDBOXED == 1 42 #if ORTHANC_SANDBOXED == 1
53 MetricsType_MaxOver1Minute, 55 MetricsType_MaxOver1Minute,
54 MetricsType_MinOver10Seconds, 56 MetricsType_MinOver10Seconds,
55 MetricsType_MinOver1Minute 57 MetricsType_MinOver1Minute
56 }; 58 };
57 59
58 class MetricsRegistry : public boost::noncopyable 60 class ORTHANC_PUBLIC MetricsRegistry : public boost::noncopyable
59 { 61 {
60 private: 62 private:
61 class Item; 63 class Item;
62 64
63 typedef std::map<std::string, Item*> Content; 65 typedef std::map<std::string, Item*> Content;