#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <limits.h>
#include <float.h>
#include <assert.h>
#include "../oro_limits.h"
#include "../../rtt-config.h"
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
#include "dlfcn.h"
Go to the source code of this file.
Classes | |
struct | oro_timespec |
struct | rt_cond_t |
struct | RTOS_TASK |
Macros | |
#define | HAVE_FOSI_API |
#define | ORO_SCHED_OTHER 1 /** Linux normal scheduler */ |
#define | ORO_SCHED_RT 0 /** Linux FIFO scheduler */ |
#define | ORO_WAIT_ABS |
#define | ORO_WAIT_REL |
#define | rtos_printf printf |
Typedefs | |
typedef long long | NANO_TIME |
typedef CRITICAL_SECTION | rt_mutex_t |
typedef CRITICAL_SECTION | rt_rec_mutex_t |
typedef HANDLE | rt_sem_t |
typedef long long | TICK_TIME |
typedef struct oro_timespec | TIME_SPEC |
Variables | |
const NANO_TIME | InfiniteNSecs = LLONG_MAX |
const double | InfiniteSeconds = DBL_MAX |
const TICK_TIME | InfiniteTicks = LLONG_MAX |
#define HAVE_FOSI_API |
This file translates the FOSI (Framework Operating System Interface) from orocos calls to native RTOS calls
Definition at line 46 of file win32/fosi.h.
#define ORO_SCHED_OTHER 1 /** Linux normal scheduler */ |
Definition at line 118 of file win32/fosi.h.
#define ORO_SCHED_RT 0 /** Linux FIFO scheduler */ |
Definition at line 117 of file win32/fosi.h.
#define ORO_WAIT_ABS |
Definition at line 99 of file win32/fosi.h.
#define ORO_WAIT_REL |
Definition at line 101 of file win32/fosi.h.
#define rtos_printf printf |
Definition at line 441 of file win32/fosi.h.
typedef long long NANO_TIME |
Definition at line 91 of file win32/fosi.h.
typedef CRITICAL_SECTION rt_mutex_t |
Definition at line 249 of file win32/fosi.h.
typedef CRITICAL_SECTION rt_rec_mutex_t |
Definition at line 250 of file win32/fosi.h.
typedef HANDLE rt_sem_t |
Definition at line 191 of file win32/fosi.h.
typedef long long TICK_TIME |
Definition at line 92 of file win32/fosi.h.
typedef struct oro_timespec TIME_SPEC |
Definition at line 126 of file win32/fosi.h.
|
inline |
No conversions are needed in userspace. The HBGenerator needs this for accurate timekeeping, which is an anachronism in userspace.
Definition at line 178 of file win32/fosi.h.
|
inlinestatic |
Definition at line 417 of file win32/fosi.h.
|
inlinestatic |
Definition at line 362 of file win32/fosi.h.
|
inlinestatic |
Definition at line 341 of file win32/fosi.h.
|
inlinestatic |
Definition at line 429 of file win32/fosi.h.
|
inlinestatic |
Definition at line 407 of file win32/fosi.h.
|
inlinestatic |
Definition at line 372 of file win32/fosi.h.
|
inlinestatic |
Definition at line 412 of file win32/fosi.h.
|
inlinestatic |
Definition at line 323 of file win32/fosi.h.
|
inlinestatic |
Definition at line 319 of file win32/fosi.h.
|
inline |
Get "system" time in nanoseconds
Definition at line 138 of file win32/fosi.h.
|
inline |
This function should return ticks, but we use ticks == nsecs in userspace
Definition at line 152 of file win32/fosi.h.
|
inlinestatic |
Definition at line 258 of file win32/fosi.h.
|
inlinestatic |
Definition at line 252 of file win32/fosi.h.
|
inlinestatic |
Definition at line 274 of file win32/fosi.h.
|
inlinestatic |
Definition at line 297 of file win32/fosi.h.
|
inlinestatic |
Definition at line 269 of file win32/fosi.h.
|
inlinestatic |
Definition at line 264 of file win32/fosi.h.
|
inlinestatic |
Definition at line 309 of file win32/fosi.h.
|
inlinestatic |
Definition at line 304 of file win32/fosi.h.
|
inlinestatic |
Definition at line 292 of file win32/fosi.h.
|
inlinestatic |
Definition at line 314 of file win32/fosi.h.
|
inlinestatic |
Definition at line 286 of file win32/fosi.h.
|
inlinestatic |
Definition at line 280 of file win32/fosi.h.
Definition at line 167 of file win32/fosi.h.
|
inlinestatic |
Definition at line 199 of file win32/fosi.h.
|
inlinestatic |
Definition at line 193 of file win32/fosi.h.
|
inlinestatic |
Definition at line 205 of file win32/fosi.h.
|
inlinestatic |
Definition at line 215 of file win32/fosi.h.
|
inlinestatic |
Definition at line 232 of file win32/fosi.h.
|
inlinestatic |
Definition at line 210 of file win32/fosi.h.
Definition at line 220 of file win32/fosi.h.
Definition at line 225 of file win32/fosi.h.
int setenv | ( | const char * | name, |
const char * | value, | ||
int | overwrite | ||
) |
|
inline |
Definition at line 184 of file win32/fosi.h.
Definition at line 130 of file win32/fosi.h.
|
inline |
Definition at line 157 of file win32/fosi.h.
Definition at line 96 of file win32/fosi.h.
const double InfiniteSeconds = DBL_MAX |
Definition at line 97 of file win32/fosi.h.
Definition at line 95 of file win32/fosi.h.