.. index:: pair: struct; P1::CameraSdkC::ScopedCallback .. _doxid-struct_p1_1_1_camera_sdk_c_1_1_scoped_callback: struct P1::CameraSdkC::ScopedCallback ===================================== .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct ScopedCallback { // fields std::function :target:`mCallback`; bool :target:`disabled` = false; // construction :target:`ScopedCallback`(std::function callback); :target:`ScopedCallback`(const ScopedCallback& other); // methods ScopedCallback& :target:`operator =` (const ScopedCallback& other); };