Manages a list of InputDevice objects, as returned by various InputDeviceManager methods. This is implemented like a set, meaning the same device cannot occur more than once.
__init__() → None¶
__init__(copy: InputDeviceSet) → None
clear() → None¶
Removes all InputDevices from the collection.
reserve(num: size_t) → None¶
This is a hint to Panda to allocate enough memory to hold the given number of InputDevices, if you know ahead of time how many you will be adding.
size() → size_t¶
Returns the number of devices in the collection.
- Return type
output(out: ostream) → None¶
Writes a brief one-line description of the InputDeviceSet to the indicated output stream.
write(out: ostream, indent_level: int) → None¶
Writes a complete multi-line description of the InputDeviceSet to the indicated output stream.