MorphoGraphX  2.0-1-227
Classes | Namespaces | Macros | Functions
Process.hpp File Reference
#include <Config.hpp>
#include <GL.hpp>
#include <QIcon>
#include <QSharedPointer>
#include <QStringList>
#include <QTextStream>
#include <MGXCamera.hpp>
#include <ProcessParms.hpp>
#include <Forall.hpp>
#include <Vector.hpp>
#include <Attributes.hpp>
#include <Information.hpp>
#include <Clip.hpp>
#include <CuttingSurface.hpp>
#include <Mesh.hpp>
#include <Stack.hpp>
#include <Store.hpp>
#include <algorithm>
#include <iostream>
#include <typeinfo>
#include <tr1/memory>

Go to the source code of this file.

Classes

class  mgx::UserCancelException
 
class  mgx::Process
 
class  mgx::Process::CheckState
 
struct  mgx::Process::CheckState::ProcessReqs
 
struct  mgx::ProcessDefinition
 

Namespaces

 mgx
 Distributed matrix library.
 

Macros

#define PROCESS_VERSION
 
#define REGISTER_PROCESS(ClassName)
 

Functions

mgx_EXPORT ProcessDefinition * mgx::getProcessDefinition (const QString &processName)
 Retrieves the process definition from the name of the process. More...
 
mgx_EXPORT bool mgx::getLastParms (const Process &proc, QStringList &parms)
 Get the parameters for a given process. More...
 
mgx_EXPORT bool mgx::getDefaultParms (const Process &proc, QStringList &parms)
 Get the default parameters for a given process (i.e. the ones defined by the process) More...
 
mgx_EXPORT bool mgx::saveDefaultParms (const Process &proc, const QStringList &parms)
 Save the default parameters in memory. More...
 
mgx_EXPORT bool mgx::checkProcessParms (const Process &proc, const QStringList &parms, size_t *nbParms=0)
 Check if the parameters have enough defaults. More...
 
mgx_EXPORT bool mgx::getLastParms (const QString &processName, QStringList &parms)
 Get the parameters for a given process. More...
 
mgx_EXPORT bool mgx::getDefaultParms (const QString &processName, QStringList &parms)
 Get the default parameters for a given process (i.e. the ones defined by the process) More...
 
mgx_EXPORT bool mgx::saveDefaultParms (const QString &processName, const QStringList &parms)
 Save the default parameters in memory. More...
 
mgx_EXPORT bool mgx::checkProcessParms (const QString &processName, const QStringList &parms, size_t *nbParms=0)
 Check if the parameters have enough defaults. More...
 
mgx_EXPORT ProcessDefinition * mgx::getProcessDefinition (const QString &processThread, const QString &processName)
 Get the definition of a process. More...
 
mgx_EXPORT QStringList mgx::listProcesses ()
 Returns the list of names of the processes. More...
 
mgx_EXPORT bool mgx::getProcessText (const QString &text, QString &tab, QString &folder, QString &name)
 Split process name into Tab/Folder/Name. More...
 
mgx_EXPORT bool mgx::validProcessName (const QString &processName)
 Check if the processName exist in the list of processes. More...
 
mgx_EXPORT bool mgx::stringToBool (const QString &string)
 Helper function converting a string into a boolean. More...
 
mgx_EXPORT bool mgx::stringToWorkStore (const QString &string)
 Returns true if string correspond to the work store, false otherwise. More...
 
mgx_EXPORT bool mgx::stringToMainStore (const QString &string)
 Returns true if string correspond to the main store, false otherwise. More...
 
QString mgx::boolToString (bool b)
 Helper function converting a boolean into a string. More...
 

Detailed Description

File containing the definition of a Process.

Definition in file Process.hpp.

Macro Definition Documentation

◆ PROCESS_VERSION

#define PROCESS_VERSION

Number identifying the running version of the process API. This makes sure the loaded processes will run with the current API. Otherwise, an error informing correctly the user will be shown in the standard error.

This is set to the SVN revision number that triggered a change in the process interface

Definition at line 57 of file Process.hpp.