libNeon
Loading...
Searching...
No Matches
neo::ref< Led > Class Template Reference

#include <strip.hpp>

Inheritance diagram for neo::ref< Led >:
Collaboration diagram for neo::ref< Led >:

Public Member Functions

 ref (strip< Led > const &neo, Led &ref, std::vector< rmt_item32_t >::iterator repr_it)
 
void set_color (rgb c)
 
refoperator= (Led v)
 
refoperator= (rgb c)
 
- Public Member Functions inherited from neo::cref< Led >
 cref (strip< Led > const &neo, Led const &cref)
 
 operator Led () const
 
rgb get_color () const
 

Private Member Functions

Led & get_ref ()
 

Private Attributes

std::vector< rmt_item32_t >::iterator _repr_it
 

Additional Inherited Members

- Protected Attributes inherited from neo::cref< Led >
strip< Led > const & _strip
 
Led const & _cref
 

Constructor & Destructor Documentation

◆ ref()

template<class Led >
neo::ref< Led >::ref ( strip< Led > const &  neo,
Led &  ref,
std::vector< rmt_item32_t >::iterator  repr_it 
)
explicit

Member Function Documentation

◆ get_ref()

template<class Led >
Led & neo::ref< Led >::get_ref ( )
inlineprivate

◆ operator=() [1/2]

template<class Led >
ref< Led > & neo::ref< Led >::operator= ( Led  v)

◆ operator=() [2/2]

template<class Led >
ref< Led > & neo::ref< Led >::operator= ( rgb  c)
inline

◆ set_color()

template<class Led >
void neo::ref< Led >::set_color ( rgb  c)

Member Data Documentation

◆ _repr_it

template<class Led >
std::vector<rmt_item32_t>::iterator neo::ref< Led >::_repr_it
private

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