36#ifndef _UTILS_CONFIGUPDATELISTENER_HXX_
37#define _UTILS_CONFIGUPDATELISTENER_HXX_
A BarrierNotifiable allows to create a number of child Notifiable and wait for all of them to finish.
Abstract class for components that need to receive configuration from EEPROM.
virtual void factory_reset(int fd)=0
Clears configuration file and resets the configuration settings to factory value.
UpdateAction
Specifies what additional steps are needed to apply the new configuration.
@ REINIT_NEEDED
Need to perform application-level reinitialization.
@ UPDATED
No additional step is necessary.
@ REBOOT_NEEDED
Need to reboot the hardware.
virtual UpdateAction apply_configuration(int fd, bool initial_load, BarrierNotifiable *done)=0
Notifies the component that there is new configuration available for loading.
Implementation of ConfigUpdateListener that registers itself in the constructor and unregisters itsel...
Essentially a "next" pointer container.