1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2 
3 #ifndef CHECKRESULT_H
4 #define CHECKRESULT_H
5 
6 #include "icinga/i2-icinga.hpp"
7 #include "icinga/checkresult-ti.hpp"
8 
9 namespace icinga
10 {
11 
12 /**
13  * A check result.
14  *
15  * @ingroup icinga
16  */
17 class CheckResult final : public ObjectImpl<CheckResult>
18 {
19 public:
20 	DECLARE_OBJECT(CheckResult);
21 
22 	double CalculateExecutionTime() const;
23 	double CalculateLatency() const;
24 };
25 
26 }
27 
28 #endif /* CHECKRESULT_H */
29