#include <Starter.h>
Public Member Functions | |
Starter () | |
void | startClustering () |
void | stopClustering () |
void | initialize (void) |
Private Attributes | |
int | state |
Commander * | commander |
SIR * | sir |
Static Private Attributes | |
const int | READY = 0 |
const int | RUNNING = 1 |
|
|
|
The simulator does not allow the usage of RoBIOS functions in class constructors. Therefore we use public initialize methods for classes that need RoBIOS functions for their initializations. |
|
Starts the clustering. The threads that form the clustering algorithm are set to ready for execution
|
|
Stops the clustering. All threads that form the clustering algorithm are suspended. Program quits
|
|
The Starter starts and stops the Commander thread |
|
Used by the class to keep track of its own state |
|
Used by the class to keep track of its own state |
|
The Starter starts and stops the SIR thread |
|
Used by the class to keep track of its current state. Possible states are Starter::READY, Starter::RUNNING |