summaryrefslogtreecommitdiffstats
path: root/src/monitor.cpp
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-05-22 23:23:13 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-05-23 18:56:43 -0400
commit870c3fc67cd66cfd90bf262433f5141e76fc2145 (patch)
tree776fb15ac1fbbf45dc61e0424ccb832c9ecda022 /src/monitor.cpp
parente3a01af49b01b870dd7739bf60e7be4621754c5a (diff)
downloadphosphor-dbus-monitor-870c3fc67cd66cfd90bf262433f5141e76fc2145.tar.gz
phosphor-dbus-monitor-870c3fc67cd66cfd90bf262433f5141e76fc2145.zip
build: General build refactoring
Add vars.mk for variable sharing across makefiles. Stub and rename example YAML file and template. Content to be re-introduced as support is added. Move generated C++ to a header file. Add input YAML path option to configure. Change-Id: Ia06e392e8b120b1e1d8614046064fa432a6f9e18 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/monitor.cpp')
-rw-r--r--src/monitor.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/monitor.cpp b/src/monitor.cpp
index 9e517fb..2d4d649 100644
--- a/src/monitor.cpp
+++ b/src/monitor.cpp
@@ -98,6 +98,11 @@ void Monitor::handleEvent(sdbusplus::message::message& msg,
}
}
+const std::vector<
+ std::tuple<
+ std::vector<std::shared_ptr<Event>>,
+ std::vector<Action>>> Monitor::events;
+
} // namespace monitoring
} // namespace dbus
} // namespace phosphor
OpenPOWER on IntegriCloud