Alex exoskeleton
ALEX SoftwareDocumentation
|
Abstract class representing any input device to be used in a Robot object. More...
#include <InputDevice.h>
Public Member Functions | |
InputDevice () | |
virtual void | updateInput ()=0 |
pure virtual method to be implemented by specific input devices and used by the virtual robot object to update the current state of the robotic systems input device. More... | |
Abstract class representing any input device to be used in a Robot object.
The Input
class is a abstract class which represents an input device. The Update function is called in a main program to query the devices input and update any memory representation of the device implemented. For example the keyboard implementation checks for key presses and fills key memory with a boolean value when pressed. See Keyboard
for further detail.
Version 0.1 Date: 07/04/2020
Definition at line 21 of file InputDevice.h.
InputDevice::InputDevice | ( | ) |
Definition at line 4 of file InputDevice.cpp.
|
pure virtual |
pure virtual method to be implemented by specific input devices and used by the virtual robot object to update the current state of the robotic systems input device.
Implemented in Keyboard.