|
Fast Research Interface Library
Manual and Documentation
|
00001 // ---------------------- Doxygen info ---------------------- 00047 // ---------------------------------------------------------- 00048 // For a convenient reading of this file's source code, 00049 // please use a tab width of four characters. 00050 // ---------------------------------------------------------- 00051 00052 00053 #ifndef __OSAbstraction__ 00054 #define __OSAbstraction__ 00055 00056 #include <stdlib.h> 00057 00058 00059 00060 // ---------------------- Doxygen info ---------------------- 00065 // ---------------------------------------------------------- 00066 #ifdef WIN32 00067 #define OS_FOLDER_SEPARATOR ("\\") 00068 #else 00069 #define OS_FOLDER_SEPARATOR ("/") 00070 #endif 00071 00072 00073 // ---------------------- Doxygen info ---------------------- 00091 // ---------------------------------------------------------- 00092 unsigned char WaitForKBCharacter(bool *Abort = NULL); 00093 00094 00095 // ---------------------- Doxygen info ---------------------- 00108 // ---------------------------------------------------------- 00109 unsigned char CheckForKBCharacter(void); 00110 00111 00112 // ---------------------- Doxygen info ---------------------- 00127 // ---------------------------------------------------------- 00128 float GetSystemTimeInSeconds(const bool &Reset = false); 00129 00130 00131 00132 // ################################################################################## 00133 // ################################################################################## 00134 // ################################################################################## 00135 // OS-specific 00136 00137 // ############ W I N D O W S ##################################################### 00138 #ifdef WIN32 00139 #include <WindowsAbstraction.h> 00140 #endif 00141 00142 // ################ Q N X ######################################################### 00143 #ifdef _NTO_ 00144 #include <QNXAbstraction.h> 00145 #endif 00146 00147 // ############## L I N U X ####################################################### 00148 #ifdef __LINUX__ 00149 #include <LinuxAbstraction.h> 00150 #endif 00151 00152 // ############## M A C O S ####################################################### 00153 #ifdef __MACOS__ 00154 #include <MACOSAbstraction.h> 00155 #endif 00156 00157 00158 // ################################################################################## 00159 // ################################################################################## 00160 // ################################################################################## 00161 00162 #endif