Public Member Functions | Protected Attributes | List of all members
IColorO Class Referenceabstract

#include <iColorO.h>

Inheritance diagram for IColorO:
Inheritance graph
[legend]

Public Member Functions

int getNumLeds ()
 
 IColorO ()
 
virtual bool init ()=0
 
virtual void setColor (color::rgba color)=0
 
virtual void setColorMulti (std::vector< color::rgba > &colors)=0
 
void setMask (int mask)
 
void setNumLeds (size_t num_leds)
 
boost::signals2::signal< void(color::rgba color)> * signalColorSet ()
 
boost::signals2::signal< void(std::vector< color::rgba > colors) > * signalColorsSet ()
 
virtual ~IColorO ()
 

Protected Attributes

bool _initialized
 
int _invertMask
 
int _num_leds
 
boost::signals2::signal< void(color::rgba color)> m_sigColorSet
 
boost::signals2::signal< void(std::vector< color::rgba > colors) > m_sigColorsSet
 

Detailed Description

Definition at line 24 of file iColorO.h.

Constructor & Destructor Documentation

IColorO::IColorO ( )
inline

Definition at line 27 of file iColorO.h.

virtual IColorO::~IColorO ( )
inlinevirtual

Definition at line 28 of file iColorO.h.

Member Function Documentation

int IColorO::getNumLeds ( )
inline

Definition at line 36 of file iColorO.h.

virtual bool IColorO::init ( )
pure virtual

Implemented in ColorO, ColorOSim, MS35, and StageProfi.

virtual void IColorO::setColor ( color::rgba  color)
pure virtual

Implemented in StageProfi, ColorO, ColorOSim, and MS35.

virtual void IColorO::setColorMulti ( std::vector< color::rgba > &  colors)
pure virtual

Implemented in StageProfi, ColorO, ColorOSim, and MS35.

void IColorO::setMask ( int  mask)
inline

Definition at line 34 of file iColorO.h.

void IColorO::setNumLeds ( size_t  num_leds)
inline

Definition at line 35 of file iColorO.h.

boost::signals2::signal<void (color::rgba color)>* IColorO::signalColorSet ( )
inline

Definition at line 38 of file iColorO.h.

boost::signals2::signal<void (std::vector<color::rgba> colors) >* IColorO::signalColorsSet ( )
inline

Definition at line 39 of file iColorO.h.

Member Data Documentation

bool IColorO::_initialized
protected

Definition at line 42 of file iColorO.h.

int IColorO::_invertMask
protected

Definition at line 43 of file iColorO.h.

int IColorO::_num_leds
protected

Definition at line 44 of file iColorO.h.

boost::signals2::signal<void (color::rgba color)> IColorO::m_sigColorSet
protected

Definition at line 45 of file iColorO.h.

boost::signals2::signal<void (std::vector<color::rgba> colors) > IColorO::m_sigColorsSet
protected

Definition at line 46 of file iColorO.h.


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


cob_light
Author(s): Benjamin Maidel
autogenerated on Wed Apr 7 2021 02:11:39