#include <unistd.h>
#include <sys/time.h>
#include <ipc/ipc.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <string.h>
#include <math.h>
Go to the source code of this file.
Classes | |
| class | HighresClock |
| High-resolution clock (In fraction of seconds, as milliseconds). More... | |
Defines | |
| #define | Assert(Assertion, FailText) __Assert( (Assertion), (FailText), __FILE__, __LINE__) |
| #define | PI 3.14159265 |
Functions | |
| void | __Assert (bool Assertion, const char *FailText, const char *FileName, int LineNumber) |
| void | UtilSleep (float SleepTime) |
| void | UtilGetTime (unsigned int *seconds, unsigned int *milliseconds) |
| Get the current system's time in seconds and milliseconds; Since OS epoch time. | |
| void | itoa (char *dest, int val) |
| #define Assert | ( | Assertion, | |||
| FailText | ) | __Assert( (Assertion), (FailText), __FILE__, __LINE__) |
A custom assert function-like macro Checks if the assertion is valid, if not a critical error is posted. See __Assert(...)
| #define PI 3.14159265 |
| void __Assert | ( | bool | Assertion, | |
| const char * | FailText, | |||
| const char * | FileName, | |||
| int | LineNumber | |||
| ) |
Internal assertion function If Assertion is false, it posts the failure string, file name, and line number in a pop-up window
| void itoa | ( | char * | dest, | |
| int | val | |||
| ) |
Simple itoa implementation Given a decimal integer, convert it to a string
| void UtilGetTime | ( | unsigned int * | seconds, | |
| unsigned int * | milliseconds | |||
| ) |
Get the current system's time in seconds and milliseconds; Since OS epoch time.
| void UtilSleep | ( | float | SleepTime | ) |
Unix and Win32 wrappers for high-resolution sleep Takes in a fraction of a second (as a float)
1.5.5