Include dependency graph for rtai_tbx.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | rt_msgq |
Defines | |
#define | MSGQ_INIT TBX_INIT |
#define | MSGQ_DELETE TBX_DELETE |
#define | NAMED_MSGQ_INIT NAMED_TBX_INIT |
#define | NAMED_MSGQ_DELETE NAMED_TBX_DELETE |
#define | MSG_SEND TBX_SEND |
#define | MSG_SEND_IF TBX_SEND_IF |
#define | MSG_SEND_UNTIL TBX_SEND_UNTIL |
#define | MSG_SEND_TIMED TBX_SEND_TIMED |
#define | MSG_RECEIVE TBX_RECEIVE |
#define | MSG_RECEIVE_IF TBX_RECEIVE_IF |
#define | MSG_RECEIVE_UNTIL TBX_RECEIVE_UNTIL |
#define | MSG_RECEIVE_TIMED TBX_RECEIVE_TIMED |
#define | MSG_BROADCAST TBX_BROADCAST |
#define | MSG_BROADCAST_IF TBX_BROADCAST_IF |
#define | MSG_BROADCAST_UNTIL TBX_BROADCAST_UNTIL |
#define | MSG_BROADCAST_TIMED TBX_BROADCAST_TIMED |
#define | MSG_EVDRP TBX_URGENT |
#define | TBX RT_MSGQ |
#define | rt_tbx_init(tbx, size, flags) rt_msgq_init(tbx, size, 0) |
#define | rt_tbx_delete(tbx) rt_msgq_delete(tbx) |
#define | rt_tbx_send(tbx, msg, msg_size) rt_msg_send(tbx, msg, msg_size, 1) |
#define | rt_tbx_send_if(tbx, msg, msg_size) rt_msg_send_if(tbx, msg, msg_size, 1) |
#define | rt_tbx_send_until(tbx, msg, msg_size, until) rt_msg_send_until(tbx, msg, msg_size, 1, until) |
#define | rt_tbx_send_timed(tbx, msg, msg_size, delay) rt_msg_send_timed(tbx, msg, msg_size, 1, delay) |
#define | rt_tbx_receive(tbx, msg, msg_size) rt_msg_receive(tbx, msg, msg_size, 0) |
#define | rt_tbx_receive_if(tbx, msg, msg_size) rt_msg_receive_if(tbx, msg, msg_size, 0) |
#define | rt_tbx_receive_until(tbx, msg, msg_size, until) rt_msg_receive_until(tbx, msg, msg_size, 0, until) |
#define | rt_tbx_receive_timed(tbx, msg, msg_size, delay) rt_msg_receive_timed(tbx, msg, msg_size, 0, delay) |
#define | rt_tbx_broadcast(tbx, msg, msg_size) rt_msg_broadcast(tbx, msg, msg_size, 0) |
#define | rt_tbx_broadcast_if(tbx, msg, msg_size) rt_msg_broadcast_if(tbx, msg, msg_size, 0) |
#define | rt_tbx_broadcast_until(tbx, msg, msg_size, until) rt_msg_broadcast_until(tbx, msg, msg_size, 0, until) |
#define | rt_tbx_broadcast_timed(tbx, msg, msg_size, delay) rt_msg_broadcast_timed(tbx, msg, msg_size, 0, delay) |
#define | rt_tbx_urgent(tbx, msg, msg_size) rt_msg_send(tbx, msg, msg_size, 0) |
#define | rt_tbx_urgent_if(tbx, msg, msg_size) rt_msg_send_if(tbx, msg, msg_size, 0) |
#define | rt_tbx_urgent_until(tbx, msg, msg_size, until) rt_msg_send_until(tbx, msg, msg_size, 0, until) |
#define | rt_tbx_urgent_timed(tbx, msg, msg_size, delay) rt_msg_send_timed(tbx, msg, msg_size, 0, delay) |
Typedefs | |
typedef rt_msgq | RT_MSGQ |
Functions | |
static RT_MSGQ * | rt_msgq_init (unsigned long msgq, int nmsg, int msg_size) |
static int | rt_msgq_delete (RT_MSGQ *msgq) |
static RT_MSGQ * | rt_named_msgq_init (const char *name, int nmsg, int size) |
static int | rt_named_msgq_delete (RT_MSGQ *msgq) |
static int | rt_msg_send (RT_MSGQ *msgq, void *msg, int msg_size, int msgprio) |
static int | rt_msg_send_if (RT_MSGQ *msgq, void *msg, int msg_size, int msgprio) |
static int | rt_msg_send_until (RT_MSGQ *msgq, void *msg, int msg_size, int msgprio, RTIME until) |
static int | rt_msg_send_timed (RT_MSGQ *msgq, void *msg, int msg_size, int msgprio, RTIME delay) |
static int | rt_msg_receive (RT_MSGQ *msgq, void *msg, int msg_size, int *msgprio) |
static int | rt_msg_receive_if (RT_MSGQ *msgq, void *msg, int msg_size, int *msgprio) |
static int | rt_msg_receive_until (RT_MSGQ *msgq, void *msg, int msg_size, int *msgprio, RTIME until) |
static int | rt_msg_receive_timed (RT_MSGQ *msgq, void *msg, int msg_size, int *msgprio, RTIME delay) |
static int | rt_msg_evdrp (RT_MSGQ *msgq, void *msg, int msg_size, int *msgprio) |
static int | rt_msg_broadcast (RT_MSGQ *msgq, void *msg, int msg_size, int msgprio) |
static int | rt_msg_broadcast_if (RT_MSGQ *msgq, void *msg, int msg_size, int msgprio) |
static int | rt_msg_broadcast_until (RT_MSGQ *msgq, void *msg, int msg_size, int msgprio, RTIME until) |
static int | rt_msg_broadcast_timed (RT_MSGQ *msgq, void *msg, int msg_size, int msgprio, RTIME delay) |
#define MSG_BROADCAST TBX_BROADCAST |
#define MSG_BROADCAST_IF TBX_BROADCAST_IF |
#define MSG_BROADCAST_TIMED TBX_BROADCAST_TIMED |
#define MSG_BROADCAST_UNTIL TBX_BROADCAST_UNTIL |
#define MSG_EVDRP TBX_URGENT |
#define MSG_RECEIVE TBX_RECEIVE |
#define MSG_RECEIVE_IF TBX_RECEIVE_IF |
#define MSG_RECEIVE_TIMED TBX_RECEIVE_TIMED |
#define MSG_RECEIVE_UNTIL TBX_RECEIVE_UNTIL |
#define MSG_SEND TBX_SEND |
#define MSG_SEND_IF TBX_SEND_IF |
#define MSG_SEND_TIMED TBX_SEND_TIMED |
#define MSG_SEND_UNTIL TBX_SEND_UNTIL |
#define MSGQ_DELETE TBX_DELETE |
Definition at line 28 of file rtai_tbx.h.
#define MSGQ_INIT TBX_INIT |
Definition at line 27 of file rtai_tbx.h.
#define NAMED_MSGQ_DELETE NAMED_TBX_DELETE |
Definition at line 30 of file rtai_tbx.h.
Referenced by rt_msgq_delete(), and rt_named_msgq_delete().
#define NAMED_MSGQ_INIT NAMED_TBX_INIT |
Definition at line 316 of file rtai_tbx.h.
Definition at line 317 of file rtai_tbx.h.
#define rt_tbx_broadcast_timed | ( | tbx, | |||
msg, | |||||
msg_size, | |||||
delay | ) | rt_msg_broadcast_timed(tbx, msg, msg_size, 0, delay) |
Definition at line 319 of file rtai_tbx.h.
#define rt_tbx_broadcast_until | ( | tbx, | |||
msg, | |||||
msg_size, | |||||
until | ) | rt_msg_broadcast_until(tbx, msg, msg_size, 0, until) |
Definition at line 318 of file rtai_tbx.h.
#define rt_tbx_delete | ( | tbx | ) | rt_msgq_delete(tbx) |
Definition at line 304 of file rtai_tbx.h.
#define rt_tbx_init | ( | tbx, | |||
size, | |||||
flags | ) | rt_msgq_init(tbx, size, 0) |
Definition at line 303 of file rtai_tbx.h.
Definition at line 311 of file rtai_tbx.h.
Definition at line 312 of file rtai_tbx.h.
#define rt_tbx_receive_timed | ( | tbx, | |||
msg, | |||||
msg_size, | |||||
delay | ) | rt_msg_receive_timed(tbx, msg, msg_size, 0, delay) |
Definition at line 314 of file rtai_tbx.h.
#define rt_tbx_receive_until | ( | tbx, | |||
msg, | |||||
msg_size, | |||||
until | ) | rt_msg_receive_until(tbx, msg, msg_size, 0, until) |
Definition at line 313 of file rtai_tbx.h.
Definition at line 306 of file rtai_tbx.h.
Definition at line 307 of file rtai_tbx.h.
#define rt_tbx_send_timed | ( | tbx, | |||
msg, | |||||
msg_size, | |||||
delay | ) | rt_msg_send_timed(tbx, msg, msg_size, 1, delay) |
Definition at line 309 of file rtai_tbx.h.
#define rt_tbx_send_until | ( | tbx, | |||
msg, | |||||
msg_size, | |||||
until | ) | rt_msg_send_until(tbx, msg, msg_size, 1, until) |
Definition at line 308 of file rtai_tbx.h.
Definition at line 321 of file rtai_tbx.h.
Definition at line 322 of file rtai_tbx.h.
#define rt_tbx_urgent_timed | ( | tbx, | |||
msg, | |||||
msg_size, | |||||
delay | ) | rt_msg_send_timed(tbx, msg, msg_size, 0, delay) |
Definition at line 324 of file rtai_tbx.h.
#define rt_tbx_urgent_until | ( | tbx, | |||
msg, | |||||
msg_size, | |||||
until | ) | rt_msg_send_until(tbx, msg, msg_size, 0, until) |
Definition at line 323 of file rtai_tbx.h.
#define TBX RT_MSGQ |
Definition at line 45 of file rtai_tbx.h.
static int rt_msg_broadcast | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int | msgprio | |||
) | [inline, static] |
Definition at line 273 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_BROADCAST, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msg_broadcast_if | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int | msgprio | |||
) | [inline, static] |
Definition at line 279 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_BROADCAST_IF, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msg_broadcast_timed | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int | msgprio, | |||
RTIME | delay | |||
) | [inline, static] |
Definition at line 291 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_BROADCAST_TIMED, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msg_broadcast_until | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int | msgprio, | |||
RTIME | until | |||
) | [inline, static] |
Definition at line 285 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_BROADCAST_UNTIL, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msg_evdrp | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int * | msgprio | |||
) | [inline, static] |
Definition at line 267 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_EVDRP, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msg_receive | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int * | msgprio | |||
) | [inline, static] |
Definition at line 243 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_RECEIVE, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msg_receive_if | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int * | msgprio | |||
) | [inline, static] |
Definition at line 249 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_RECEIVE_IF, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msg_receive_timed | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int * | msgprio, | |||
RTIME | delay | |||
) | [inline, static] |
Definition at line 261 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_RECEIVE_TIMED, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msg_receive_until | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int * | msgprio, | |||
RTIME | until | |||
) | [inline, static] |
Definition at line 255 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_RECEIVE_UNTIL, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msg_send | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int | msgprio | |||
) | [inline, static] |
Definition at line 219 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_SEND, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msg_send_if | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int | msgprio | |||
) | [inline, static] |
Definition at line 225 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_SEND_IF, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msg_send_timed | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int | msgprio, | |||
RTIME | delay | |||
) | [inline, static] |
Definition at line 237 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_SEND_TIMED, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msg_send_until | ( | RT_MSGQ * | msgq, | |
void * | msg, | |||
int | msg_size, | |||
int | msgprio, | |||
RTIME | until | |||
) | [inline, static] |
Definition at line 231 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, MSG_SEND_UNTIL, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static int rt_msgq_delete | ( | RT_MSGQ * | msgq | ) | [inline, static] |
Definition at line 201 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, NAMED_MSGQ_DELETE, rtai_lxrt(), and SIZARG.
Referenced by _rt_named_msgq_init(), and rt_named_msgq_delete().
Here is the call graph for this function:
static RT_MSGQ* rt_msgq_init | ( | unsigned long | msgq, | |
int | nmsg, | |||
int | msg_size | |||
) | [inline, static] |
Definition at line 195 of file rtai_tbx.h.
References BIDX, LOW, NAMED_MSGQ_INIT, rtai_lxrt(), SIZARG, and rtai_lxrt_t::v.
Referenced by _rt_named_msgq_init().
Here is the call graph for this function:
static int rt_named_msgq_delete | ( | RT_MSGQ * | msgq | ) | [inline, static] |
Definition at line 213 of file rtai_tbx.h.
References BIDX, rtai_lxrt_t::i, LOW, NAMED_MSGQ_DELETE, rtai_lxrt(), and SIZARG.
Here is the call graph for this function:
static RT_MSGQ* rt_named_msgq_init | ( | const char * | name, | |
int | nmsg, | |||
int | size | |||
) | [inline, static] |
Definition at line 207 of file rtai_tbx.h.
References BIDX, LOW, NAMED_MSGQ_INIT, rtai_lxrt(), SIZARG, and rtai_lxrt_t::v.
Here is the call graph for this function: