MySQL 9.1.0
Source Code Documentation
Finalize_notification Class Reference

Notification used to stop the Gcs_xcom_engine. More...

#include <gcs_xcom_notification.h>

Inheritance diagram for Finalize_notification:
[legend]

Public Member Functions

 Finalize_notification (Gcs_xcom_engine *gcs_engine, xcom_finalize_functor *functor)
 Constructor for Finalize_notification. More...
 
 ~Finalize_notification () override
 Destructor for Finalize_notification. More...
 
- Public Member Functions inherited from Parameterized_notification< true >
 Parameterized_notification ()=default
 Constructor for Parameterized_notification. More...
 
 ~Parameterized_notification () override=default
 Destructor for Parameterized_notification. More...
 
bool operator() () override
 Task implemented by this notification which calls do_execute. More...
 
- Public Member Functions inherited from Gcs_xcom_notification
 Gcs_xcom_notification ()=default
 Constructor for Gcs_xcom_notification which an abstract class that represents notifications sent from XCOM to MySQL GCS. More...
 
virtual ~Gcs_xcom_notification ()=default
 Destructor for the Gcs_xcom_notification. More...
 

Private Member Functions

void do_execute () override
 Task implemented by this notification. More...
 
 Finalize_notification (Finalize_notification const &)
 
Finalize_notificationoperator= (Finalize_notification const &)
 

Private Attributes

Gcs_xcom_enginem_gcs_engine
 Pointer to the MySQL GCS Engine. More...
 
xcom_finalize_functorm_functor
 

Detailed Description

Notification used to stop the Gcs_xcom_engine.

Constructor & Destructor Documentation

◆ Finalize_notification() [1/2]

Finalize_notification::Finalize_notification ( Gcs_xcom_engine gcs_engine,
xcom_finalize_functor functor 
)
explicit

Constructor for Finalize_notification.

Parameters
gcs_engineReference to the engine.
functorPointer to a function that contains that actual core of the execution.

◆ ~Finalize_notification()

Finalize_notification::~Finalize_notification ( )
overridedefault

Destructor for Finalize_notification.

◆ Finalize_notification() [2/2]

Finalize_notification::Finalize_notification ( Finalize_notification const &  )
private

Member Function Documentation

◆ do_execute()

void Finalize_notification::do_execute ( )
overrideprivatevirtual

Task implemented by this notification.

Implements Parameterized_notification< true >.

◆ operator=()

Finalize_notification & Finalize_notification::operator= ( Finalize_notification const &  )
private

Member Data Documentation

◆ m_functor

xcom_finalize_functor* Finalize_notification::m_functor
private

◆ m_gcs_engine

Gcs_xcom_engine* Finalize_notification::m_gcs_engine
private

Pointer to the MySQL GCS Engine.


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