-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Set DDS processing block settings #13625
base: development
Are you sure you want to change the base?
Conversation
src/dds/rs-dds-sensor-proxy.cpp
Outdated
else | ||
if( rsutils::string::nocase_equal( get_name(), "RGB Camera" ) ) | ||
{ | ||
|
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.
Please consider to remove this blank line
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.
Removing
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.
Removing
@@ -115,6 +115,9 @@ class dds_sensor_proxy : public software_sensor | |||
virtual void add_no_metadata( frame *, streaming_impl & ); | |||
virtual void add_frame_metadata( frame *, rsutils::json const & metadata, streaming_impl & ); | |||
|
|||
void add_processing_block_settings( const std::string & filter_name, | |||
std::shared_ptr< librealsense::processing_block_interface > & ppb ) const; |
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.
why do you need here shared_ptr by reference? It seems to me that you want it by value, so that the copy ctor works, no?
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.
No, no need to create a new shared_ptr and update the reference count.
It's just a helper function that uses the shared_ptr of the caller, we don't want to store it.
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.
Commented
504063b
to
5dde7fa
Compare
Tracked on [RSDEV-3017]