Skip to content

Sample with libcamera Signal-Slot approach #5

Description

@ikevanc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions