HiveMind
src
application-interface
include
application-interface
UserUI.h
Go to the documentation of this file.
1
#ifndef USERUI_H_
2
#define USERUI_H_
3
4
#include <
application-interface/IUserUI.h
>
5
6
class
UserUI
:
public
IUserUI
{
7
public
:
8
UserUI
(
IApplicationInterface
& appInterface);
9
10
~UserUI
() =
default
;
11
12
void
setLed
(
bool
state)
override
;
13
14
void
setSegment
(
UserSegment
segment)
override
;
15
16
private
:
17
IApplicationInterface
&
m_appInterface
;
18
};
19
20
#endif // USERUI_H_
UserUI::~UserUI
~UserUI()=default
IUserUI.h
UserUI
Definition:
UserUI.h:6
UserUI::m_appInterface
IApplicationInterface & m_appInterface
Definition:
UserUI.h:17
UserUI::setLed
void setLed(bool state) override
Set the led on or off.
Definition:
UserUI.cpp:5
IApplicationInterface
Definition:
IApplicationInterface.h:7
UserUI::setSegment
void setSegment(UserSegment segment) override
Set the user seven segment to a value.
Definition:
UserUI.cpp:7
IUserUI
Manages the UI available to the user.
Definition:
IUserUI.h:7
UserUI::UserUI
UserUI(IApplicationInterface &appInterface)
Definition:
UserUI.cpp:3
UserSegment
UserSegment
Definition:
UserStates.h:4
Generated by
1.8.17