24 #ifndef _GEMA_PROCESS_H_ 25 #define _GEMA_PROCESS_H_ 50 virtual void loadFunctions(
LuaTable& table) = 0;
80 for(r = methods; r->
_name; ++r)
QStringList buildFunctionList(typename GmProcessMethodRedirector< T >::MethodRegistry *methods) const
Helper function to make it very easy to implement functionList() and keep it consistent with loadFunc...
Definition: gmProcess.h:76
static void registerMethods(lua_State *L, struct MethodRegistry *methods, T *obj, const GmLogCategory &logger, bool enableLogging)
Registra na tabela contida na pilha as funções contidas em methods. Obj deve conter ponteiro para o o...
Definition: gmProcessMethodRedirector.h:60
virtual bool loadPrivateData(LuaTable &table)=0
Function called by the model loader to give the object acess to it's private parameters....
Declaration of the GmPluginObject base class.
virtual const GmLogCategory & logger() const
Returns the internal logger used by the plugin to emmit messages.
Definition: gmPluginObject.h:85
Declaration of the GmProcessMethodRedirector class.
Classe auxiliar para registro dos nomes e métodos a serem chamados.
Definition: gmProcessMethodRedirector.h:44
void registerFunctions(LuaTable &table, typename GmProcessMethodRedirector< T >::MethodRegistry *methods, bool enableLogging=true)
Helper function to make it very easy to implement loadFunctions()
Definition: gmProcess.h:62
Auxiliar class used to store the complete set of simulation data.
Definition: gmSimulationData.h:51
#define GM_PLUGIN_PROCESS
Plugin implements processes.
Definition: gmPluginCategory.h:31
void append(const T &value)
virtual void printParameters(const GmLogCategory &logger)=0
Asks the object to print all of its parameters using the provided logger.
Definition: gmPluginObject.cpp:62
Declaration of macros for standard plugin categories.
Base interface class for all object plugins.
Definition: gmPluginObject.h:36
#define GMC_API_EXPORT
Macro for controling if the class is being exported (GEMA_CORE_LIB defined) or imported (GEMA_CORE_LI...
Definition: gmCoreConfig.h:35
Class representing a category with multiple logging levels.
Definition: gmLog.h:58
Base interface class for Process type plugins.
Definition: gmProcess.h:35
const char * _name
Nome do método exportado.
Definition: gmProcessMethodRedirector.h:45
virtual const char * pluginCategory() const
Returns the plugin category.
Definition: gmProcess.h:42