blob: 2fc91b530df307d776a5cb08a4a845fc51287d93 [file] [log] [blame]
Matthew Barth1febc282017-04-12 11:33:39 -05001#pragma once
2
3#include <sdbusplus/bus.hpp>
4#include <sdbusplus/server.hpp>
5#include "events.hpp"
6
7namespace phosphor
8{
9namespace dbus
10{
11namespace monitoring
12{
13
14class Monitor
15{
16 public:
17 Monitor() = delete;
18 Monitor(const Monitor&) = delete;
19 Monitor(Monitor&&) = default;
20 Monitor& operator=(const Monitor&) = delete;
21 Monitor& operator=(Monitor&&) = default;
22 ~Monitor() = default;
23
24 explicit Monitor(sdbusplus::bus::bus& bus);
25
26 private:
27 sdbusplus::bus::bus& bus;
28
29};
30
31} // namespace monitoring
32} // namespace dbus
33} // namespace phosphor