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

#include <colorOMarker.h>

Inheritance diagram for ColorOMarker:
Inheritance graph
[legend]

Public Member Functions

 ColorOMarker (ros::NodeHandle *nh)
 
bool init ()
 
void setColor (color::rgba color)
 
void setColorMulti (std::vector< color::rgba > &colors)
 
virtual ~ColorOMarker ()
 
- 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 _pubMarkerArray
 
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 28 of file colorOMarker.h.

Constructor & Destructor Documentation

◆ ColorOMarker()

ColorOMarker::ColorOMarker ( ros::NodeHandle nh)

Definition at line 22 of file colorOMarker.cpp.

◆ ~ColorOMarker()

ColorOMarker::~ColorOMarker ( )
virtual

Definition at line 28 of file colorOMarker.cpp.

Member Function Documentation

◆ init()

bool ColorOMarker::init ( )
virtual

Implements IColorO.

Definition at line 32 of file colorOMarker.cpp.

◆ setColor()

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

Implements IColorO.

Definition at line 37 of file colorOMarker.cpp.

◆ setColorMulti()

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

Implements IColorO.

Definition at line 65 of file colorOMarker.cpp.

Member Data Documentation

◆ _pubMarkerArray

ros::Publisher ColorOMarker::_pubMarkerArray
private

Definition at line 40 of file colorOMarker.h.

◆ p_nh

ros::NodeHandle* ColorOMarker::p_nh
private

Definition at line 39 of file colorOMarker.h.


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


cob_light
Author(s): Benjamin Maidel
autogenerated on Thu Nov 17 2022 03:17:28