Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
processManager Class Reference
Stores, servers and runs the algorithms and the multialgorithms.
More...
#include <processManager.h>
Inheritance diagram for processManager:
List of all members.
Detailed Description
Stores, servers and runs the algorithms and the multialgorithms.
ProcessManager stores the system and user declared algorithms.
ProcessManager returns the algorithms via the template method getAlgorithm()
.
General features:
- The user algorithms are declared in the class userAlgorithms.
- The user can add algorithms via the method
addAlgorithm()
. - The method
getAlgorithm()
returns an algorithmVI called name from the protected server of algorithms. - In addition, the
run(name)
method will execute the run() method of the algorithm named. - The
runApplication()
method allow to run the agorithm named application. - The algorithms are stored into a protected server (serverVI) of algorithmVI s.
Centella features:
Definition at line 57 of file processManager.h.
Constructor & Destructor Documentation
processManager::processManager ( ) |
|
constructor - creates the algorithmUserServer.
Definition at line 9 of file processManager.cpp.
processManager::~processManager ( ) |
|
Member Function Documentation
void processManager::addAlgorithm (
|
std::string name, |
|
algorithmVI * alg ) |
|
void processManager::defineOption ( ) [inline, protected, virtual] |
|
algorithmVI * processManager::getAlgorithm (
|
std::string name ) const |
|
algorithmTask * processManager::getAlgorithmTask (
|
std::string name ) const [protected] |
|
eventProcess * processManager::getEventProcess (
|
std::string name ) const [protected] |
|
processManager * processManager::instance ( ) [inline, static] |
|
void processManager::run (
|
std::string name ) const [inline] |
|
void processManager::runApplication ( ) const [inline] |
|
void processManager::setOption (
|
std::string type, |
|
std::string name ) [inline, protected, virtual] |
|
create and include the evtProcess and endRunProcess that the User wants to execute.
create and add into the server the user defined algorithms
Reimplemented from optionVI.
Definition at line 50 of file processManager.cpp.
void processManager::writeOut ( ) const [inline, virtual] |
|
write the information of this class.
define "application" to set the name of the application algoritm
Reimplemented from messageVI.
Definition at line 125 of file processManager.cpp.
Friends And Related Function Documentation
class algorithmTask [friend] |
|
class eventProcess [friend] |
|
Member Data Documentation
std::string processManager::m_algorithmTaskName [private] |
|
std::string processManager::m_applicationName [private] |
|
std::string processManager::m_eventProcessName [private] |
|
processManager * processManager::m_instance = 0 [static, private] |
|
The documentation for this class was generated from the following files:
Generated at Thu Jun 22 16:53:29 2000 for Centella Framework by
1.1.3 written by Dimitri van Heesch,
© 1997-2000