ChemicalFemPhysics
The GeMA Standard Chemical FEM Physics Plugin
Loading...
Searching...
No Matches
gmpIphreeqcProcess.h
Go to the documentation of this file.
1/************************************************************************
2**
3** Copyright (C) 2014 by Carlos Augusto Teixera Mendes
4** All rights reserved.
5**
6** This file is part of the "GeMA" software. It's use should respect
7** the terms in the license agreement that can be found together
8** with this source code.
9** It is provided AS IS, with NO WARRANTY OF ANY KIND,
10** INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR
11** A PARTICULAR PURPOSE.
12**
13************************************************************************/
14
24#ifndef _GEMA_PLUGIN_IPHREEQC_PROCESS_H_
25#define _GEMA_PLUGIN_IPHREEQC_PROCESS_H_
26
27#include <gmProcess.h>
28
31{
32public:
34 virtual ~GmpIphreeqcProcess();
35
36 // Comments on the base class
37 virtual const char* pluginName() const { return "ChemicalFemPhysics"; }
38
39 // Comments on the base class
40 virtual const char* pluginType() const { return "iphreeqc"; }
41
42 // Comments on the base class
43 virtual void loadFunctions(LuaTable& table) { registerFunctions<GmpIphreeqcProcess>(table, processMethodTable()); }
44
45 // Comments on the base class
46 virtual QStringList functionList() const { return buildFunctionList<GmpIphreeqcProcess>(processMethodTable()); }
47
48private:
50
51 int dummyTest(lua_State* L);
52};
53
54#endif
virtual const GmLogCategory & logger() const
QString description() const
void registerFunctions(LuaTable &table, typename GmProcessMethodRedirector< T >::MethodRegistry *methods, bool noProgressStats=false)
QStringList buildFunctionList(typename GmProcessMethodRedirector< T >::MethodRegistry *methods) const
Basic class for the Iphreeqc Process plugin object.
Definition gmpIphreeqcProcess.h:31
GmpIphreeqcProcess(GmSimulationData *simulation, QString id, QString description, const GmLogCategory &logger)
Constructor. Will be called by the plugin loading code.
Definition gmpIphreeqcProcess.cpp:35
GmProcessMethodRedirector< GmpIphreeqcProcess >::MethodRegistry * processMethodTable() const
Returns the table storing the process exported function names / methods.
Definition gmpIphreeqcProcess.cpp:46
virtual ~GmpIphreeqcProcess()
Destructor.
Definition gmpIphreeqcProcess.cpp:41