Public Types | Public Member Functions | Private Member Functions | Private Attributes
LightMode Class Reference

List of all members.

Public Types

enum  LedMode {
  STATIC = 0, BREATH = 1, BREATH_COLOR = 2, FLASH = 3,
  SOUND = 4
}

Public Member Functions

void beatDrumCallback ()
void beatProcessDoneCallback ()
void beatSnareCallback ()
mybeat::BeatControllergetBeatController ()
 LightMode ()
 ~LightMode ()

Private Member Functions

void breathCallback (const ros::TimerEvent &event)
void flashCallback (const ros::TimerEvent &event)
bool modeCallback (cob_lightmode::LightMode::Request &req, cob_lightmode::LightMode::Response &res)
void soundCallback (const ros::TimerEvent &event)

Private Attributes

mybeat::BeatController_beatController
std_msgs::ColorRGBA _color
ros::NodeHandle _nh
ros::Publisher _pub
float _sound_magnitude
ros::ServiceServer _srvServer
float _timer_inc
ros::Timer _timerMode

Detailed Description

Definition at line 79 of file lightmode.cpp.


Member Enumeration Documentation

Enumerator:
STATIC 
BREATH 
BREATH_COLOR 
FLASH 
SOUND 

Definition at line 106 of file lightmode.cpp.


Constructor & Destructor Documentation

LightMode::LightMode ( ) [inline]

Definition at line 82 of file lightmode.cpp.

LightMode::~LightMode ( ) [inline]

Definition at line 98 of file lightmode.cpp.


Member Function Documentation

void LightMode::beatDrumCallback ( ) [inline]

Definition at line 119 of file lightmode.cpp.

Definition at line 108 of file lightmode.cpp.

void LightMode::beatSnareCallback ( ) [inline]

Definition at line 114 of file lightmode.cpp.

void LightMode::breathCallback ( const ros::TimerEvent event) [inline, private]

Definition at line 196 of file lightmode.cpp.

void LightMode::flashCallback ( const ros::TimerEvent event) [inline, private]

Definition at line 214 of file lightmode.cpp.

Definition at line 104 of file lightmode.cpp.

Definition at line 138 of file lightmode.cpp.

void LightMode::soundCallback ( const ros::TimerEvent event) [inline, private]

Definition at line 219 of file lightmode.cpp.


Member Data Documentation

Definition at line 134 of file lightmode.cpp.

std_msgs::ColorRGBA LightMode::_color [private]

Definition at line 132 of file lightmode.cpp.

Definition at line 125 of file lightmode.cpp.

Definition at line 127 of file lightmode.cpp.

float LightMode::_sound_magnitude [private]

Definition at line 135 of file lightmode.cpp.

Definition at line 126 of file lightmode.cpp.

float LightMode::_timer_inc [private]

Definition at line 130 of file lightmode.cpp.

Definition at line 129 of file lightmode.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


cob_lightmode
Author(s): Benjamin Maidel
autogenerated on Thu Jan 17 2013 12:16:04