#include <Algorithm.h>
|
virtual bool | init ()=0 |
| Initializes the Algorithm object, must be called as soon as the object is created.
|
|
void | begin () |
| Starts the execution of the algorithm and set the running flag to true.
|
|
void | end () |
| Terminates the algorithm's execution and sets the running flag to false.
|
|
void | update () |
| Checks wether the algorithm is in a running state or not, and eventually calls the.
|
|
bool | isRunning () |
|
|
virtual void | step ()=0 |
| The actual algorithm step.
|
|
|
std::atomic< bool > | running {false} |
|
Definition at line 29 of file Algorithm.h.
◆ begin()
void Boardcore::Algorithm::begin |
( |
| ) |
|
|
inline |
Starts the execution of the algorithm and set the running flag to true.
Definition at line 42 of file Algorithm.h.
◆ end()
void Boardcore::Algorithm::end |
( |
| ) |
|
|
inline |
Terminates the algorithm's execution and sets the running flag to false.
Definition at line 48 of file Algorithm.h.
◆ init()
virtual bool Boardcore::Algorithm::init |
( |
| ) |
|
|
pure virtual |
◆ isRunning()
bool Boardcore::Algorithm::isRunning |
( |
| ) |
|
|
inline |
◆ step()
virtual void Boardcore::Algorithm::step |
( |
| ) |
|
|
protectedpure virtual |
◆ update()
void Boardcore::Algorithm::update |
( |
| ) |
|
|
inline |
Checks wether the algorithm is in a running state or not, and eventually calls the.
- See also
- {step} routine.
Definition at line 54 of file Algorithm.h.
◆ running
std::atomic<bool> Boardcore::Algorithm::running {false} |
|
protected |
The documentation for this class was generated from the following file: