Lumitronix_Iflex_Pro_Workshop
Library to interact with the iFlexPro
DotStarMethodBase< T_TWOWIRE > Class Template Reference

#include <DotStarGenericMethod.h>

Public Types

typedef T_TWOWIRE::SettingsObject SettingsObject
 

Public Member Functions

 DotStarMethodBase (uint8_t pinClock, uint8_t pinData, uint16_t pixelCount, size_t elementSize, size_t settingsSize)
 
 DotStarMethodBase (uint16_t pixelCount, size_t elementSize, size_t settingsSize)
 
 ~DotStarMethodBase ()
 
bool IsReadyToUpdate () const
 
void Initialize ()
 
void Update (bool)
 
bool AlwaysUpdate ()
 
uint8_t * getData () const
 
size_t getDataSize () const
 
void applySettings ([[maybe_unused]] const SettingsObject &settings)
 

Member Typedef Documentation

◆ SettingsObject

template<typename T_TWOWIRE >
typedef T_TWOWIRE::SettingsObject DotStarMethodBase< T_TWOWIRE >::SettingsObject

Constructor & Destructor Documentation

◆ DotStarMethodBase() [1/2]

template<typename T_TWOWIRE >
DotStarMethodBase< T_TWOWIRE >::DotStarMethodBase ( uint8_t  pinClock,
uint8_t  pinData,
uint16_t  pixelCount,
size_t  elementSize,
size_t  settingsSize 
)
inline

◆ DotStarMethodBase() [2/2]

template<typename T_TWOWIRE >
DotStarMethodBase< T_TWOWIRE >::DotStarMethodBase ( uint16_t  pixelCount,
size_t  elementSize,
size_t  settingsSize 
)
inline

◆ ~DotStarMethodBase()

template<typename T_TWOWIRE >
DotStarMethodBase< T_TWOWIRE >::~DotStarMethodBase ( )
inline

Member Function Documentation

◆ AlwaysUpdate()

template<typename T_TWOWIRE >
bool DotStarMethodBase< T_TWOWIRE >::AlwaysUpdate ( )
inline

◆ applySettings()

template<typename T_TWOWIRE >
void DotStarMethodBase< T_TWOWIRE >::applySettings ( [[maybe_unused] ] const SettingsObject settings)
inline

◆ getData()

template<typename T_TWOWIRE >
uint8_t* DotStarMethodBase< T_TWOWIRE >::getData ( ) const
inline

◆ getDataSize()

template<typename T_TWOWIRE >
size_t DotStarMethodBase< T_TWOWIRE >::getDataSize ( ) const
inline

◆ Initialize()

template<typename T_TWOWIRE >
void DotStarMethodBase< T_TWOWIRE >::Initialize ( )
inline

◆ IsReadyToUpdate()

template<typename T_TWOWIRE >
bool DotStarMethodBase< T_TWOWIRE >::IsReadyToUpdate ( ) const
inline

◆ Update()

template<typename T_TWOWIRE >
void DotStarMethodBase< T_TWOWIRE >::Update ( bool  )
inline