![]() |
libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
|
#include <moDataManager.h>
Métodos públicos | |
moDataManager () | |
virtual | ~moDataManager () |
virtual MOboolean | Init () |
virtual MOboolean | Init (moText p_apppath, moText p_datapath, moText p_consoleconfig) |
virtual MOboolean | Finish () |
moText | GetDataPath () |
moText | GetConsoleConfigName () |
moText | GetAppPath () |
moText | GetAppDataPath () |
moText | GetPluginsPath () |
moFile | GetDataFile (const moText &p_file_name) |
moFile | GetAppDataFile (const moText &p_file_name) |
moDirectory | GetDataDir (const moText &p_dir_name) |
moDirectory | GetAppDataDir (const moText &p_dir_name) |
const moPluginDefinitions & | GetPluginDefinitions () |
void | StartRecordingSession () |
void | StartPlayinbackSession () |
moDataSession * | GetSession () |
bool | Export (const moText &p_export_path, moText p_from_config_console=moText("")) |
bool | IteratedExport (const moText &p_from_config_file_) |
bool | ImportFile (const moText &p_import_file_full_path) |
bool | InData (const moText &p_file_full_path) |
moText | MakeRelativeToData (const moText &p_file_full_path) |
int | ReloadPluginDefinitions (moText plugindir="", moMoldeoObjectType mobjecttype=MO_OBJECT_UNDEFINED) |
![]() | |
moResource () | |
virtual | ~moResource () |
moResourceType | GetResourceType () |
![]() | |
moMoldeoObject () | |
moMoldeoObject (moMoldeoObjectType p_type) | |
virtual | ~moMoldeoObject () |
virtual MOboolean | Init (moResourceManager *p_pResources) |
virtual MOboolean | CreateConnectors () |
virtual MOboolean | UpdateConnectors () |
virtual MOboolean | RefreshValue (moParam ¶m, int value_index) |
virtual MOboolean | ResolveValue (moParam ¶m, int value_index, bool p_refresh=false) |
virtual void | Update (moEventList *p_EventList) |
void | SetResourceManager (moResourceManager *p_pResourceManager) |
moResourceManager * | GetResourceManager () |
MOint | GetId () const |
void | SetId (MOint p_id) |
moMoldeoObjectType | GetType () const |
void | SetType (moMoldeoObjectType p_type) |
void | SetName (const moText &p_name) |
void | SetLabelName (const moText &p_labelname) |
void | SetKeyName (const moText &p_keyname) |
const moText & | GetKeyName () const |
const moText & | GetName () const |
const moText & | GetLabelName () const |
moConfig * | GetConfig () |
void | SyncConnections () |
virtual int | Save (const moText &p_save_filename=moText("")) |
void | SetConfigName (const moText &p_configname) |
const moText & | GetConfigName () const |
const moText & | GetDescription () const |
Devuelve al descripción del objeto. Más... | |
void | SetDescription (const moText &p_Description) |
Fija la descripción de este objeto. Más... | |
const moMobDefinition & | GetMobDefinition () const |
void | SetMobDefinition (const moMobDefinition &p_MobDef) |
virtual moConfigDefinition * | GetDefinition (moConfigDefinition *p_configdefinition=NULL) |
moOutlets * | GetOutlets () |
moInlets * | GetInlets () |
MOint | GetInletIndex (moText p_connector_name) const |
MOint | GetOutletIndex (const moText &p_connector_name) const |
virtual void | RegisterFunctions () |
beware ! call only once or die!!! Más... | |
virtual int | ScriptCalling (moLuaVirtualMachine &vm, int iFunctionNumber) |
virtual void | HandleReturns (moLuaVirtualMachine &vm, const char *strFunc) |
virtual const moMobState & | GetState () const |
virtual bool | SetState (const moMobState &p_MobState) |
virtual void | Activate () |
virtual void | Deactivate () |
virtual bool | Activated () const |
virtual void | Select () |
virtual void | Unselect () |
virtual bool | Selected () const |
virtual void | SetConsoleParamIndex (MOint p_paramindex) |
virtual void | SetConsoleValueIndex (MOint p_valueindex) |
virtual const moText & | ToJSON () |
![]() | |
moAbstract () | |
virtual | ~moAbstract () |
MOboolean | Initialized () |
Pregunta si está inicializado. Más... | |
![]() | |
moScript () | |
virtual | ~moScript (void) |
void | InitScript () |
void | FinishScript () |
bool | IsInitialized () |
bool | CompileFile (const char *strFilename) |
bool | CompileBuffer (unsigned char *pbBuffer, size_t szLen) |
int | RegisterFunction (const char *strFuncName, moScript::Function &fun) |
int | RegisterFunction (const char *strFuncName) |
int | RegisterBaseFunction (const char *strFuncName) |
bool | SelectScriptFunction (const char *strFuncName) |
void | AddFunctionParam (int iInt) |
void | AddFunctionParam (float fFloat) |
void | AddFunctionParam (char *string) |
bool | RunSelectedFunction (int nReturns=0) |
bool | ScriptHasFunction (const char *strScriptName) |
int | methods (void) |
virtual int | ResetScriptCalling () |
virtual int | NextScriptCalling () |
moLuaVirtualMachine & | mvm (void) |
Métodos públicos estáticos | |
static const moText & | GetDataDir () |
static const moText & | GetModulesDir () |
Atributos públicos estáticos | |
static moText | m_DataDir = DATADIR |
static moText | m_ModulesDir = MODULESDIR |
![]() | |
static moDebug * | MODebug2 = new moDebug() |
Clase de impresión de errores para depuración. Más... | |
static moTextHeap * | MODebug = new moTextHeap() |
Lista de textos. Más... | |
Otros miembros heredados | |
![]() | |
typedef int(* | Function) (moLuaVirtualMachine &vm) |
![]() | |
MOboolean | m_bInitialized |
Valor de inicialización. Más... | |
![]() | |
Function | Functions [255] |
![]() | |
void | SetResourceType (moResourceType p_restype) |
![]() | |
virtual void | LoadDefinition () |
Carga las definiciones de parámetros del archivo de configuración. Más... | |
virtual void | ScriptExeInit () |
Corre la funcion de script Run o Compila el nuevo script. Más... | |
virtual void | ScriptExeRun () |
virtual void | ScriptExeUpdate () |
virtual void | ScriptExeFinish () |
void | SetScript (const moText &p_script) |
int | luaPushDebugString (moLuaVirtualMachine &vm) |
Función de impresión de cadena de carácteres cómoda para la depuración. Más... | |
int | luaGetResourceManager (moLuaVirtualMachine &vm) |
Devuelve el objeto de moResourceManager para el manejo de recursos: texturas, videos, archivos, etc.. Más... | |
int | luaSetPreconf (moLuaVirtualMachine &vm) |
Fija la preconfiguración de este objeto. Más... | |
int | luaGetPreconf (moLuaVirtualMachine &vm) |
Devuelve la preconfiguración de este objeto. Más... | |
int | luaGetParamIndex (moLuaVirtualMachine &vm) |
Devuelve el índice del parámetro. Más... | |
int | luaGetCurrentValue (moLuaVirtualMachine &vm) |
Devuelve el índice del valor actual de un parámetro. Más... | |
int | luaSetCurrentValue (moLuaVirtualMachine &vm) |
Fija el índice del valor actual de un parámetro. Más... | |
int | luaGetValuesCount (moLuaVirtualMachine &vm) |
Devuelve la cantidad de valores de un parámetro. Más... | |
int | luaGetInletIndex (moLuaVirtualMachine &vm) |
Devuelve el índice del inlet (o parámetro). Por ejemplo: this:luaGetInletIndex("alpha"). Más... | |
int | luaGetInletData (moLuaVirtualMachine &vm) |
Devuelve el dato según el índice del inlet. Más... | |
int | luaSetInletData (moLuaVirtualMachine &vm) |
Fija el dato de un inlet (o parametro) dado el índice del inlet. Más... | |
int | luaGetTrackerSystemData (moLuaVirtualMachine &vm) |
int | luaGetTrackerFeaturesCount (moLuaVirtualMachine &vm) |
int | luaGetTrackerValidFeatures (moLuaVirtualMachine &vm) |
int | luaGetTrackerFeature (moLuaVirtualMachine &vm) |
int | luaGetTrackerVariance (moLuaVirtualMachine &vm) |
int | luaGetTrackerBarycenter (moLuaVirtualMachine &vm) |
int | luaGetTrackerAcceleration (moLuaVirtualMachine &vm) |
int | luaGetTrackerVelocity (moLuaVirtualMachine &vm) |
int | luaGetTrackerZone (moLuaVirtualMachine &vm) |
int | luaGetTrackerHistory (moLuaVirtualMachine &vm) |
int | luaStartTrackerHistory (moLuaVirtualMachine &vm) |
devuelve la cantidad de records registrados?! Más... | |
int | luaPauseTrackerHistory (moLuaVirtualMachine &vm) |
arranca la grabacion Más... | |
int | luaContinueTrackerHistory (moLuaVirtualMachine &vm) |
int | luaStopTrackerHistory (moLuaVirtualMachine &vm) |
int | luaGetHistoryRecord (moLuaVirtualMachine &vm) |
Devuelve...el baricentro. Más... | |
int | luaGetHistoryBarycenter (moLuaVirtualMachine &vm) |
va de parametro el id del tracker, el id de la instancia Más... | |
int | luaGetHistoryVariance (moLuaVirtualMachine &vm) |
Devuelve las varianzas. Más... | |
int | luaGetHistoryBounding (moLuaVirtualMachine &vm) |
Devuelve los rectangulos. Más... | |
int | luaGetHistoryAverage (moLuaVirtualMachine &vm) |
Devuelve los promedios. Más... | |
int | luaGetHistoryMinMax (moLuaVirtualMachine &vm) |
Devuelve el rectangulo max, min. Más... | |
![]() | |
static moLuaVirtualMachine | m_vm |
static moLuaDebugger | m_dbg |
Definición en la línea 347 del archivo moDataManager.h.
moDataManager::moDataManager | ( | ) |
Definición en la línea 837 del archivo moDataManager.cpp.
|
virtual |
Definición en la línea 850 del archivo moDataManager.cpp.
bool moDataManager::Export | ( | const moText & | p_export_path, |
moText | p_from_config_console = moText("") |
||
) |
OPENING CONSOLE PROJECT
EXPORTING
Iterate every config file
specific to console...
IODevices
Resources
videomanager > videobuffer...
PreEffects
Effects
PostEffects
MasterEffects
Definición en la línea 1150 del archivo moDataManager.cpp.
|
virtual |
constructor genérico de la clase.
Reimplementado de moResource.
Definición en la línea 1130 del archivo moDataManager.cpp.
moDirectory moDataManager::GetAppDataDir | ( | const moText & | p_dir_name | ) |
Devuelve un moDirectory relativo a la carpeta de la aplicacion
Definición en la línea 1100 del archivo moDataManager.cpp.
Devuelve un moFile relativo a la carpeta de la aplicacion
Definición en la línea 1093 del archivo moDataManager.cpp.
moText moDataManager::GetAppDataPath | ( | ) |
moText moDataManager::GetAppPath | ( | ) |
moText moDataManager::GetConsoleConfigName | ( | ) |
moDirectory moDataManager::GetDataDir | ( | const moText & | p_dir_name | ) |
Devuelve un moDirectory relativo a la carpeta del proyecto .mol cargado.
Definición en la línea 1085 del archivo moDataManager.cpp.
|
static |
Definición en la línea 1002 del archivo moDataManager.cpp.
Devuelve un moFile relativo a la carpeta del proyecto .mol cargado.
Definición en la línea 1078 del archivo moDataManager.cpp.
moText moDataManager::GetDataPath | ( | ) |
|
static |
Definición en la línea 1031 del archivo moDataManager.cpp.
|
inline |
Definición en la línea 392 del archivo moDataManager.h.
moText moDataManager::GetPluginsPath | ( | ) |
Definición en la línea 1123 del archivo moDataManager.cpp.
moDataSession * moDataManager::GetSession | ( | ) |
bool moDataManager::ImportFile | ( | const moText & | p_import_file_full_path | ) |
Check extension ( if it is a CFG > try to import internal files associated to it )
Copy file to project data folder: DIRECT COPY TO DATA FOLDER root...
Definición en la línea 1303 del archivo moDataManager.cpp.
bool moDataManager::InData | ( | const moText & | p_file_full_path | ) |
Definición en la línea 1278 del archivo moDataManager.cpp.
|
virtual |
constructor genérico de la clase.
Reimplementado de moResource.
Definición en la línea 854 del archivo moDataManager.cpp.
|
virtual |
reload plugin definitions
Definición en la línea 869 del archivo moDataManager.cpp.
bool moDataManager::IteratedExport | ( | const moText & | p_from_config_file_ | ) |
Browse the parameters of type:
SCRIPT > copy and create folders and files . TEXTURE > check shader's configs . TEXTURE_FOLDER > copy full folders .
Definición en la línea 1221 del archivo moDataManager.cpp.
Definición en la línea 1257 del archivo moDataManager.cpp.
int moDataManager::ReloadPluginDefinitions | ( | moText | plugindir = "" , |
moMoldeoObjectType | mobjecttype = MO_OBJECT_UNDEFINED |
||
) |
Open DIRECTORY [plugindir] and search for module libraries (plugins)
LINUX VERSION
extract the "libmoldeo_" part
Definición en la línea 900 del archivo moDataManager.cpp.
void moDataManager::StartPlayinbackSession | ( | ) |
Definición en la línea 1140 del archivo moDataManager.cpp.
void moDataManager::StartRecordingSession | ( | ) |
Definición en la línea 1134 del archivo moDataManager.cpp.
|
static |
Definición en la línea 412 del archivo moDataManager.h.
|
static |
data dir
Definición en la línea 413 del archivo moDataManager.h.
|
protected |
Definición en la línea 418 del archivo moDataManager.h.
|
protected |
plugin dir
Definición en la línea 417 del archivo moDataManager.h.
|
protected |
Definición en la línea 420 del archivo moDataManager.h.