HiveMind
src
application-interface
include
application-interface
ConnectionStateUI.h
Go to the documentation of this file.
1
#ifndef CONNECTIONSTATEUI_H_
2
#define CONNECTIONSTATEUI_H_
3
4
#include <
application-interface/IConnectionStateUI.h
>
5
6
class
ConnectionStateUI
:
public
IConnectionStateUI
{
7
public
:
8
ConnectionStateUI
(
IApplicationInterface
& appInterface);
9
~ConnectionStateUI
() =
default
;
10
11
void
setConnectionState
(
ConnectionState
state)
override
;
12
13
private
:
14
IApplicationInterface
&
m_appInterface
;
15
};
16
17
#endif // CONNECTIONSTATEUI_H_
ConnectionStateUI::~ConnectionStateUI
~ConnectionStateUI()=default
IConnectionStateUI
Manages UI of the connection state with the host and informs the user via LEDs.
Definition:
IConnectionStateUI.h:7
IApplicationInterface
Definition:
IApplicationInterface.h:7
ConnectionStateUI::ConnectionStateUI
ConnectionStateUI(IApplicationInterface &appInterface)
Definition:
ConnectionStateUI.cpp:3
ConnectionStateUI::m_appInterface
IApplicationInterface & m_appInterface
Definition:
ConnectionStateUI.h:14
ConnectionState
ConnectionState
Definition:
SystemStates.h:4
ConnectionStateUI::setConnectionState
void setConnectionState(ConnectionState state) override
Sets the state of the connection.
Definition:
ConnectionStateUI.cpp:6
ConnectionStateUI
Definition:
ConnectionStateUI.h:6
IConnectionStateUI.h
Generated by
1.8.17