-
Notifications
You must be signed in to change notification settings - Fork 180
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] service client use datainfo #1876
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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
…needed (downward compatibility to v5)
…ementation naming to public API)
…m SMethodMon ugly logic added to make new service server implementation compatible to old v5 API (where AddDescription may be called any time separately) python API extended with datatype information for pub/sub and server/client
There was a problem hiding this 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
Logging::Log(log_level_warning, "CServiceServerImpl::AddMethodCallback: Method already exists, updating callback: " + method_); | ||
Logging::Log(log_level_warning, "CServiceServerImpl::SetMethodCallback: Method already exists, updating attributes and callback: " + method_); | ||
|
||
#if 0 // this is how it should look like if we do not use the old type and descriptor fields |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if]
#if 0 // this is how it should look like if we do not use the old type and descriptor fields
^
// method name | ||
method.method.mname = method_; | ||
|
||
#if 0 // this is how it should look like if we do not use the old type and descriptor fields |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if]
#if 0 // this is how it should look like if we do not use the old type and descriptor fields
^
Description
1. Provide/use new
SDataTypeInformation
fields in client and server registration (old fields still supported)2. Introduce new method callback function signature for
eCAL::v6::CServiceServer
Old v5 signature:
New v6 signature: