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>
Public Member Functions | |
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) |
Public Member Functions inherited from moResource | |
moResource () | |
virtual | ~moResource () |
moResourceType | GetResourceType () |
Public Member Functions inherited from moMoldeoObject | |
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. More... | |
void | SetDescription (const moText &p_Description) |
Fija la descripción de este objeto. More... | |
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 (moText p_connector_name) const |
virtual void | RegisterFunctions () |
beware ! call only once or die!!! More... | |
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 () |
Public Member Functions inherited from moAbstract | |
moAbstract () | |
virtual | ~moAbstract () |
MOboolean | Initialized () |
Pregunta si está inicializado. More... | |
Public Member Functions inherited from moScript | |
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) |
Static Public Member Functions | |
static const moText & | GetDataDir () |
static const moText & | GetModulesDir () |
Static Public Attributes | |
static moText | m_DataDir = DATADIR |
static moText | m_ModulesDir = MODULESDIR |
Static Public Attributes inherited from moAbstract | |
static moDebug * | MODebug2 = new moDebug() |
Clase de impresión de errores para depuración More... | |
static moTextHeap * | MODebug = new moTextHeap() |
Lista de textos. More... | |
Definition at line 347 of file moDataManager.h.
moDataManager::moDataManager | ( | ) |
Definition at line 831 of file moDataManager.cpp.
|
virtual |
Definition at line 844 of file 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
Definition at line 1144 of file moDataManager.cpp.
|
virtual |
constructor genérico de la clase.
Reimplemented from moResource.
Definition at line 1124 of file moDataManager.cpp.
moDirectory moDataManager::GetAppDataDir | ( | const moText & | p_dir_name | ) |
Devuelve un moDirectory relativo a la carpeta de la aplicacion
Definition at line 1094 of file moDataManager.cpp.
Devuelve un moFile relativo a la carpeta de la aplicacion
Definition at line 1087 of file moDataManager.cpp.
moText moDataManager::GetAppDataPath | ( | ) |
Definition at line 1101 of file moDataManager.cpp.
moText moDataManager::GetAppPath | ( | ) |
Definition at line 1056 of file moDataManager.cpp.
moText moDataManager::GetConsoleConfigName | ( | ) |
Definition at line 1109 of file moDataManager.cpp.
moDirectory moDataManager::GetDataDir | ( | const moText & | p_dir_name | ) |
Devuelve un moDirectory relativo a la carpeta del proyecto .mol cargado.
Definition at line 1079 of file moDataManager.cpp.
|
static |
Definition at line 996 of file moDataManager.cpp.
Devuelve un moFile relativo a la carpeta del proyecto .mol cargado.
Definition at line 1072 of file moDataManager.cpp.
moText moDataManager::GetDataPath | ( | ) |
Definition at line 1064 of file moDataManager.cpp.
|
static |
Definition at line 1025 of file moDataManager.cpp.
|
inline |
Definition at line 392 of file moDataManager.h.
moText moDataManager::GetPluginsPath | ( | ) |
Definition at line 1117 of file moDataManager.cpp.
moDataSession * moDataManager::GetSession | ( | ) |
Definition at line 1138 of file moDataManager.cpp.
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...
Definition at line 1297 of file moDataManager.cpp.
bool moDataManager::InData | ( | const moText & | p_file_full_path | ) |
Definition at line 1272 of file moDataManager.cpp.
|
virtual |
constructor genérico de la clase.
Reimplemented from moResource.
Definition at line 848 of file moDataManager.cpp.
|
virtual |
reload plugin definitions
Definition at line 863 of file 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 .
Definition at line 1215 of file moDataManager.cpp.
Definition at line 1251 of file 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
Definition at line 894 of file moDataManager.cpp.
void moDataManager::StartPlayinbackSession | ( | ) |
Definition at line 1134 of file moDataManager.cpp.
void moDataManager::StartRecordingSession | ( | ) |
Definition at line 1128 of file moDataManager.cpp.
|
static |
Definition at line 412 of file moDataManager.h.
|
static |
data dir
Definition at line 413 of file moDataManager.h.
|
protected |
Definition at line 418 of file moDataManager.h.
|
protected |
plugin dir
Definition at line 417 of file moDataManager.h.
|
protected |
Definition at line 420 of file moDataManager.h.