Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
abi_common.h File Reference

Common tools for ABI middelware. More...

#include "std.h"
#include "math/pprz_algebra_int.h"
#include "math/pprz_algebra_float.h"
#include "subsystems/abi_sender_ids.h"
+ Include dependency graph for abi_common.h:

Go to the source code of this file.

Data Structures

struct  abi_struct
 Event structure to store callbacks in a linked list. More...
 

Macros

#define ABI_EXTERN   extern
 
#define ABI_BROADCAST   0
 Broadcast address. More...
 
#define ABI_FOREACH(head, el)   for(el=head; el; el=el->next)
 Macros for linked list. More...
 
#define ABI_PREPEND(head, add)   { (add)->next = head; head = add; }
 

Typedefs

typedef void(* abi_callback )(void)
 Generic callback definition. More...
 
typedef struct abi_struct abi_event
 

Detailed Description

Common tools for ABI middelware.

Definition in file abi_common.h.

Macro Definition Documentation

#define ABI_BROADCAST   0

Broadcast address.

When passing broadcast address as a sender id, messages from all senders are received

Definition at line 55 of file abi_common.h.

#define ABI_EXTERN   extern

Definition at line 45 of file abi_common.h.

#define ABI_FOREACH (   head,
  el 
)    for(el=head; el; el=el->next)

Macros for linked list.

Definition at line 66 of file abi_common.h.

#define ABI_PREPEND (   head,
  add 
)    { (add)->next = head; head = add; }

Definition at line 67 of file abi_common.h.

Typedef Documentation

typedef void(* abi_callback)(void)

Generic callback definition.

Definition at line 49 of file abi_common.h.

typedef struct abi_struct abi_event

Definition at line 63 of file abi_common.h.