RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RT::OS Namespace Reference

Typedefs

typedef void * Task
 

Functions

int initiate (void)
 
void shutdown (void)
 
int createTask (Task *, void *(*)(void *), void *, int=0)
 
void deleteTask (Task)
 
int setPeriod (Task, long long)
 
void sleepTimestep (Task)
 
bool isRealtime (void)
 
long long getTime (void)
 

Typedef Documentation

typedef void* RT::OS::Task

Definition at line 40 of file rt.h.

Function Documentation

int RT::OS::createTask(Task * ,
void * *)(void *,
void * ,
int = 0 
)
void RT::OS::deleteTask(Task task)

Definition at line 118 of file rt_os-posix.cpp.

long long RT::OS::getTime(void )

Returns the current CPU time in nanoseconds. In general this is really only useful for determining the time between two events.

Returns
The current CPU time.

Definition at line 135 of file rt_os-posix.cpp.

int RT::OS::initiate(void )

Definition at line 39 of file rt_os-posix.cpp.

bool RT::OS::isRealtime(void )

Definition at line 128 of file rt_os-posix.cpp.

int RT::OS::setPeriod(Task task,
long long period 
)

Definition at line 144 of file rt_os-posix.cpp.

void RT::OS::shutdown(void )

Definition at line 63 of file rt_os-posix.cpp.

void RT::OS::sleepTimestep(Task task)

Definition at line 154 of file rt_os-posix.cpp.