Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Starter Class Reference

#include <Starter.h>

List of all members.


Detailed Description

This class provides a point of entry for the user interface to control the clustering algorithm. This ensures that the functionality is separated and hidden from the user interface. The class provides a few public methods to start and stop the clustering.
Author:
Jia L. Du


Public Member Functions

 Starter ()
void startClustering ()
void stopClustering ()

Private Attributes

int state
Commandercommander
SIRsir
Broadcasterbroadcaster

Static Private Attributes

const int READY = 0
const int RUNNING = 1


Constructor & Destructor Documentation

Starter::Starter  
 


Member Function Documentation

void Starter::startClustering  
 

Starts the clustering. The threads that form the clustering algorithm are set to ready for execution

See also:
Thread::ready()

void Starter::stopClustering  
 

Stops the clustering. All threads that form the clustering algorithm are suspended. Program quits

See also:
Thread::suspend()


Member Data Documentation

Broadcaster* Starter::broadcaster [private]
 

The Starter starts and stops the Broadcaster thread

Commander* Starter::commander [private]
 

The Starter starts and stops the Commander thread

const int Starter::READY = 0 [static, private]
 

Used by the class to keep track of its own state

const int Starter::RUNNING = 1 [static, private]
 

Used by the class to keep track of its own state

SIR* Starter::sir [private]
 

The Starter starts and stops the SIR thread

int Starter::state [private]
 

Used by the class to keep track of its current state. Possible states are Starter::READY, Starter::RUNNING


Generated on Mon Aug 26 18:34:29 2002 for Cube Clustering by doxygen1.3-rc3