Robotran C Documentation
mbs_user_interface.h
Go to the documentation of this file.
1 /* --------------------------------------------------------
2  * This code interface mbs data struct with an arbitrary user model
3  * MBsysC modules are distributed as part of the ROBOTRAN
4  * software. They provides functionalities for dealing with
5  * symbolic equations generated by ROBOTRAN.
6  *
7  * More info on www.robotran.be
8  *
9  * Universite catholique de Louvain, Belgium
10  *
11  * Last update : Fri Apr 10 11:43:58 2015
12  * --------------------------------------------------------
13  *
14  */
15 #ifndef MBS_USER_INTERFACE_h
16 #define MBS_USER_INTERFACE_h
17 #include <stdio.h>
18 
19 // ============================================================ //
20 
21 typedef struct UserModel UserModel;
22 
23 // ============================================================ //
24 
32 typedef struct
33 {
35  int n_in;
37  int n_out;
42  int *size_in;
46  int *size_out;
54  double **ptr_in;
62  double **ptr_out;
64  char **name_in;
66  char **name_out;
67 } UserIoInfo;
68 
69 
70 typedef struct UserIO UserIO;
71 
76  // void mbs_set_user_IO(UserIoInfo* ioInfo, double val);
77 
78 # endif
UserModel
Definition: user_model.h:24
UserIoInfo::size_out
int * size_out
The size of each output port.
Definition: mbs_user_interface.h:46
UserIoInfo
Contains information about UserIO.
Definition: mbs_user_interface.h:32
UserIoInfo::n_in
int n_in
Number of user input port.
Definition: mbs_user_interface.h:35
UserIO
Definition: user_IO.h:25
UserIoInfo::ptr_in
double ** ptr_in
List of pointers to each user input values.
Definition: mbs_user_interface.h:54
UserIoInfo::name_out
char ** name_out
Name of each user output port.
Definition: mbs_user_interface.h:66
UserIoInfo::size_in
int * size_in
The size of each input port.
Definition: mbs_user_interface.h:42
UserIoInfo::name_in
char ** name_in
Name of each user input port.
Definition: mbs_user_interface.h:64
UserIoInfo::ptr_out
double ** ptr_out
List of pointers to each user output values.
Definition: mbs_user_interface.h:62
UserIoInfo::n_out
int n_out
Number of user output port.
Definition: mbs_user_interface.h:37