Shortcuts

mmpose.apis.webcam.utils.EventManager

class mmpose.apis.webcam.utils.EventManager[source]

A helper class to manage events.

EventManager provides interfaces to register, set, clear and check events by name.

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

clear([event_name, is_keyboard])

Reset the internal flag of en event to False.

is_set([event_name, is_keyboard])

Check weather the internal flag of an event is True.

register_event(event_name[, is_keyboard])

Register an event.

set(event_name[, is_keyboard])

Set the internal flag of an event to True.

wait([event_name, is_keyboard, timeout])

Block until the internal flag of an event is True.

wait_and_handle([event_name, is_keyboard])

Context manager that blocks until an evenet is set True and then goes into the context.

Read the Docs v: 0.x
Versions
latest
1.x
v1.0.0rc1
v0.29.0
v0.28.0
dev-1.x
0.x
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.