Call init(cfg) on all registered features.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(feature_manager_t), | intent(inout) | :: | self | |||
| type(watch_config_t), | intent(in) | :: | cfg |
subroutine init_all(self, cfg) class(feature_manager_t), intent(inout) :: self type(watch_config_t), intent(in) :: cfg integer :: i if (.not. allocated(self%feat)) return do i = 1, size(self%feat) if (allocated(self%feat(i)%p)) call self%feat(i)%p%init(cfg) end do end subroutine init_all