|
trikRuntime
|
Implementation of LED control for a real robot. More...
#include <led.h>


Public Slots | |
| void | red () override |
| void | green () override |
| void | orange () override |
| void | off () override |
Public Slots inherited from trikControl::LedInterface | |
| virtual void | red ()=0 |
| Turn LED on with red color. More... | |
| virtual void | green ()=0 |
| Turn LED on with green color. More... | |
| virtual void | orange ()=0 |
| Turn LED on with orange color. More... | |
| virtual void | off ()=0 |
| Turn LED off. More... | |
Public Member Functions | |
| Led (const trikKernel::Configurer &configurer, const trikHal::HardwareAbstractionInterface &hardwareAbstraction) | |
| Constructor. More... | |
| ~Led () override | |
| Status | status () const override |
| Returns current status of the device. More... | |
Public Member Functions inherited from trikControl::DeviceInterface | |
| DeviceInterface ()=default | |
| virtual | ~DeviceInterface ()=default |
Additional Inherited Members | |
Public Types inherited from trikControl::DeviceInterface | |
| enum | Status { Status::permanentFailure, Status::temporaryFailure, Status::off, Status::starting, Status::ready, Status::stopping } |
| Device status. More... | |
Static Public Member Functions inherited from trikControl::DeviceInterface | |
| static Status | combine (const DeviceInterface &underlying, const DeviceInterface::Status &dependent) |
| Helper method to return status of a device relying on other device to work. More... | |
Implementation of LED control for a real robot.
| Led::Led | ( | const trikKernel::Configurer & | configurer, |
| const trikHal::HardwareAbstractionInterface & | hardwareAbstraction | ||
| ) |
Constructor.
| configurer | - configurer object containing preparsed XML files with sensor parameters. |
|
override |
|
overrideslot |
|
overrideslot |
|
overrideslot |
|
overrideslot |
|
overridevirtual |
Returns current status of the device.
Implements trikControl::DeviceInterface.