struct P1::CameraSdkC::ScopedCallback

#include <C_P1CameraTypes.h>

struct ScopedCallback
{
    // fields

    std::function<void()> mCallback;
    bool disabled = false;

    // construction

    ScopedCallback(std::function<void()> callback);
    ScopedCallback(const ScopedCallback& other);

    // methods

    ScopedCallback& operator = (const ScopedCallback& other);
};