ESPixelStick Firmware
Firmware for the ESPixelStick
Loading...
Searching...
No Matches
InputFPPRemotePlayEffect.hpp
Go to the documentation of this file.
1#pragma once
2/*
3* InputFPPRemotePlayEffect.hpp
4*
5* Project: ESPixelStick - An ESP8266 / ESP32 and E1.31 based pixel driver
6* Copyright (c) 2021, 2025 Shelby Merrick
7* http://www.forkineye.com
8*
9* This program is provided free for you to use in any way that you wish,
10* subject to the laws and regulations where you are using it. Due diligence
11* is strongly suggested before using this code. Please give credit where due.
12*
13* The Author makes no warranty of any kind, express or implied, with regard
14* to this program or the documentation contained in this document. The
15* Author shall not be liable in any event for incidental or consequential
16* damages in connection with, or arising out of, the furnishing, performance
17* or use of these programs.
18*
19* PlayFile object used to parse and play an effect
20*/
21
22#include "ESPixelStick.h"
25#include "InputEffectEngine.hpp"
26
28{
29public:
32
33 virtual void Start (String & FileName, float duration, uint32_t PlayCount);
34 virtual void Stop ();
35 virtual void Sync (String & FileName, float SecondsElapsed);
36 virtual bool Poll ();
37 virtual void GetStatus (JsonObject & jsonStatus);
38 virtual bool IsIdle () { return (pCurrentFsmState == &fsm_PlayEffect_state_Idle_imp); }
39
40protected:
41
45
48
51
53
54}; // c_InputFPPRemotePlayEffect
Definition FastTimer.hpp:24
Definition InputEffectEngine.hpp:25
Definition InputFPPRemotePlayEffect.hpp:28
c_InputEffectEngine EffectsEngine
Definition InputFPPRemotePlayEffect.hpp:52
c_InputFPPRemotePlayEffect(c_InputMgr::e_InputChannelIds InputChannelId)
Definition InputFPPRemotePlayEffect.cpp:25
virtual void GetStatus(JsonObject &jsonStatus)
Definition InputFPPRemotePlayEffect.cpp:108
virtual void Stop()
Definition InputFPPRemotePlayEffect.cpp:64
virtual bool IsIdle()
Definition InputFPPRemotePlayEffect.hpp:38
virtual void Sync(String &FileName, float SecondsElapsed)
Definition InputFPPRemotePlayEffect.cpp:77
fsm_PlayEffect_state_PlayingEffect fsm_PlayEffect_state_PlayingEffect_imp
Definition InputFPPRemotePlayEffect.hpp:47
fsm_PlayEffect_state_Idle fsm_PlayEffect_state_Idle_imp
Definition InputFPPRemotePlayEffect.hpp:46
virtual bool Poll()
Definition InputFPPRemotePlayEffect.cpp:90
fsm_PlayEffect_state * pCurrentFsmState
Definition InputFPPRemotePlayEffect.hpp:49
FastTimer PlayEffectTimer
Definition InputFPPRemotePlayEffect.hpp:50
virtual ~c_InputFPPRemotePlayEffect()
Definition InputFPPRemotePlayEffect.cpp:39
Definition InputFPPRemotePlayItem.hpp:26
c_InputMgr::e_InputChannelIds InputChannelId
Definition InputFPPRemotePlayItem.hpp:41
e_InputChannelIds
Definition InputMgr.hpp:40
Definition InputFPPRemotePlayEffectFsm.hpp:54
Definition InputFPPRemotePlayEffectFsm.hpp:71
Definition InputFPPRemotePlayEffectFsm.hpp:33
uint8_t Start[3]
Definition fseq.h:0