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

Set DDS processing block settings #13625

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

OhadMeir
Copy link
Contributor

Tracked on [RSDEV-3017]

@OhadMeir OhadMeir requested a review from remibettan December 24, 2024 10:04
else
if( rsutils::string::nocase_equal( get_name(), "RGB Camera" ) )
{

Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removing

Copy link
Contributor Author

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;
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

@remibettan remibettan left a comment

Choose a reason for hiding this comment

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

Commented

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