watch_feature_factory Module

Feature enablement and factory wiring.

Maps feature names (strings) to concrete feature implementations.

Feature selection is user-controlled via: - --watch-feature <name> flags, and/or - features = ["..."] in fpm.toml [extra.fpm-watch].


Uses

  • module~~watch_feature_factory~~UsesGraph module~watch_feature_factory watch_feature_factory module~watch_feat_stats watch_feat_stats module~watch_feature_factory->module~watch_feat_stats module~watch_feature_api watch_feature_api module~watch_feature_factory->module~watch_feature_api module~watch_feature_manager watch_feature_manager module~watch_feature_factory->module~watch_feature_manager module~watch_log watch_log module~watch_feature_factory->module~watch_log module~watch_types watch_types module~watch_feature_factory->module~watch_types module~watch_feat_stats->module~watch_feature_api module~watch_feat_stats->module~watch_log module~watch_feat_stats->module~watch_types module~watch_feature_api->module~watch_types fpm_strings fpm_strings module~watch_feature_api->fpm_strings iso_fortran_env iso_fortran_env module~watch_feature_api->iso_fortran_env module~watch_feature_manager->module~watch_feature_api module~watch_feature_manager->module~watch_types module~watch_feature_manager->fpm_strings module~watch_feature_manager->iso_fortran_env module~watch_log->module~watch_types face face module~watch_log->face module~watch_log->iso_fortran_env fpm_command_line fpm_command_line module~watch_types->fpm_command_line module~watch_types->fpm_strings module~watch_types->iso_fortran_env

Used by

  • module~~watch_feature_factory~~UsedByGraph module~watch_feature_factory watch_feature_factory module~watch_engine watch_engine module~watch_engine->module~watch_feature_factory

Subroutines

public subroutine enable_features(fm, w)

Enable features requested in watch options.

Read more…

Arguments

Type IntentOptional Attributes Name
type(feature_manager_t), intent(inout) :: fm
type(watch_opts_t), intent(in) :: w

private subroutine add_stats(fm)

Factory helper: add the built-in stats feature.

Arguments

Type IntentOptional Attributes Name
type(feature_manager_t), intent(inout) :: fm