IEvents#

class carb.events.IEvents#

Bases: pybind11_object

Methods

__init__(*args, **kwargs)

acquire_unique_sender_id(self)

Acquire unique sender id.

create_event_stream(self[, name])

Create new `.EventStream`.

release_unique_sender_id(self, arg0)

__init__(*args, **kwargs)#
acquire_unique_sender_id(
self: carb.events._events.IEvents,
) int#

Acquire unique sender id.

Call release_unique_sender_id() when it is not needed anymore. It can be reused then.

create_event_stream(
self: carb.events._events.IEvents,
name: str = None,
) carb.events._events.IEventStream#

Create new `.EventStream`.

Parameters:

name – The name of the .EventStream for profiling. If no name is provided one is generated from the traceback of the calling function.

release_unique_sender_id(
self: carb.events._events.IEvents,
arg0: int,
) None#