24#ifndef EVENT_TRACKING_GLOBAL_VARIABLE_CONSUMER_HELPER_H
25#define EVENT_TRACKING_GLOBAL_VARIABLE_CONSUMER_HELPER_H
72#define IMPLEMENTS_SERVICE_EVENT_TRACKING_GLOBAL_VARIABLE(component) \
73 BEGIN_SERVICE_IMPLEMENTATION(component, event_tracking_global_variable) \
74 Event_tracking_implementation:: \
75 Event_tracking_global_variable_implementation::notify \
76 END_SERVICE_IMPLEMENTATION()
78#define PROVIDES_SERVICE_EVENT_TRACKING_GLOBAL_VARIABLE(component) \
79 PROVIDES_SERVICE(component, event_tracking_global_variable)
103 if (!data)
return true;
Implementation helper class for global_variable events.
Definition: event_tracking_global_variable_consumer_helper.h:83
static bool callback(const mysql_event_tracking_global_variable_data *data)
Callback function - To be implemented by component to handle an event.
static mysql_event_tracking_global_variable_subclass_t filtered_sub_events
Sub-events to be filtered/ignored - To be defined by the component.
Definition: event_tracking_global_variable_consumer_helper.h:86
static mysql_service_status_t notify(const mysql_event_tracking_global_variable_data *data) noexcept
event_tracking_global_variable service implementation
Definition: event_tracking_global_variable_consumer_helper.h:101
Specifies macros to define Components.
unsigned long mysql_event_tracking_global_variable_subclass_t
Events for Global variable event tracking.
Definition: event_tracking_global_variable_defs.h:47
Globalvariable access event tracking.
Definition: event_tracking_authentication_consumer_helper.h:81
Specifies macros to define Service Implementations.
#define DEFINE_BOOL_METHOD(name, args)
A short macro to define method that returns bool, which is the most common case.
Definition: service_implementation.h:88
Structure for Global variable event tracking.
Definition: event_tracking_global_variable_defs.h:50
mysql_event_tracking_global_variable_subclass_t event_subclass
Event subclass.
Definition: event_tracking_global_variable_defs.h:52