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

Method OnConfigLoaded

lib/checker/checkercomponent.cpp:47–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void CheckerComponent::OnConfigLoaded()
48{
49 ConfigObject::OnActiveChanged.connect([this](const ConfigObject::Ptr& object, const Value&) {
50 ObjectHandler(object);
51 });
52 ConfigObject::OnPausedChanged.connect([this](const ConfigObject::Ptr& object, const Value&) {
53 ObjectHandler(object);
54 });
55
56 Checkable::OnNextCheckChanged.connect([this](const Checkable::Ptr& checkable, const Value&) {
57 NextCheckChangedHandler(checkable);
58 });
59}
60
61void CheckerComponent::Start(bool runtimeCreated)
62{

Callers 1

CommitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected