MySQL 8.0.39
Source Code Documentation
Parameterized_notification< stop > Class Template Referenceabstract

Template that defines whether a notification shall make the engine stop or not. More...

#include <gcs_xcom_notification.h>

Inheritance diagram for Parameterized_notification< stop >:
[legend]

Public Member Functions

 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

virtual void do_execute ()=0
 Method that must be implemented buy the different types of notifications. More...
 
 Parameterized_notification (Parameterized_notification const &)
 
Parameterized_notificationoperator= (Parameterized_notification const &)
 

Detailed Description

template<bool stop>
class Parameterized_notification< stop >

Template that defines whether a notification shall make the engine stop or not.

class X_notification : public Paremetrized_notification<true> { public: void do_execute() { Do something. } }

Constructor & Destructor Documentation

◆ Parameterized_notification() [1/2]

template<bool stop>
Parameterized_notification< stop >::Parameterized_notification ( )
explicitdefault

Constructor for Parameterized_notification.

◆ ~Parameterized_notification()

template<bool stop>
Parameterized_notification< stop >::~Parameterized_notification ( )
overridedefault

Destructor for Parameterized_notification.

◆ Parameterized_notification() [2/2]

template<bool stop>
Parameterized_notification< stop >::Parameterized_notification ( Parameterized_notification< stop > const &  )
private

Member Function Documentation

◆ do_execute()

template<bool stop>
virtual void Parameterized_notification< stop >::do_execute ( )
privatepure virtual

◆ operator()()

template<bool stop>
bool Parameterized_notification< stop >::operator() ( )
inlineoverridevirtual

Task implemented by this notification which calls do_execute.

Return whether the notification should stop the engine or not.

Implements Gcs_xcom_notification.

◆ operator=()

template<bool stop>
Parameterized_notification & Parameterized_notification< stop >::operator= ( Parameterized_notification< stop > const &  )
private

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