Skip to content

Conversation

@etremel
Copy link
Contributor

@etremel etremel commented Oct 15, 2025

The service.hpp and service_impl.hpp files were getting very long and unwieldy due to the large number of different classes they contained. The ServiceClient class in particular is the longest, and most often needs to be consulted by users since it defines the API clients interact with, so I moved it to its own set of header/impl files.

This does not contain any code changes, just copying and pasting code from one file to another (and adding #include "service_client.hpp" in a few places next to #include "service.hpp"), so it shouldn't require testing or review. I verified that the code still compiles with the new file structure.

The service.hpp and service_impl.hpp files were getting very long and
unwieldy due to the large number of different classes they contained.
The ServiceClient class in particular is the longest, and most often
needs to be consulted by users since it defines the API clients interact
with, so I moved it to its own set of header/impl files.

Also, in a minor fix, removed a reference to the nonexistant
service_server_api.hpp from the documentation comments at the top of
service.hpp. This seems to refer to a much older design for Casacade
(where there was something called an 'onData()' function on servers) and
is confusing for users.
@etremel
Copy link
Contributor Author

etremel commented Oct 15, 2025

Compile check passes, and there are no code changes.

@etremel etremel merged commit fc559ef into master Oct 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants