MySQL 9.1.0
Source Code Documentation
Pipeline_action Class Reference

A wrapper for pipeline actions. More...

#include <pipeline_interfaces.h>

Inheritance diagram for Pipeline_action:
[legend]

Public Member Functions

 Pipeline_action (int action_type)
 
virtual ~Pipeline_action ()=default
 
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 ( )
virtualdefault

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: