Public Member Functions | Private Member Functions | Private Attributes
ModeExecutor Class Reference

#include <modeExecutor.h>

List of all members.

Public Member Functions

void execute (Mode *mode)
void execute (cob_light::LightMode requestMode)
int getExecutingMode ()
int getExecutingPriority ()
 ModeExecutor (IColorO *colorO)
void resume ()
void setDefaultPriority (int priority)
void stop ()
 ~ModeExecutor ()

Private Member Functions

bool isStopRequested ()
void run ()

Private Attributes

Mode_activeMode
IColorO_colorO
boost::mutex _mutex
bool _stopRequested
boost::shared_ptr< boost::thread > _thread_ptr
int default_priority

Detailed Description

Definition at line 64 of file modeExecutor.h.


Constructor & Destructor Documentation

Definition at line 58 of file modeExecutor.cpp.

Definition at line 65 of file modeExecutor.cpp.


Member Function Documentation

void ModeExecutor::execute ( Mode mode)

Definition at line 78 of file modeExecutor.cpp.

Definition at line 70 of file modeExecutor.cpp.

Definition at line 164 of file modeExecutor.cpp.

Definition at line 169 of file modeExecutor.cpp.

bool ModeExecutor::isStopRequested ( ) [private]

Definition at line 155 of file modeExecutor.cpp.

void ModeExecutor::run ( ) [private]

Definition at line 109 of file modeExecutor.cpp.

void ModeExecutor::setDefaultPriority ( int  priority)

Definition at line 177 of file modeExecutor.cpp.

Definition at line 140 of file modeExecutor.cpp.


Member Data Documentation

Definition at line 88 of file modeExecutor.h.

Definition at line 86 of file modeExecutor.h.

boost::mutex ModeExecutor::_mutex [private]

Definition at line 92 of file modeExecutor.h.

Definition at line 90 of file modeExecutor.h.

boost::shared_ptr<boost::thread> ModeExecutor::_thread_ptr [private]

Definition at line 91 of file modeExecutor.h.

Definition at line 94 of file modeExecutor.h.


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


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