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

Sample with libcamera Signal-Slot approach #5

Open
ikevanc opened this issue Jul 7, 2022 · 0 comments
Open

Sample with libcamera Signal-Slot approach #5

ikevanc opened this issue Jul 7, 2022 · 0 comments

Comments

@ikevanc
Copy link

ikevanc commented Jul 7, 2022

Thanks for this sample code--it was a huge help in getting started.

Reading the documentation more closely, it seems there is an
implementation of C++ signals and slots in libcamera.

It seems a bit old school to introduce C callbacks and a separate
event loop. One way to maintain C++ state through a C callback is
with the cookie on a request. Messy.

Would you add/modify the example to illustrate the signal/slot approach?
Thank you

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