summaryrefslogtreecommitdiffstats
path: root/src/monitor.cpp
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-04-12 11:33:39 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-05-07 12:02:56 -0400
commit1febc28a1b9b72c805b74c28c8b505e292591fc5 (patch)
treebb6d2af7706aa4e501fd952664e62f40417f9526 /src/monitor.cpp
parentb86374d9b6bf0c6fe78d8d87a8748138056b3ac3 (diff)
downloadphosphor-dbus-monitor-1febc28a1b9b72c805b74c28c8b505e292591fc5.tar.gz
phosphor-dbus-monitor-1febc28a1b9b72c805b74c28c8b505e292591fc5.zip
Create phosphor-dbus-monitor application
Application is created allowing for a log_error action to be performed Change-Id: I6890fff7ace708e80c79607beceedc926c05ec3d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'src/monitor.cpp')
-rw-r--r--src/monitor.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/monitor.cpp b/src/monitor.cpp
new file mode 100644
index 0000000..f734b00
--- /dev/null
+++ b/src/monitor.cpp
@@ -0,0 +1,18 @@
+#include "monitor.hpp"
+
+namespace phosphor
+{
+namespace dbus
+{
+namespace monitoring
+{
+
+Monitor::Monitor(sdbusplus::bus::bus& bus) :
+ bus(bus)
+{
+
+}
+
+} // namespace monitoring
+} // namespace dbus
+} // namespace phosphor
OpenPOWER on IntegriCloud