IExampleBoundInterface

class omni.example.cpp.pybind.IExampleBoundInterface

Methods

__init__(*args, **kwargs)

deregister_bound_object(self, object)

Deregister a bound object.

find_bound_object(self, id)

Find a bound object.

register_bound_object(self, object)

Register a bound object.

__init__(*args, **kwargs)
deregister_bound_object(self: omni.example.cpp.pybind._example_pybind_bindings.IExampleBoundInterface, object: omni::example::cpp::pybind::IExampleBoundObject) None

Deregister a bound object.

Parameters

object – The bound object to deregister.

find_bound_object(self: omni.example.cpp.pybind._example_pybind_bindings.IExampleBoundInterface, id: str) omni::example::cpp::pybind::IExampleBoundObject

Find a bound object.

Parameters

id – Id of the bound object.

Returns

The bound object if it exists, an empty object otherwise.

register_bound_object(self: omni.example.cpp.pybind._example_pybind_bindings.IExampleBoundInterface, object: omni::example::cpp::pybind::IExampleBoundObject) None

Register a bound object.

Parameters

object – The bound object to register.