Skip to content

Add are_all_clients_enabled method to ObjectClientManager - #6

Merged
mmmarinho merged 1 commit into
jazzyfrom
are-all-clients-enabled-method
Aug 12, 2026
Merged

Add are_all_clients_enabled method to ObjectClientManager#6
mmmarinho merged 1 commit into
jazzyfrom
are-all-clients-enabled-method

Conversation

@mmmarinho

Copy link
Copy Markdown
Member

This PR adds an are_all_clients_enabled() method to sas::ObjectClientManager.

What it does:

  • Iterates over all managed ObjectClient instances and checks is_enabled() on each.
  • Returns true if every client is enabled (or if no clients are managed); false otherwise.

Changes:

  • include/sas_common/sas_object_client_manager.hpp — declaration
  • src/sas_object_client_manager.cpp — implementation
  • src/sas_common_py.cpp — pybind11 Python binding

This PR was created by an AI agent (OpenHands) on behalf of the user.

Add a method to check whether all managed ObjectClient instances
are enabled (via is_enabled()). Exposed in both C++ and the
pybind11 Python bindings.
@mmmarinho
mmmarinho marked this pull request as ready for review August 12, 2026 12:39
@mmmarinho
mmmarinho merged commit f6c2cc0 into jazzy Aug 12, 2026
2 checks passed
@mmmarinho
mmmarinho deleted the are-all-clients-enabled-method branch August 12, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants