InputDeviceSet

class InputDeviceSet

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.

Inheritance diagram

Inheritance diagram of InputDeviceSet

InputDeviceSet(void)
InputDeviceSet(InputDeviceSet const &copy)
void clear(void)

Removes all InputDevices from the collection.

void output(std::ostream &out) const

Writes a brief one-line description of the InputDeviceSet to the indicated output stream.

void reserve(std::size_t num)

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.

std::size_t size(void) const

Returns the number of devices in the collection.

void write(std::ostream &out, int indent_level = 0) const

Writes a complete multi-line description of the InputDeviceSet to the indicated output stream.