23 #include <boost/signals2.hpp> 24 #include <boost/thread.hpp> 29 Mode(
int priority = 0,
double freq = 0,
int pulses = 0,
double timeout = 0)
82 virtual std::string
getName() = 0;
171 boost::mutex::scoped_lock lock(_mutex_pause);
172 _cond_pause.wait(lock);
boost::shared_ptr< boost::thread > _thread
boost::signals2::signal< void(int)> m_sigFinished
void setFrequency(double freq)
std::vector< color::rgba > _colors
Mode(int priority=0, double freq=0, int pulses=0, double timeout=0)
static const unsigned int UPDATE_RATE_HZ
void setPulses(int pulses)
void setPriority(int priority)
void setTimeout(double timeout)
boost::signals2::signal< void(color::rgba color)> * signalColorReady()
ROSCPP_DECL bool isShuttingDown()
virtual std::string getName()=0
boost::condition_variable _cond_pause
boost::mutex _mutex_pause
boost::signals2::signal< void(color::rgba color)> m_sigColorReady
boost::signals2::signal< void(std::vector< color::rgba > &colors)> m_sigColorsReady
boost::signals2::signal< void(std::vector< color::rgba > &colors)> * signalColorsReady()
color::rgba getActualColor()
boost::signals2::signal< void(int)> * signalModeFinished()
void setColor(color::rgba color)
void setActualColor(color::rgba color)