Robotran C Documentation
mbs_load_struct.h
Go to the documentation of this file.
1 
12 #ifndef mbs_load_struct_h
13 #define mbs_load_struct_h
14 
15 #include "json.h"
16 
17 typedef struct MbsInfos MbsInfos;
18 // Forward declaration, avoid to expose all data to all users.
19 
20 typedef struct MbsLoadOptions
21 {
24 
27 
34 
35  char *config_file;
38 
39  int verbose;
48 
49  char *prj_path;
53 
54 
65 
66 
75 
76 typedef struct MbsLoader
77 {
91 
101 
104 } MbsLoader;
105 #endif
MbsLoader::opts
MbsLoadOptions * opts
Contains the options that must be used when loading the project.
Definition: mbs_load_struct.h:78
MbsLoader::loaded_structure
void * loaded_structure
Pointer to the loaded mbs file specific structure (related to file format).
Definition: mbs_load_struct.h:103
MbsLoadOptions::prj_path
char * prj_path
Folder containing the project root folder (by default it contains the folders "animationR",...
Definition: mbs_load_struct.h:49
LOAD_NONE
@ LOAD_NONE
Definition: mbs_load_struct.h:64
MbsLoadOptions::userfctLib_name
char * userfctLib_name
Definition: mbs_load_struct.h:25
KEEP_LOADED
@ KEEP_LOADED
Definition: mbs_load_struct.h:74
MbsInfos
Definition: mbs_binder_public.h:428
LOAD_ALL
@ LOAD_ALL
Definition: mbs_load_struct.h:64
MbsLoadOptions::config_file
char * config_file
Configuration file at json format.
Definition: mbs_load_struct.h:35
MbsLoader::mbs_config
JsonNode * mbs_config
Pointer to the configuration file contents.
Definition: mbs_load_struct.h:88
JSON_LOADED
@ JSON_LOADED
Definition: mbs_load_struct.h:74
JsonNode
Definition: json.h:41
MbsLoader
Definition: mbs_load_struct.h:76
LOAD_SYMBOLIC
@ LOAD_SYMBOLIC
Definition: mbs_load_struct.h:64
MbsLoadOptions::userfctLib_path
char * userfctLib_path
Definition: mbs_load_struct.h:26
MbsLoadOptions::load_symb_user
int load_symb_user
Specify the project libraries to be loaded, an enumeration gives possible values:
Definition: mbs_load_struct.h:33
MbsLoader::mbs_infos
MbsInfos * mbs_infos
Contains the multibody structure with more informations than used by computation.
Definition: mbs_load_struct.h:80
MbsLoadOptions::symbolicLib_name
char * symbolicLib_name
Definition: mbs_load_struct.h:22
MbsLoadOptions::symbolicLib_path
char * symbolicLib_path
Definition: mbs_load_struct.h:23
XML_LOADED
@ XML_LOADED
Definition: mbs_load_struct.h:74
IGNORE_LOADED
@ IGNORE_LOADED
Definition: mbs_load_struct.h:74
MbsLoadOptions::verbose
int verbose
Verbosity level (not yet implemented everywhere): Verbosity level propagated to other compatible modu...
Definition: mbs_load_struct.h:39
json.h
MbsLoader::loaded_nature
int loaded_nature
Flag to specifying either if the deep mbs file specific structure must be kept in memory (before load...
Definition: mbs_load_struct.h:100
MbsLoader::custom_mbs_info
int custom_mbs_info
Internal flag to specify if a custom MbsInfo was set in the structure ( and thus must not be freed) o...
Definition: mbs_load_struct.h:84
MbsLoadOptions
Definition: mbs_load_struct.h:20