anatomist  5.1.2
3D neuroimaging data viewer
anatomist::LocalConfiguration Class Referenceabstract

Local configurator: used by program parts (modules, ...) to setup their part of the global config. More...

#include <anatomist/application/localConfig.h>

Inheritance diagram for anatomist::LocalConfiguration:

Public Member Functions

 LocalConfiguration ()
 
virtual ~LocalConfiguration ()
 
virtual void apply (const GlobalConfiguration *cfg)=0
 applies configuration to the program part. More...
 
virtual void update (GlobalConfiguration *)
 Updates the global config with the specific local options. More...
 

Detailed Description

Local configurator: used by program parts (modules, ...) to setup their part of the global config.

See also
GlobalConfiguration

Definition at line 48 of file localConfig.h.

Constructor & Destructor Documentation

◆ LocalConfiguration()

anatomist::LocalConfiguration::LocalConfiguration ( )
inline

Definition at line 51 of file localConfig.h.

◆ ~LocalConfiguration()

virtual anatomist::LocalConfiguration::~LocalConfiguration ( )
virtual

Member Function Documentation

◆ apply()

virtual void anatomist::LocalConfiguration::apply ( const GlobalConfiguration cfg)
pure virtual

applies configuration to the program part.

This function must be derived by inherited classes, and is aimed to pick the specific attributes in the global config and apply these settings to the program part (module...)

Implemented in anatomist::ControlConfiguration.

◆ update()

virtual void anatomist::LocalConfiguration::update ( GlobalConfiguration )
inlinevirtual

Updates the global config with the specific local options.

This function is not absolutely needed if the global config is maintained up to date by program parts each time a setting changes

Reimplemented in anatomist::ControlConfiguration.

Definition at line 62 of file localConfig.h.


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