MySQL 8.1.0
Source Code Documentation
Mysql::Tools::Base::Options::I_option_changed_listener Class Referenceabstract

Interface for listeners on some of option changes. More...

#include <i_option_changed_listener.h>

Inheritance diagram for Mysql::Tools::Base::Options::I_option_changed_listener:
[legend]

Public Member Functions

virtual ~I_option_changed_listener ()=default
 
virtual void notify_option_name_changed (I_option *source, std::string old_name)=0
 Called after specified option has name changed. More...
 
virtual void notify_option_optid_changed (I_option *source, uint32 old_optid)=0
 Called after specified option has option ID changed. More...
 

Detailed Description

Interface for listeners on some of option changes.

Constructor & Destructor Documentation

◆ ~I_option_changed_listener()

virtual Mysql::Tools::Base::Options::I_option_changed_listener::~I_option_changed_listener ( )
virtualdefault

Member Function Documentation

◆ notify_option_name_changed()

virtual void Mysql::Tools::Base::Options::I_option_changed_listener::notify_option_name_changed ( I_option source,
std::string  old_name 
)
pure virtual

Called after specified option has name changed.

It is also called when new option is added, old_name is empty string in that case.

Implemented in Mysql::Tools::Base::Options::Abstract_options_provider.

◆ notify_option_optid_changed()

virtual void Mysql::Tools::Base::Options::I_option_changed_listener::notify_option_optid_changed ( I_option source,
uint32  old_optid 
)
pure virtual

Called after specified option has option ID changed.

It is also called when new option is added, old_optid is 0 in that case.

Implemented in Mysql::Tools::Base::Options::Abstract_options_provider.


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