Orocos Real-Time Toolkit  2.9.0
Classes | Macros | Typedefs
fosi.h File Reference
#include "../../rtt-config.h"
#include <sys/mman.h>
#include <sys/time.h>
#include <unistd.h>
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <signal.h>
#include <getopt.h>
#include <time.h>
#include <limits.h>
#include <float.h>
#include "../oro_limits.h"
#include <xeno_config.h>
#include <native/task.h>
#include <native/timer.h>
#include <native/mutex.h>
#include <native/sem.h>
#include <native/cond.h>

Go to the source code of this file.

Classes

struct  RTOS_TASK
 

Macros

#define _XOPEN_SOURCE   600
 
#define HAVE_FOSI_API
 
#define _GNU_SOURCE
 
#define rt_mutex_acquire   rt_mutex_lock
 
#define rt_mutex_release   rt_mutex_unlock
 
#define SCHED_XENOMAI_HARD   0 /** Hard real-time */
 
#define SCHED_XENOMAI_SOFT   1 /** Soft real-time */
 
#define ORO_SCHED_RT   0 /** Hard real-time */
 
#define ORO_SCHED_OTHER   1 /** Soft real-time */
 
#define ORO_WAIT_ABS   0
 
#define ORO_WAIT_REL   1
 
#define CHK_XENO_CALL()
 
#define CHK_XENO_PTR(a)
 
#define rtos_printf   printf
 

Typedefs

typedef RT_MUTEX rt_mutex_t
 
typedef RT_MUTEX rt_rec_mutex_t
 
typedef RT_SEM rt_sem_t
 
typedef RT_COND rt_cond_t
 
typedef SRTIME NANO_TIME
 
typedef SRTIME TICK_TIME
 
typedef struct timespec TIME_SPEC
 
typedef RT_TASK RTOS_XENO_TASK
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 58 of file fosi.h.

#define _XOPEN_SOURCE   600

Definition at line 43 of file fosi.h.

#define CHK_XENO_CALL ( )

Definition at line 153 of file fosi.h.

#define CHK_XENO_PTR (   a)

Definition at line 154 of file fosi.h.

#define HAVE_FOSI_API

Definition at line 46 of file fosi.h.

#define ORO_SCHED_OTHER   1 /** Soft real-time */

Definition at line 120 of file fosi.h.

#define ORO_SCHED_RT   0 /** Hard real-time */

Definition at line 119 of file fosi.h.

#define ORO_WAIT_ABS   0

Definition at line 122 of file fosi.h.

#define ORO_WAIT_REL   1

Definition at line 123 of file fosi.h.

#define rt_mutex_acquire   rt_mutex_lock

Definition at line 84 of file fosi.h.

#define rt_mutex_release   rt_mutex_unlock

Definition at line 85 of file fosi.h.

#define rtos_printf   printf

Definition at line 380 of file fosi.h.

#define SCHED_XENOMAI_HARD   0 /** Hard real-time */

Definition at line 117 of file fosi.h.

Referenced by RTT::os::rtos_xeno_thread_wrapper().

#define SCHED_XENOMAI_SOFT   1 /** Soft real-time */

Definition at line 118 of file fosi.h.

Referenced by RTT::os::rtos_xeno_thread_wrapper(), and warn_upon_switch().

Typedef Documentation

typedef SRTIME NANO_TIME

Definition at line 100 of file fosi.h.

typedef RT_COND rt_cond_t

Definition at line 96 of file fosi.h.

typedef RT_MUTEX rt_mutex_t

Definition at line 93 of file fosi.h.

typedef RT_MUTEX rt_rec_mutex_t

Definition at line 94 of file fosi.h.

typedef RT_SEM rt_sem_t

Definition at line 95 of file fosi.h.

typedef RT_TASK RTOS_XENO_TASK

Definition at line 103 of file fosi.h.

typedef SRTIME TICK_TIME

Definition at line 101 of file fosi.h.

typedef struct timespec TIME_SPEC

Definition at line 102 of file fosi.h.