#include <colorOSim.h>
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::NodeHandle * | p_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 |
Definition at line 27 of file colorOSim.h.
ColorOSim::ColorOSim | ( | ros::NodeHandle * | nh | ) |
Definition at line 21 of file colorOSim.cpp.
|
virtual |
Definition at line 28 of file colorOSim.cpp.
|
virtual |
Implements IColorO.
Definition at line 32 of file colorOSim.cpp.
|
virtual |
Implements IColorO.
Definition at line 37 of file colorOSim.cpp.
|
virtual |
Implements IColorO.
Definition at line 49 of file colorOSim.cpp.
|
private |
Definition at line 39 of file colorOSim.h.
|
private |
Definition at line 40 of file colorOSim.h.
|
private |
Definition at line 38 of file colorOSim.h.