EEROS
1.0.0.0
API for the EEROS Real-Time Robotics Framework
|
#include <Sequence.hpp>
Public Member Functions | |
Sequence (std::string name, Sequencer &seq) | |
Sequence (std::string name, Sequencer &seq, BaseSequence *caller, bool blocking) | |
virtual | ~Sequence () |
virtual int | operator() () |
virtual int | action ()=0 |
int | start () |
void | wait () |
void | waitAndTerminate () |
Public Member Functions inherited from eeros::sequencer::BaseSequence | |
BaseSequence (Sequencer &seq, BaseSequence *caller, bool blocking) | |
virtual | ~BaseSequence () |
virtual bool | checkPreCondition () |
virtual bool | checkExitCondition () |
void | setName (std::string name) |
std::string | getName () const |
void | setId (int id) |
int | getId () const |
BaseSequence * | getCallerSequence () |
std::vector< BaseSequence * > | getCallerStack () const |
SequenceState | getRunningState () const |
void | setPollingTime (int timeInMilliseconds) |
void | addMonitor (Monitor *monitor) |
std::vector< Monitor * > | getMonitors () const |
void | setTimeoutTime (double timeoutInSec) |
void | resetTimeout () |
void | setTimeoutBehavior (SequenceProp behavior) |
void | setTimeoutExceptionSequence (BaseSequence &sequence) |
void | resetAbort () |
Friends | |
class | Sequencer |
Additional Inherited Members | |
Public Attributes inherited from eeros::sequencer::BaseSequence | |
std::vector< Monitor * > | monitors |
Protected Attributes inherited from eeros::sequencer::BaseSequence | |
std::string | name |
Sequencer & | seq |
BaseSequence * | caller |
bool | blocking |
bool | exceptionIsActive = false |
bool | inExcProcessing = false |
SequenceState | state |
Logger | log |
Sequence::Sequence | ( | std::string | name, |
Sequencer & | seq | ||
) |
Sequence::Sequence | ( | std::string | name, |
Sequencer & | seq, | ||
BaseSequence * | caller, | ||
bool | blocking | ||
) |
|
virtual |
|
pure virtual |
Reimplemented from eeros::sequencer::BaseSequence.
|
inlinevirtual |
Implements eeros::sequencer::BaseSequence.
|
virtual |
Implements eeros::sequencer::BaseSequence.
void Sequence::wait | ( | ) |
Waits for this sequence to finish its current run. The sequence could be restarted later on.
void Sequence::waitAndTerminate | ( | ) |
Waits for this sequence to finish its current run. As soon as this happens, its associated thread will be terminated and ceases to exist.
|
friend |