Function yasmin::callback_signal_pyutils::cast_python_callback_signal

Function Documentation

inline CallbackSignal::SharedPtr yasmin::callback_signal_pyutils::cast_python_callback_signal(const py::object &value)

Convert a Python CallbackSignal object into its native shared pointer.

Parameters:

value – Python object expected to hold a yasmin.CallbackSignal instance.

Throws:

std::runtime_error – if the conversion fails.

Returns:

Shared pointer to the native CallbackSignal.