ESPixelStick Firmware
Firmware for the ESPixelStick
Loading...
Searching...
No Matches
c_InputFPPRemotePlayFile Class Reference

#include <InputFPPRemotePlayFile.hpp>

Inheritance diagram for c_InputFPPRemotePlayFile:
Collaboration diagram for c_InputFPPRemotePlayFile:

Classes

struct  SyncControl_t
 

Public Member Functions

 c_InputFPPRemotePlayFile (c_InputMgr::e_InputChannelIds InputChannelId)
 
virtual ~c_InputFPPRemotePlayFile ()
 
virtual void Start (String &FileName, float SecondsElapsed, uint32_t RemainingPlayCount)
 
virtual void Stop ()
 
virtual void Sync (String &FileName, float SecondsElapsed)
 
virtual bool Poll ()
 
virtual void GetStatus (JsonObject &jsonStatus)
 
virtual bool IsIdle ()
 
- Public Member Functions inherited from c_InputFPPRemotePlayItem
 c_InputFPPRemotePlayItem (c_InputMgr::e_InputChannelIds InputChannelId)
 
virtual ~c_InputFPPRemotePlayItem ()
 
virtual void SetPauseState (bool _PauseInput)
 
String GetFileName ()
 
uint32_t GetRepeatCount ()
 
void SetDuration (time_t value)
 
void GetDriverName (String &Name)
 
int32_t GetSyncOffsetMS ()
 
void SetSyncOffsetMS (int32_t value)
 
void SetSendFppSync (bool value)
 
c_InputMgr::e_InputChannelIds GetInputChannelId ()
 
bool InputIsPaused ()
 
void SetOperationalState (bool ActiveFlag)
 
void SetBackgroundFileName (String &FileName)
 
void ClearFileNames ()
 

Private Member Functions

void ClearControlFileInfo ()
 
void UpdateElapsedPlayTimeMS ()
 
uint32_t CalculateFrameId (uint32_t ElapsedMS, int32_t SyncOffsetMS)
 
bool ParseFseqFile ()
 
uint64_t ReadFile (uint64_t DestinationIntensityId, uint64_t NumBytesToRead, uint64_t FileOffset)
 

Private Attributes

fsm_PlayFile_state_Idle fsm_PlayFile_state_Idle_imp
 
fsm_PlayFile_state_Starting fsm_PlayFile_state_Starting_imp
 
fsm_PlayFile_state_PlayingFile fsm_PlayFile_state_PlayingFile_imp
 
fsm_PlayFile_state_Stopping fsm_PlayFile_state_Stopping_imp
 
fsm_PlayFile_state_Error fsm_PlayFile_state_Error_imp
 
fsm_PlayFile_statepCurrentFsmState = &fsm_PlayFile_state_Idle_imp
 
struct c_InputFPPRemotePlayFile::SyncControl_t SyncControl
 
uint32_t PlayedFileCount = 0
 
FSEQParsedRangeEntry SparseRanges [MAX_NUM_SPARSE_RANGES]
 
String LastFailedPlayStatusMsg = emptyString
 
String LastFailedFilename = emptyString
 

Friends

class fsm_PlayFile_state_Idle
 
class fsm_PlayFile_state_Starting
 
class fsm_PlayFile_state_PlayingFile
 
class fsm_PlayFile_state_Stopping
 
class fsm_PlayFile_state_Error
 
class fsm_PlayFile_state
 

Additional Inherited Members

- Public Attributes inherited from c_InputFPPRemotePlayItem
struct c_InputFPPRemotePlayItem::FileControl_t FileControl [2]
 
- Protected Attributes inherited from c_InputFPPRemotePlayItem
time_t PlayDurationSec = 0
 
bool SendFppSync = false
 
String BackgroundFileName = emptyString
 
const uint64_t LocalIntensityBufferSize = 2048
 

Constructor & Destructor Documentation

◆ c_InputFPPRemotePlayFile()

c_InputFPPRemotePlayFile::c_InputFPPRemotePlayFile ( c_InputMgr::e_InputChannelIds InputChannelId)
Here is the call graph for this function:

◆ ~c_InputFPPRemotePlayFile()

c_InputFPPRemotePlayFile::~c_InputFPPRemotePlayFile ( )
virtual
Here is the call graph for this function:

Member Function Documentation

◆ CalculateFrameId()

