|
Robotran C Documentation
|
Go to the documentation of this file.
15 #ifndef MBS_USER_INTERFACE_h
16 #define MBS_USER_INTERFACE_h
void mbs_get_user_IO_size(int *n_in, int *n_out, int *n_user_IO)
Get the size of the UserIO structure inside the user_IO.c file.
Definition: user_IO.c:36
UserModel * mbs_new_user_model()
Definition: user_model.c:22
Definition: user_model.h:24
int * size_out
size_out[i] = size of i-th user output
Definition: mbs_user_interface.h:48
void mbs_save_um(FILE *stream, UserModel *ums)
Contains information about UserIO.
Definition: mbs_user_interface.h:44
int n_in
number of user input port
Definition: mbs_user_interface.h:45
void mbs_set_user_IO(UserIoInfo *ioInfo, double val)
Set all the user_IO to the given value (generic code)
Definition: mbs_loader.c:375
void mbs_delete_user_IO(UserIO *uvs)
Free the memory associated to the given UserIO structure.
Definition: user_IO.c:30
void mbs_delete_user_model(UserModel *ums)
Definition: user_model.c:30
void mbs_get_user_model_list(int *user_model_list)
Definition: user_model.c:55
double ** ptr_in
ptr_in[i][0] = pointer to the 1st element of the i-th input must be copied
Definition: mbs_user_interface.h:49
void mbs_get_user_model_size(int *n_user_model)
Definition: user_model.c:50
UserIO * mbs_new_user_IO(UserIoInfo *ioInfo)
Initialize the UserIO structure and bind the ioInfo pointer to the allocated memory (project specific...
Definition: user_IO.c:20
int * size_in
size_in[i] = size of i-th user input
Definition: mbs_user_interface.h:47
double ** ptr_out
ptr_out[i][0] = pointer to the 1st element of the i-th output must be copied
Definition: mbs_user_interface.h:50
void mbs_print_user_IO(UserIO *uvs)
Print the current UserIO values.
void mbs_print_user_model(UserModel *ums)
Definition: user_model.c:45
void mbs_save_user_IO(FILE *stream, UserIO *uvs)
Save the current UserIO values into a file stream.
int n_out
number of user output port
Definition: mbs_user_interface.h:46