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

Inconsistent use of DeviceFactory #45

Closed
nathanharmon opened this issue Dec 11, 2024 · 0 comments
Closed

Inconsistent use of DeviceFactory #45

nathanharmon opened this issue Dec 11, 2024 · 0 comments

Comments

@nathanharmon
Copy link

I noticed that some code paths use NewDevice while others use DeviceFactory. This results in different concrete types being returned depending on if, for instance, you call GetDevices vs GetPropertyDevices. I ran into this while trying to write some code to work with wireless devices. Is this difference intentional?

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

No branches or pull requests

1 participant