Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] SetExclFilter, SetInclFilter, SetFilterState removed from monitoring API #1896

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

rex-schilasky
Copy link
Contributor

Description

3 monitoring API functions SetExclFilter, SetInclFilter, SetFilterState removed from API. Tests removed, YAML configuration adapted.

TODO: eCALMon GUI now uses fixed include and exclude regex expressions. Needs to be configured another way in future versions.

@rex-schilasky rex-schilasky mentioned this pull request Jan 14, 2025
95 tasks
@rex-schilasky rex-schilasky added the cherry-pick-to-NONE Don't cherry-pick these changes label Jan 14, 2025
@rex-schilasky rex-schilasky added this to the eCAL 6 milestone Jan 14, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

include_string = QString::fromStdString(eCAL::Config::GetMonitoringFilterIncludeList()); //ini.GetValue(MON_SECTION_S, MON_FILTER_INCL_S);

// this is now just taken from the old ecal.yaml/ini configuration
QString exclude_string{ "^__.*$" }; //!< Topics blacklist as regular expression (will not be monitored) (Default: "^__.*$")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: variable 'exclude_string' of type 'QString' can be declared 'const' [misc-const-correctness]

Suggested change
QString exclude_string{ "^__.*$" }; //!< Topics blacklist as regular expression (will not be monitored) (Default: "^__.*$")
QString const exclude_string{ "^__.*$" }; //!< Topics blacklist as regular expression (will not be monitored) (Default: "^__.*$")


// this is now just taken from the old ecal.yaml/ini configuration
QString exclude_string{ "^__.*$" }; //!< Topics blacklist as regular expression (will not be monitored) (Default: "^__.*$")
QString include_string{ "" }; //!< Topics whitelist as regular expression (will be monitored only) (Default: "")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: variable 'include_string' of type 'QString' can be declared 'const' [misc-const-correctness]

Suggested change
QString include_string{ "" }; //!< Topics whitelist as regular expression (will be monitored only) (Default: "")
QString const include_string{ "" }; //!< Topics whitelist as regular expression (will be monitored only) (Default: "")

@KerstinKeller KerstinKeller merged commit 2815000 into master Jan 14, 2025
21 of 22 checks passed
@rex-schilasky rex-schilasky deleted the core/remove-monitoring-filter branch January 14, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-to-NONE Don't cherry-pick these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants