Orocos Real-Time Toolkit  2.8.3
Classes | Macros | Typedefs
fosi.h File Reference
#include <stdio.h>
#include <semaphore.h>
#include <pthread.h>
#include <errno.h>
#include <string.h>
#include <limits.h>
#include <float.h>
#include <assert.h>
#include "../oro_limits.h"
#include <sys/time.h>
#include <time.h>
#include <unistd.h>

Go to the source code of this file.

Classes

struct  RTOS_TASK
 

Macros

#define HAVE_FOSI_API
 This file translates the FOSI (Framework Operating System Interface) from orocos calls to native RTOS calls. More...
 
#define _XOPEN_SOURCE   600
 
#define ORO_WAIT_ABS
 
#define ORO_WAIT_REL
 
#define ORO_SCHED_RT   SCHED_FIFO /** Linux FIFO scheduler */
 
#define ORO_SCHED_OTHER   SCHED_OTHER /** Linux normal scheduler */
 
#define rtos_printf   printf
 

Typedefs

typedef long long NANO_TIME
 
typedef long long TICK_TIME
 
typedef struct timespec TIME_SPEC
 
typedef sem_t rt_sem_t
 
typedef pthread_mutex_t rt_mutex_t
 
typedef pthread_mutex_t rt_rec_mutex_t
 
typedef pthread_cond_t rt_cond_t
 

Macro Definition Documentation

#define _XOPEN_SOURCE   600

Definition at line 38 of file fosi.h.

#define HAVE_FOSI_API

This file translates the FOSI (Framework Operating System Interface) from orocos calls to native RTOS calls.

TODO : split in multiple files

Definition at line 30 of file fosi.h.

#define ORO_SCHED_OTHER   SCHED_OTHER /** Linux normal scheduler */

Definition at line 87 of file fosi.h.

#define ORO_SCHED_RT   SCHED_FIFO /** Linux FIFO scheduler */

Definition at line 86 of file fosi.h.

#define ORO_WAIT_ABS
Value:
0

Definition at line 66 of file fosi.h.

#define ORO_WAIT_REL
Value:
1

Definition at line 68 of file fosi.h.

#define rtos_printf   printf

Definition at line 338 of file fosi.h.

Typedef Documentation

typedef long long NANO_TIME

Definition at line 57 of file fosi.h.

typedef pthread_cond_t rt_cond_t

Definition at line 296 of file fosi.h.

typedef pthread_mutex_t rt_mutex_t

Definition at line 184 of file fosi.h.

typedef pthread_mutex_t rt_rec_mutex_t

Definition at line 185 of file fosi.h.

typedef sem_t rt_sem_t

Definition at line 147 of file fosi.h.

typedef long long TICK_TIME

Definition at line 58 of file fosi.h.

typedef struct timespec TIME_SPEC

Definition at line 59 of file fosi.h.