Namespaces | Functions | Variables
icl_core::os Namespace Reference

Namespace for operating system specific implementations. More...

Namespaces

namespace  hidden_posix
 

Internal implementation details for POSIX systems.


namespace  hidden_win32
 

Internal implementation details for Win32 systems.


Functions

bool checkForLxrt (void)
bool checkKernelModule (const char *name)
bool ensureNoHRT ()
pid_t getpid ()
void gettimeofday (struct timespec *time)
bool isLxrtAvailable ()
bool isThisHRT ()
bool isThisLxrtTask ()
struct timeval
ICL_CORE_IMPORT_EXPORT 
lxrtGetExecTime ()
void lxrtShutdown ()
void lxrtStartup ()
void makeHRT ()
void makeThisALinuxTask ()
int makeThisAnLxrtTask ()
void * memcpy (void *dest, void *src, size_t count)
void * memset (void *dest, int c, size_t count)
int nanosleep (const struct timespec *rqtp, struct timespec *rmtp=0)
int rename (const char *old_filename, const char *new_filename)
unsigned int sleep (unsigned int seconds)
int snprintf (char *buffer, size_t maxlen, const char *format,...)
char * stpcpy (char *dst, const char *src)
char * strdup (const char *s)
ThreadId threadSelf ()
int unlink (const char *filename)
int usleep (unsigned long useconds)
int vsnprintf (char *buffer, size_t maxlen, const char *format, va_list argptr)

Variables

bool global_lxrt_available = false
int hard_timer_running = 0

Detailed Description

Namespace for operating system specific implementations.


Function Documentation

bool icl_core::os::checkForLxrt ( void  )

Definition at line 99 of file os_lxrt.cpp.

bool icl_core::os::checkKernelModule ( const char *  name)

Definition at line 83 of file os_lxrt.cpp.

Returns true if the thread was HRT and it had to be changed to soft real time.

Definition at line 168 of file os_lxrt.cpp.

Definition at line 59 of file os_thread.h.

void icl_core::os::gettimeofday ( struct timespec time) [inline]

Definition at line 41 of file os_time.h.

Definition at line 141 of file os_lxrt.cpp.

Definition at line 159 of file os_lxrt.cpp.

Definition at line 150 of file os_lxrt.cpp.

Cleans up an LXRT process. This function should be called very late in the main() function of the process.

On systems where LXRT is not available, this function does nothing.

Definition at line 74 of file os_lxrt.cpp.

Initializes the process as an LXRT process. This function should be called very early in the main() function of the process.

On systems where LXRT is not available, this function does nothing.

Definition at line 61 of file os_lxrt.cpp.

Definition at line 180 of file os_lxrt.cpp.

Definition at line 253 of file os_lxrt.cpp.

Definition at line 187 of file os_lxrt.cpp.

void* icl_core::os::memcpy ( void *  dest,
void *  src,
size_t  count 
) [inline]

Definition at line 41 of file os_mem.h.

void* icl_core::os::memset ( void *  dest,
int  c,
size_t  count 
) [inline]

Definition at line 46 of file os_mem.h.

int icl_core::os::nanosleep ( const struct timespec rqtp,
struct timespec rmtp = 0 
) [inline]

Definition at line 46 of file os_time.h.

int icl_core::os::rename ( const char *  old_filename,
const char *  new_filename 
) [inline]

Definition at line 47 of file os_fs.h.

unsigned int icl_core::os::sleep ( unsigned int  seconds) [inline]

Definition at line 51 of file os_time.h.

ICL_CORE_IMPORT_EXPORT int icl_core::os::snprintf ( char *  buffer,
size_t  maxlen,
const char *  format,
  ... 
)

Definition at line 28 of file os_string.cpp.

char* icl_core::os::stpcpy ( char *  dst,
const char *  src 
) [inline]

Definition at line 47 of file os_string.h.

char* icl_core::os::strdup ( const char *  s) [inline]

Definition at line 52 of file os_string.h.

Definition at line 54 of file os_thread.h.

int icl_core::os::unlink ( const char *  filename) [inline]

Definition at line 52 of file os_fs.h.

int icl_core::os::usleep ( unsigned long  useconds) [inline]

Definition at line 56 of file os_time.h.

ICL_CORE_IMPORT_EXPORT int icl_core::os::vsnprintf ( char *  buffer,
size_t  maxlen,
const char *  format,
va_list  argptr 
)

Definition at line 38 of file os_string.cpp.


Variable Documentation

Definition at line 58 of file os_lxrt.cpp.

Definition at line 59 of file os_lxrt.cpp.



fzi_icl_core
Author(s):
autogenerated on Tue Aug 8 2017 02:28:05