Public Member Functions | Private Attributes | List of all members
ColorOSim Class Reference

#include <colorOSim.h>

Inheritance diagram for ColorOSim:
Inheritance graph
[legend]

Public Member Functions

 ColorOSim (ros::NodeHandle *nh)
 
bool init ()
 
void setColor (color::rgba color)
 
void setColorMulti (std::vector< color::rgba > &colors)
 
virtual ~ColorOSim ()
 
- Public Member Functions inherited from IColorO
int getNumLeds ()
 
 IColorO ()
 
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 ()
 

Private Attributes

ros::Publisher _pubSimulation
 
ros::Publisher _pubSimulationMulti
 
ros::NodeHandlep_nh
 

Additional Inherited Members

- Protected Attributes inherited from IColorO
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 27 of file colorOSim.h.

Constructor & Destructor Documentation

ColorOSim::ColorOSim ( ros::NodeHandle nh)

Definition at line 21 of file colorOSim.cpp.

ColorOSim::~ColorOSim ( )
virtual

Definition at line 28 of file colorOSim.cpp.

Member Function Documentation

bool ColorOSim::init ( )
virtual

Implements IColorO.

Definition at line 32 of file colorOSim.cpp.

void ColorOSim::setColor ( color::rgba  color)
virtual

Implements IColorO.

Definition at line 37 of file colorOSim.cpp.

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

Implements IColorO.

Definition at line 49 of file colorOSim.cpp.

Member Data Documentation

ros::Publisher ColorOSim::_pubSimulation
private

Definition at line 39 of file colorOSim.h.

ros::Publisher ColorOSim::_pubSimulationMulti
private

Definition at line 40 of file colorOSim.h.

ros::NodeHandle* ColorOSim::p_nh
private

Definition at line 38 of file colorOSim.h.


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


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