Robotran C Documentation
Public Attributes | List of all members
MbsLoader Struct Reference

#include <mbs_load_struct.h>

Public Attributes

MbsLoadOptionsopts
 Contains the options that must be used when loading the project. More...
 
MbsInfosmbs_infos
 Contains the multibody structure with more informations than used by computation. More...
 
int custom_mbs_info
 Internal flag to specify if a custom MbsInfo was set in the structure ( and thus must not be freed) or if the MbsInfos was loaded by the process (and thus will be automatically freed). More...
 
JsonNodembs_config
 Pointer to the configuration file contents. More...
 
int loaded_nature
 

Flag to specifying either if the deep mbs file specific structure must be kept in memory (before loading), or the nature of the specified structure that is saved in memory (after loading).

More...
 
void * loaded_structure
 

Pointer to the loaded mbs file specific structure (related to file format).

More...
 

Member Data Documentation

◆ 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) or if the MbsInfos was loaded by the process (and thus will be automatically freed).

◆ loaded_nature

int loaded_nature

Flag to specifying either if the deep mbs file specific structure must be kept in memory (before loading), or the nature of the specified structure that is saved in memory (after loading).

Uses the following enumeration:

  • INGORE_LOADED: The loaded structure is not saved to memory (default).
  • KEEP_LOADED: The loaded structure must be saved to memory.
  • XML_LOADED: The loaded structure is at XML format.
  • JSON_LOADED: The loaded structure is a JSON format.

◆ loaded_structure

void* loaded_structure

Pointer to the loaded mbs file specific structure (related to file format).

◆ mbs_config

JsonNode* mbs_config

Pointer to the configuration file contents.

NULL if not configuration file loaded.

◆ mbs_infos

MbsInfos* mbs_infos

Contains the multibody structure with more informations than used by computation.

This is an intermediate state between the loaded file and the MbsData structure state.

◆ opts

Contains the options that must be used when loading the project.


The documentation for this struct was generated from the following file: