|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Event fired when configuration changes. More...
#include <event_types.h>


Public Types | |
| enum class | change_type { added , modified , removed } |
Public Member Functions | |
| configuration_change_event (const std::string &component, const std::string &config_key, change_type type, const std::string &old_value="", const std::string &new_value="") | |
| std::string | get_type_name () const override |
| Get the event type name. | |
| const std::string & | get_component () const |
| const std::string & | get_config_key () const |
| change_type | get_change_type () const |
| const std::string & | get_old_value () const |
| const std::string & | get_new_value () const |
Public Member Functions inherited from kcenon::monitoring::event_base | |
| virtual | ~event_base ()=default |
| std::chrono::steady_clock::time_point | get_timestamp () const |
| Get timestamp when event was created. | |
| uint64_t | get_id () const |
| Get unique event ID. | |
Private Attributes | |
| std::string | component_ |
| std::string | config_key_ |
| change_type | type_ |
| std::string | old_value_ |
| std::string | new_value_ |
Additional Inherited Members | |
Protected Member Functions inherited from kcenon::monitoring::event_base | |
| event_base () | |
Event fired when configuration changes.
Definition at line 211 of file event_types.h.
|
strong |
| Enumerator | |
|---|---|
| added | |
| modified | |
| removed | |
Definition at line 213 of file event_types.h.
|
inline |
Definition at line 219 of file event_types.h.
|
inline |
Definition at line 233 of file event_types.h.
References type_.
|
inline |
Definition at line 231 of file event_types.h.
References component_.
|
inline |
Definition at line 232 of file event_types.h.
References config_key_.
|
inline |
Definition at line 235 of file event_types.h.
References new_value_.
|
inline |
Definition at line 234 of file event_types.h.
References old_value_.
|
inlineoverridevirtual |
Get the event type name.
Implements kcenon::monitoring::event_base.
Definition at line 227 of file event_types.h.
|
private |
Definition at line 238 of file event_types.h.
Referenced by get_component().
|
private |
Definition at line 239 of file event_types.h.
Referenced by get_config_key().
|
private |
Definition at line 242 of file event_types.h.
Referenced by get_new_value().
|
private |
Definition at line 241 of file event_types.h.
Referenced by get_old_value().
|
private |
Definition at line 240 of file event_types.h.
Referenced by get_change_type().