ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::CompositeHardwareInputSet Class Reference

A composite input device that delegates to a set of actual input devices. More...

#include <hardware-input.h>

Inheritance diagram for Common::CompositeHardwareInputSet:
Collaboration diagram for Common::CompositeHardwareInputSet:

List of all members.

Public Member Functions

 ~CompositeHardwareInputSet () override
HardwareInput findHardwareInput (const String &id) const override
 Retrieve a hardware input description from an unique identifier.
HardwareInput findHardwareInput (const Event &event) const override
 Retrieve a hardware input description from one of the events produced when the input is triggered.
void addHardwareInputSet (HardwareInputSet *hardwareInputSet)
 Add an input device to this composite device.

Private Attributes

Array< HardwareInputSet * > _inputSets

Detailed Description

A composite input device that delegates to a set of actual input devices.

Definition at line 298 of file hardware-input.h.


Constructor & Destructor Documentation

Common::CompositeHardwareInputSet::~CompositeHardwareInputSet (  )  [override]

Definition at line 584 of file hardware-input.cpp.


Member Function Documentation

void Common::CompositeHardwareInputSet::addHardwareInputSet ( HardwareInputSet hardwareInputSet  ) 

Add an input device to this composite device.

Takes ownership of the hardware input set

Definition at line 612 of file hardware-input.cpp.

HardwareInput Common::CompositeHardwareInputSet::findHardwareInput ( const String id  )  const [override, virtual]

Retrieve a hardware input description from an unique identifier.

In case no input was found with the specified id, an empty HardwareInput structure is return with the type set to kHardwareInputTypeInvalid.

Implements Common::HardwareInputSet.

Definition at line 590 of file hardware-input.cpp.

HardwareInput Common::CompositeHardwareInputSet::findHardwareInput ( const Event event  )  const [override, virtual]

Retrieve a hardware input description from one of the events produced when the input is triggered.

In case the specified event is not produced by this device, an empty HardwareInput structure is return with the type set to kHardwareInputTypeInvalid.

Implements Common::HardwareInputSet.

Definition at line 601 of file hardware-input.cpp.


Member Data Documentation


The documentation for this class was generated from the following files:


Generated on Sat Sep 19 2020 05:04:41 for ResidualVM by doxygen 1.7.1
curved edge   curved edge