Alex exoskeleton
ALEX SoftwareDocumentation
Public Member Functions | List of all members
InputDevice Class Referenceabstract

Abstract class representing any input device to be used in a Robot object. More...

#include <InputDevice.h>

Inheritance diagram for InputDevice:
Inheritance graph
Collaboration diagram for InputDevice:
Collaboration graph

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

InputDevice::InputDevice ( )

Definition at line 4 of file InputDevice.cpp.

Member Function Documentation

virtual void InputDevice::updateInput ( )
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.


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