uint32_t c_InputFPPRemotePlayFile::CalculateFrameId ( uint32_t ElapsedMS,
int32_t SyncOffsetMS )
private
Here is the caller graph for this function:

◆ ClearControlFileInfo()

void c_InputFPPRemotePlayFile::ClearControlFileInfo ( )
private
Here is the caller graph for this function:

◆ GetStatus()

void c_InputFPPRemotePlayFile::GetStatus ( JsonObject & jsonStatus)
virtual

Implements c_InputFPPRemotePlayItem.

Here is the call graph for this function:

◆ IsIdle()

virtual bool c_InputFPPRemotePlayFile::IsIdle ( )
inlinevirtual

Implements c_InputFPPRemotePlayItem.

Here is the caller graph for this function:

◆ ParseFseqFile()

bool c_InputFPPRemotePlayFile::ParseFseqFile ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Poll()

bool c_InputFPPRemotePlayFile::Poll ( )
virtual

Implements c_InputFPPRemotePlayItem.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadFile()

uint64_t c_InputFPPRemotePlayFile::ReadFile ( uint64_t DestinationIntensityId,
uint64_t NumBytesToRead,
uint64_t FileOffset )
private
Here is the call graph for this function:

◆ Start()

void c_InputFPPRemotePlayFile::Start ( String & FileName,
float SecondsElapsed,
uint32_t RemainingPlayCount )
virtual

Implements c_InputFPPRemotePlayItem.

Here is the call graph for this function:

◆ Stop()

void c_InputFPPRemotePlayFile::Stop ( )
virtual

Implements c_InputFPPRemotePlayItem.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Sync()

void c_InputFPPRemotePlayFile::Sync ( String & FileName,
float SecondsElapsed )
virtual

Implements c_InputFPPRemotePlayItem.

Here is the call graph for this function:

◆ UpdateElapsedPlayTimeMS()

void c_InputFPPRemotePlayFile::UpdateElapsedPlayTimeMS ( )
private
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ fsm_PlayFile_state

friend class fsm_PlayFile_state
friend

◆ fsm_PlayFile_state_Error

friend class fsm_PlayFile_state_Error
friend

◆ fsm_PlayFile_state_Idle

friend class fsm_PlayFile_state_Idle
friend

◆ fsm_PlayFile_state_PlayingFile

friend class fsm_PlayFile_state_PlayingFile
friend

◆ fsm_PlayFile_state_Starting

friend class fsm_PlayFile_state_Starting
friend

◆ fsm_PlayFile_state_Stopping

friend class fsm_PlayFile_state_Stopping
friend

Member Data Documentation

◆ fsm_PlayFile_state_Error_imp

fsm_PlayFile_state_Error c_InputFPPRemotePlayFile::fsm_PlayFile_state_Error_imp
private

◆ fsm_PlayFile_state_Idle_imp

fsm_PlayFile_state_Idle c_InputFPPRemotePlayFile::fsm_PlayFile_state_Idle_imp
private

◆ fsm_PlayFile_state_PlayingFile_imp

fsm_PlayFile_state_PlayingFile c_InputFPPRemotePlayFile::fsm_PlayFile_state_PlayingFile_imp
private

◆ fsm_PlayFile_state_Starting_imp

fsm_PlayFile_state_Starting c_InputFPPRemotePlayFile::fsm_PlayFile_state_Starting_imp
private

◆ fsm_PlayFile_state_Stopping_imp

fsm_PlayFile_state_Stopping c_InputFPPRemotePlayFile::fsm_PlayFile_state_Stopping_imp
private

◆ LastFailedFilename

String c_InputFPPRemotePlayFile::LastFailedFilename = emptyString
private

◆ LastFailedPlayStatusMsg

String c_InputFPPRemotePlayFile::LastFailedPlayStatusMsg = emptyString
private

◆ pCurrentFsmState

fsm_PlayFile_state* c_InputFPPRemotePlayFile::pCurrentFsmState = &fsm_PlayFile_state_Idle_imp
private

◆ PlayedFileCount

uint32_t c_InputFPPRemotePlayFile::PlayedFileCount = 0
private

◆ SparseRanges

FSEQParsedRangeEntry c_InputFPPRemotePlayFile::SparseRanges[MAX_NUM_SPARSE_RANGES]
private

◆ SyncControl

struct c_InputFPPRemotePlayFile::SyncControl_t c_InputFPPRemotePlayFile::SyncControl
private

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