|
ESPixelStick Firmware
Firmware for the ESPixelStick
|
forward declaration to the pure virtual Input class that will be defined later. More...
#include <InputMgr.hpp>

Classes | |
| struct | DriverInfo_t |
Public Types | |
| enum | e_InputChannelIds { InputPrimaryChannelId = 0 , InputSecondaryChannelId = 1 , InputChannelId_End , InputChannelId_Start = InputPrimaryChannelId , InputChannelId_ALL = InputChannelId_End , EffectsChannel = InputSecondaryChannelId } |
| enum | e_InputType { InputType_E1_31 = 0 , InputType_Effects , InputType_MQTT , InputType_Alexa , InputType_DDP , InputType_Artnet , InputType_Disabled , InputType_End , InputType_Start = InputType_E1_31 , InputType_Default = InputType_Disabled } |
Public Member Functions | |
| c_InputMgr () | |
| < Start up the driver and put it into a safe mode | |
| virtual | ~c_InputMgr () |
| < deallocate any resources and put the Input channels into a safe state | |
| void | Begin (uint32_t BufferSize) |
| < Start the module | |
| void | LoadConfig () |
| void | ScheduleLoadConfig () |
| void | GetConfig (byte *Response, uint32_t maxlen) |
| void | GetStatus (JsonObject &jsonStatus) |
| void | SetConfig (const char *NewConfig) |
| void | SetConfig (ArduinoJson::JsonDocument &NewConfig) |
| void | Process () |
| < Called from loop(), renders Input data | |
| void | SetBufferInfo (uint32_t BufferSize) |
| void | SetOperationalState (bool Active) |
| void | NetworkStateChanged (bool IsConnected) |
| void | DeleteConfig () |
| bool | GetNetworkState () |
| void | GetDriverName (String &Name) |
| void | RestartBlankTimer (e_InputChannelIds Selector) |
| bool | BlankTimerHasExpired (e_InputChannelIds Selector) |
| void | ProcessButtonActions (c_ExternalInput::InputValue_t value) |
| bool | RemotePlayEnabled (void) |
| void | ClearStatistics (void) |
Private Member Functions | |
| void | InstantiateNewInputChannel (e_InputChannelIds InputChannelId, e_InputType NewChannelType, bool StartDriver=true) |
| void | CreateNewConfig () |
| bool | ProcessJsonConfig (JsonObject &jsonConfig) |
| void | CreateJsonConfig (JsonObject &jsonConfig) |
| bool | ProcessJsonChannelConfig (JsonObject &jsonConfig, uint32_t ChannelIndex) |
| bool | InputTypeIsAllowedOnChannel (e_InputType type, e_InputChannelIds ChannelId) |
| bool | FindJsonChannelConfig (JsonObject &jsonConfig, e_InputChannelIds ChanId, JsonObject &ChanConfig) |
Private Attributes | |
| DriverInfo_t | InputChannelDrivers [InputChannelId_End] |
| pointer(s) to the current active Input driver | |
| uint32_t | InputDataBufferSize = 0 |
| bool | HasBeenInitialized = false |
| c_ExternalInput | ExternalInput |
| bool | EffectEngineIsConfiguredToRun [InputChannelId_End] |
| bool | IsConnected = false |
| bool | configInProgress = false |
| time_t | ConfigLoadNeeded = NO_CONFIG_NEEDED |
| bool | PauseProcessing = false |
| char | ConfigFileName [65] |
| String | InputRebootReason |
| bool | RebootNeeded = false |
| FastTimer | BlankEndTime [InputChannelId_End] |
| Ticker | MsTicker |
| uint32_t | LastTickerTimeStampMS = 0 |
forward declaration to the pure virtual Input class that will be defined later.
| c_InputMgr::c_InputMgr | ( | ) |
< Start up the driver and put it into a safe mode
|
virtual |
< deallocate any resources and put the Input channels into a safe state
| void c_InputMgr::Begin | ( | uint32_t | BufferSize | ) |
< Start the module


|
inline |

| void c_InputMgr::ClearStatistics | ( | void | ) |


|
private |


|
private |


|
inline |


|
private |


| void c_InputMgr::GetConfig | ( | byte * | Response, |
| uint32_t | maxlen ) |

|
inline |
|
inline |

| void c_InputMgr::GetStatus | ( | JsonObject & | jsonStatus | ) |


|
private |

|
private |


| void c_InputMgr::LoadConfig | ( | ) |


| void c_InputMgr::NetworkStateChanged | ( | bool | IsConnected | ) |

| void c_InputMgr::Process | ( | ) |
< Called from loop(), renders Input data


| void c_InputMgr::ProcessButtonActions | ( | c_ExternalInput::InputValue_t | value | ) |

|
private |
|
private |

| bool c_InputMgr::RemotePlayEnabled | ( | void | ) |
|
inline |


|
inline |

| void c_InputMgr::SetBufferInfo | ( | uint32_t | BufferSize | ) |

| void c_InputMgr::SetConfig | ( | ArduinoJson::JsonDocument & | NewConfig | ) |
| void c_InputMgr::SetConfig | ( | const char * | NewConfig | ) |


| void c_InputMgr::SetOperationalState | ( | bool | Active | ) |

|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
pointer(s) to the current active Input driver
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |