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

#include <Ws2801GenericMethod.h>

Public Types

typedef T_TWOWIRE::SettingsObject SettingsObject
 

Public Member Functions

 Ws2801MethodBase (uint8_t pinClock, uint8_t pinData, uint16_t pixelCount, size_t elementSize, size_t settingsSize)
 
 Ws2801MethodBase (uint16_t pixelCount, size_t elementSize, size_t settingsSize)
 
 ~Ws2801MethodBase ()
 
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 Ws2801MethodBase< T_TWOWIRE >::SettingsObject

Constructor & Destructor Documentation

◆ Ws2801MethodBase() [1/2]

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

◆ Ws2801MethodBase() [2/2]

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

◆ ~Ws2801MethodBase()

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

Member Function Documentation

◆ AlwaysUpdate()

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

◆ applySettings()

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

◆ getData()

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

◆ getDataSize()

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

◆ Initialize()

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

◆ IsReadyToUpdate()

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

◆ Update()

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