#include "mbs_data.h"
Functions | |
void | user_load_post (MbsData *mbs_data) |
User own initialization operations. More... | |
void | user_free (MbsData *mbs_data) |
User own freeing operations. More... | |
This files enable the user to call custom code to initialize the project at loading and properly closing it at freeing.
(c) Universite catholique de Louvain
void user_free | ( | MbsData * | mbs_data | ) |
User own freeing operations.
This function will automatically be called at the project freeing by mbs_delete_data() function. All memory allocated by the user (in the user model)ie. in a user model) should be properly freed. Such memory may have been allocated in the user_load_post() function.
[in,out] | mbs_data | data structure of the model |
void user_load_post | ( | MbsData * | mbs_data | ) |
User own initialization operations.
This function will automatically be called at the project loading by mbs_load() function. The user can define in this function various initialization, allocation or configuration steps required by the project (ie. allocating and configuring user model of type being structure).
[in,out] | mbs_data | Data structure of the model. |