Go to the documentation of this file. 1 #ifndef IAPPLICATIONINTERFACE_H_
2 #define IAPPLICATIONINTERFACE_H_
44 #endif // IAPPLICATIONINTERFACE_H_
virtual void setSystemConnectionState(ConnectionState state)=0
set the system Connection state and light the necessary LED the right color
Definition: SystemStates.h:25
Definition: IApplicationInterface.h:7
virtual void setUserLed(bool state)=0
set the user LED
Definition: UserStates.h:23
Definition: ApplicationStates.h:7
virtual void setSystemButtonCallback(Button button, buttonCallbackFunction_t callback, void *context)=0
set the systems button to a callback
virtual void setSystemRemoteHandshaked(bool handshaked)=0
set the system Remote handshake and light the necessary LED
virtual void setSystemHostHandshaked(bool handshaked)=0
set the system Host handshake and light the necessary LED
Button
Buttons present on the board.
Definition: IUserInterface.h:16
virtual ~IApplicationInterface()=default
virtual void setSystemDeviceState(DeviceState state)=0
set the system Connection state and set the seven segment accordingly
ConnectionState
Definition: SystemStates.h:4
UserSegment
Definition: UserStates.h:4
virtual void setUserSegment(UserSegment segment)=0
set the user seven segment
virtual ApplicationStates getApplicationState() const =0
get the application states
void(* buttonCallbackFunction_t)(void *instance)
Prototype for a callback from a button press.
Definition: IUserInterface.h:28
DeviceState
Definition: SystemStates.h:6
virtual SystemStates getSystemStates() const =0
set the system states
virtual UserStates getUserStates() const =0
get the user states