MySQL  8.0.19
Source Code Documentation
Pipeline_action Class Reference

#include <pipeline_interfaces.h>

Inheritance diagram for Pipeline_action:
Handler_applier_configuration_action Handler_certifier_configuration_action Handler_certifier_information_action Handler_start_action Handler_stop_action Handler_THD_setup_action View_change_pipeline_action

Public Member Functions

 Pipeline_action (int action_type)
 
virtual ~Pipeline_action ()
 
int get_action_type ()
 Returns this action type. More...
 

Private Attributes

int type
 

Detailed Description

A wrapper for pipeline actions. Pipeline actions, unlike normal events, do not transport data but execution instructions to be executed.

Note
On pipelines, actions unlike events, when submitted are always executed synchronously, meaning that when the call returns all handlers already processed it. Actions are good for executing start and stop actions for example, but also for configuring handlers.

Constructor & Destructor Documentation

◆ Pipeline_action()

Pipeline_action::Pipeline_action ( int  action_type)
inline

◆ ~Pipeline_action()

virtual Pipeline_action::~Pipeline_action ( )
inlinevirtual

Member Function Documentation

◆ get_action_type()

int Pipeline_action::get_action_type ( )
inline

Returns this action type.

The type must be defined in all child classes. Different developing contexts can mean different sets of actions.

Returns
the action type

Member Data Documentation

◆ type

int Pipeline_action::type
private

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