Public Member Functions | Protected Attributes
Mode Class Reference

#include <mode.h>

Inheritance diagram for Mode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void execute ()=0
bool finished ()
color::rgba getColor ()
double getFrequency ()
virtual std::string getName ()=0
int getPriority ()
int getPulses ()
double getTimeout ()
 Mode (int priority=0, double freq=0, int pulses=0, double timeout=0)
int pulsed ()
void setColor (color::rgba color)
void setFrequency (double freq)
void setPriority (int priority)
void setPulses (int pulses)
void setTimeout (double timeout)
virtual ~Mode ()

Protected Attributes

color::rgba _color
bool _finished
double _freq
int _priority
int _pulsed
int _pulses
double _timeout
boost::signals2::signal< void(color::rgba
color)> 
m_sigColorReady

Detailed Description

Definition at line 61 of file mode.h.


Constructor & Destructor Documentation

Mode::Mode ( int  priority = 0,
double  freq = 0,
int  pulses = 0,
double  timeout = 0 
) [inline]

Definition at line 64 of file mode.h.

virtual Mode::~Mode ( ) [inline, virtual]

Definition at line 67 of file mode.h.


Member Function Documentation

virtual void Mode::execute ( ) [pure virtual]
bool Mode::finished ( ) [inline]

Definition at line 73 of file mode.h.

Definition at line 90 of file mode.h.

double Mode::getFrequency ( ) [inline]

Definition at line 82 of file mode.h.

virtual std::string Mode::getName ( ) [pure virtual]
int Mode::getPriority ( ) [inline]

Definition at line 76 of file mode.h.

int Mode::getPulses ( ) [inline]

Definition at line 85 of file mode.h.

double Mode::getTimeout ( ) [inline]

Definition at line 79 of file mode.h.

int Mode::pulsed ( ) [inline]

Definition at line 87 of file mode.h.

void Mode::setColor ( color::rgba  color) [inline]

Definition at line 89 of file mode.h.

void Mode::setFrequency ( double  freq) [inline]

Definition at line 81 of file mode.h.

void Mode::setPriority ( int  priority) [inline]

Definition at line 75 of file mode.h.

void Mode::setPulses ( int  pulses) [inline]

Definition at line 84 of file mode.h.

void Mode::setTimeout ( double  timeout) [inline]

Definition at line 78 of file mode.h.


Member Data Documentation

Definition at line 103 of file mode.h.

bool Mode::_finished [protected]

Definition at line 100 of file mode.h.

double Mode::_freq [protected]

Definition at line 96 of file mode.h.

int Mode::_priority [protected]

Definition at line 95 of file mode.h.

int Mode::_pulsed [protected]

Definition at line 101 of file mode.h.

int Mode::_pulses [protected]

Definition at line 97 of file mode.h.

double Mode::_timeout [protected]

Definition at line 98 of file mode.h.

boost::signals2::signal<void (color::rgba color)> Mode::m_sigColorReady [protected]

Definition at line 105 of file mode.h.


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


cob_light
Author(s): Benjamin Maidel
autogenerated on Sun Oct 5 2014 23:09:07