Module: check_mk
Branch: master
Commit: 582c3d3ae8058cc3966727f5641ab183a193b567
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=582c3d3ae8058c…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Mar 15 13:40:49 2017 +0100
Added MonitoringCore::impl().
This effectively acts as an escape hatch to access the underlying
implementation. While this is not particularly nice and should die in the
long run, it is very handy in the meantime, reducing the need for parameter
passing quite a bite. Note that even the C++ standard library has similar
hacks, e.g. std::thread::native_handle():
Change-Id: I47ff2650da2e2e6abac845adf1a7487e60712325
---
livestatus/src/MonitoringCore.h | 9 +++++++++
livestatus/src/Store.cc | 20 ++++++++++----------
livestatus/src/Store.h | 16 +++++++++-------
livestatus/src/TableCommands.cc | 4 ++--
livestatus/src/TableCommands.h | 2 +-
livestatus/src/TableComments.cc | 15 ++++++++-------
livestatus/src/TableComments.h | 13 ++++++-------
livestatus/src/TableDowntimes.cc | 15 ++++++++-------
livestatus/src/TableDowntimes.h | 13 ++++++-------
livestatus/src/TableEventConsoleEvents.cc | 30 +++++++++++++-----------------
livestatus/src/TableEventConsoleEvents.h | 26 +++++++++++++-------------
livestatus/src/TableEventConsoleHistory.cc | 26 +++++++++++---------------
livestatus/src/TableEventConsoleHistory.h | 10 +++++-----
livestatus/src/TableHosts.cc | 16 ++++++++--------
livestatus/src/TableHosts.h | 29 +++++++++++++++--------------
livestatus/src/TableHostsByGroup.cc | 8 ++++----
livestatus/src/TableHostsByGroup.h | 13 ++++++-------
livestatus/src/TableLog.cc | 21 +++++++--------------
livestatus/src/TableLog.h | 13 +++++++------
livestatus/src/TableServices.cc | 20 ++++++++++----------
livestatus/src/TableServices.h | 30 +++++++++++++++---------------
livestatus/src/TableServicesByGroup.cc | 8 ++++----
livestatus/src/TableServicesByGroup.h | 13 ++++++-------
livestatus/src/TableServicesByHostGroup.cc | 8 ++++----
livestatus/src/TableServicesByHostGroup.h | 13 ++++++-------
livestatus/src/TableStateHistory.cc | 22 +++++++---------------
livestatus/src/TableStateHistory.h | 12 +++++-------
livestatus/src/TableStatus.h | 8 --------
livestatus/src/module.cc | 2 ++
29 files changed, 207 insertions(+), 228 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=582c3d3ae8…