Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::create_result Struct Reference

Result of collector creation. More...

#include <metric_factory.h>

Collaboration diagram for kcenon::monitoring::create_result:
Collaboration graph

Public Member Functions

 operator bool () const
 

Public Attributes

std::unique_ptr< collector_interfacecollector
 
bool success {false}
 
std::string error_message
 

Detailed Description

Result of collector creation.

Definition at line 92 of file metric_factory.h.

Member Function Documentation

◆ operator bool()

kcenon::monitoring::create_result::operator bool ( ) const
inlineexplicit

Definition at line 97 of file metric_factory.h.

References success.

Member Data Documentation

◆ collector

std::unique_ptr<collector_interface> kcenon::monitoring::create_result::collector

◆ error_message

std::string kcenon::monitoring::create_result::error_message

Definition at line 95 of file metric_factory.h.

◆ success

bool kcenon::monitoring::create_result::success {false}

Definition at line 94 of file metric_factory.h.

94{false};

Referenced by operator bool().


The documentation for this struct was generated from the following file: