HiveMind
Public Member Functions | List of all members
IApplicationInterface Class Referenceabstract

#include <IApplicationInterface.h>

Inheritance diagram for IApplicationInterface:
Inheritance graph
Collaboration diagram for IApplicationInterface:
Collaboration graph

Public Member Functions

virtual ~IApplicationInterface ()=default
 
virtual void setSystemRemoteHandshaked (bool handshaked)=0
 set the system Remote handshake and light the necessary LED More...
 
virtual void setSystemHostHandshaked (bool handshaked)=0
 set the system Host handshake and light the necessary LED More...
 
virtual void setSystemConnectionState (ConnectionState state)=0
 set the system Connection state and light the necessary LED the right color More...
 
virtual void setSystemDeviceState (DeviceState state)=0
 set the system Connection state and set the seven segment accordingly More...
 
virtual void setSystemButtonCallback (Button button, buttonCallbackFunction_t callback, void *context)=0
 set the systems button to a callback More...
 
virtual void setUserLed (bool state)=0
 set the user LED More...
 
virtual void setUserSegment (UserSegment segment)=0
 set the user seven segment More...
 
virtual SystemStates getSystemStates () const =0
 set the system states More...
 
virtual UserStates getUserStates () const =0
 get the user states More...
 
virtual ApplicationStates getApplicationState () const =0
 get the application states More...
 

Constructor & Destructor Documentation

◆ ~IApplicationInterface()

virtual IApplicationInterface::~IApplicationInterface ( )
virtualdefault

Member Function Documentation

◆ getApplicationState()

virtual ApplicationStates IApplicationInterface::getApplicationState ( ) const
pure virtual

get the application states

Implemented in ApplicationInterface.

◆ getSystemStates()

virtual SystemStates IApplicationInterface::getSystemStates ( ) const
pure virtual

set the system states

Implemented in ApplicationInterface.

◆ getUserStates()

virtual UserStates IApplicationInterface::getUserStates ( ) const
pure virtual

get the user states

Implemented in ApplicationInterface.

◆ setSystemButtonCallback()

virtual void IApplicationInterface::setSystemButtonCallback ( Button  button,
buttonCallbackFunction_t  callback,
void *  context 
)
pure virtual

set the systems button to a callback

Implemented in ApplicationInterface.

Here is the caller graph for this function:

◆ setSystemConnectionState()

virtual void IApplicationInterface::setSystemConnectionState ( ConnectionState  state)
pure virtual

set the system Connection state and light the necessary LED the right color

Implemented in ApplicationInterface.

Here is the caller graph for this function:

◆ setSystemDeviceState()

virtual void IApplicationInterface::setSystemDeviceState ( DeviceState  state)
pure virtual

set the system Connection state and set the seven segment accordingly

Implemented in ApplicationInterface.

Here is the caller graph for this function:

◆ setSystemHostHandshaked()

virtual void IApplicationInterface::setSystemHostHandshaked ( bool  handshaked)
pure virtual

set the system Host handshake and light the necessary LED

Implemented in ApplicationInterface.

Here is the caller graph for this function:

◆ setSystemRemoteHandshaked()

virtual void IApplicationInterface::setSystemRemoteHandshaked ( bool  handshaked)
pure virtual

set the system Remote handshake and light the necessary LED

Implemented in ApplicationInterface.

Here is the caller graph for this function:

◆ setUserLed()

virtual void IApplicationInterface::setUserLed ( bool  state)
pure virtual

set the user LED

Implemented in ApplicationInterface.

Here is the caller graph for this function:

◆ setUserSegment()

virtual void IApplicationInterface::setUserSegment ( UserSegment  segment)
pure virtual

set the user seven segment

Implemented in ApplicationInterface.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: