Robotran C Documentation
mbs_message.h
Go to the documentation of this file.
1 
11 #include <stdarg.h>
12 
25 void mbs_msg(char* msg, ...);
26 
27 
40 void mbs_warning_msg(char* msg, ...);
41 
42 
56 void mbs_error_msg(char* msg, ...);
57 
69 char* mbs_concatenate_to_char(char* msg, va_list arg);
70 
74 typedef void (*mbs_msg_fct_ptr)(char* msg);
75 
82 
83 
90 
91 
98 
107 void mbs_error_msg_continue(char* msg);
108 
116 void mbs_error_msg_default(char* msg);
mbs_error_msg_continue
void mbs_error_msg_continue(char *msg)
Low-level error function allowing process to continue if an error is raised.
Definition: mbs_message.c:32
mbs_warning_msg
void mbs_warning_msg(char *msg,...)
Send a warning message.
Definition: mbs_message.c:89
mbs_error_msg
void mbs_error_msg(char *msg,...)
Send an error message.
Definition: mbs_message.c:102
mbs_error_msg
void mbs_error_msg(char *msg,...)
Send an error message.
Definition: mbs_message.c:102
mbs_msg
void mbs_msg(char *msg,...)
Send a message.
Definition: mbs_message.c:76
mbs_msg_default
void mbs_msg_default(char *msg)
Definition: mbs_message.c:18
mbs_error_msg_default
void mbs_error_msg_default(char *msg)
Low-level error function terminating the process if an error is raised.
Definition: mbs_message.c:26
mbs_set_msg_fct_ptr
void mbs_set_msg_fct_ptr(mbs_msg_fct_ptr msg_fct)
Set the function that send messages.
Definition: mbs_message.c:44
mbs_msg
void mbs_msg(char *msg,...)
Send a message.
Definition: mbs_message.c:76
mbs_set_error_msg_fct_ptr
void mbs_set_error_msg_fct_ptr(mbs_msg_fct_ptr msg_fct)
Set the function that send error messages.
Definition: mbs_message.c:52
mbs_error_msg_default
void mbs_error_msg_default(char *msg)
Low-level error function terminating the process if an error is raised.
Definition: mbs_message.c:26
mbs_set_error_msg_fct_ptr
void mbs_set_error_msg_fct_ptr(mbs_msg_fct_ptr msg_fct)
Set the function that send error messages.
Definition: mbs_message.c:52
mbs_set_msg_fct_ptr
void mbs_set_msg_fct_ptr(mbs_msg_fct_ptr msg_fct)
Set the function that send messages.
Definition: mbs_message.c:44
mbs_concatenate_to_char
char * mbs_concatenate_to_char(char *msg, va_list arg)
Generate a string containing the message and the optionnal formatted value.
Definition: mbs_message.c:58
mbs_warning_msg_default
void mbs_warning_msg_default(char *msg)
Definition: mbs_message.c:22
mbs_warning_msg_ptr
mbs_msg_fct_ptr mbs_warning_msg_ptr
Definition: mbs_message.c:38
mbs_msg_ptr
mbs_msg_fct_ptr mbs_msg_ptr
Definition: mbs_message.c:37
mbs_set_warning_msg_fct_ptr
void mbs_set_warning_msg_fct_ptr(mbs_msg_fct_ptr msg_fct)
Set the function that send warning messages.
Definition: mbs_message.c:48
mbs_message.h
mbs_error_msg_ptr
mbs_msg_fct_ptr mbs_error_msg_ptr
Definition: mbs_message.c:39
mbs_msg_fct_ptr
void(* mbs_msg_fct_ptr)(char *msg)
Type defining a function pointer to send messages.
Definition: mbs_message.h:74
mbs_set_warning_msg_fct_ptr
void mbs_set_warning_msg_fct_ptr(mbs_msg_fct_ptr msg_fct)
Set the function that send warning messages.
Definition: mbs_message.c:48
mbs_warning_msg
void mbs_warning_msg(char *msg,...)
Send a warning message.
Definition: mbs_message.c:89
mbs_error_msg_continue
void mbs_error_msg_continue(char *msg)
Low-level error function allowing process to continue if an error is raised.
Definition: mbs_message.c:32
mbs_concatenate_to_char
char * mbs_concatenate_to_char(char *msg, va_list arg)
Generate a string containing the message and the optionnal formatted value.
Definition: mbs_message.c:58