HiveMind
src
application-interface
include
application-interface
HostHandshakeUI.h
Go to the documentation of this file.
1
#ifndef HOSTHANDSHAKEUI_H_
2
#define HOSTHANDSHAKEUI_H_
3
4
#include <
application-interface/IApplicationInterface.h
>
5
#include <
application-interface/IHandshakeUI.h
>
6
7
class
HostHandshakeUI
:
public
IHandshakeUI
{
8
public
:
9
HostHandshakeUI
(
IApplicationInterface
& appInterface);
10
~HostHandshakeUI
()
override
=
default
;
11
12
void
handshake
(
bool
handshaked)
override
;
13
14
private
:
15
IApplicationInterface
&
m_appInterface
;
16
};
17
18
#endif // HOSTHANDSHAKEUI_H_
IApplicationInterface.h
HostHandshakeUI
Definition:
HostHandshakeUI.h:7
HostHandshakeUI::HostHandshakeUI
HostHandshakeUI(IApplicationInterface &appInterface)
Definition:
HostHandshakeUI.cpp:3
IApplicationInterface
Definition:
IApplicationInterface.h:7
HostHandshakeUI::handshake
void handshake(bool handshaked) override
Sets the handshake status of the device.
Definition:
HostHandshakeUI.cpp:6
IHandshakeUI
Manages the interface if a device was handshaked (greeted) with or not. Lights the appropriate LED to...
Definition:
IHandshakeUI.h:6
HostHandshakeUI::~HostHandshakeUI
~HostHandshakeUI() override=default
HostHandshakeUI::m_appInterface
IApplicationInterface & m_appInterface
Definition:
HostHandshakeUI.h:15
IHandshakeUI.h
Generated by
1.8.17