-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR #12171 from Nir-Az: Replace d500-factory with d500-info
- Loading branch information
Showing
7 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
// License: Apache 2.0. See LICENSE file in root directory. | ||
// Copyright(c) 2022 Intel Corporation. All Rights Reserved. | ||
// Copyright(c) 2023 Intel Corporation. All Rights Reserved. | ||
#pragma once | ||
|
||
#include <src/platform/platform-device-info.h> | ||
|
||
|
||
namespace librealsense | ||
{ | ||
class d500_info : public platform::platform_device_info | ||
{ | ||
public: | ||
std::shared_ptr< device_interface > create_device() override; | ||
|
||
d500_info( std::shared_ptr< context > ctx, | ||
d500_info( std::shared_ptr< context > const & ctx, | ||
std::vector< platform::uvc_device_info > && depth, | ||
std::vector< platform::usb_device_info > && hwm, | ||
std::vector< platform::hid_device_info > && hid ) | ||
: platform_device_info( ctx, { std::move( depth ), std::move( hwm ), std::move( hid ) } ) | ||
{ | ||
} | ||
|
||
static std::vector<std::shared_ptr<device_info>> pick_d500_devices( | ||
static std::vector<std::shared_ptr<d500_info>> pick_d500_devices( | ||
std::shared_ptr<context> ctx, | ||
platform::backend_device_group& gproup); | ||
platform::backend_device_group& group); | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters