GCC Code Coverage Report


Directory: codebase/
File: codebase/interface/include/public/api.Object.hpp
Date: 2023-03-16 04:37:09
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 1 1 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /**
2 * @file api.Object.hpp
3 * @author Sergey Baigudin, sergey@baigudin.software
4 * @copyright 2015-2022, Sergey Baigudin, Baigudin Software
5 */
6 #ifndef API_OBJECT_HPP_
7 #define API_OBJECT_HPP_
8
9 #include "Types.hpp"
10
11 namespace eoos
12 {
13 namespace api
14 {
15
16 /**
17 * @class Object
18 * @brief Root interface of the system class hierarchy.
19 */
20 class Object
21 {
22
23 public:
24
25 /**
26 * @brief Destructor.
27 */
28 virtual ~Object() = 0;
29
30 /**
31 * @brief Tests if this object has been constructed.
32 *
33 * @return True if object has been constructed successfully.
34 */
35 virtual bool_t isConstructed() const = 0;
36
37 };
38
39 9122 inline Object::~Object() {}
40
41 } // namespace api
42 } // namespace eoos
43 #endif // API_OBJECT_HPP_
44