MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Add

Method Add

test/icinga-checkresult.cpp:840–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

838 }
839
840 void Add(std::pair<NotificationType, ServiceState> notification) {
841 std::lock_guard<std::mutex> lock (mutex);
842
843 log.emplace_back(notification);
844 }
845
846 private:
847 std::mutex mutex;

Callers 5

BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected