World of Rigid Bodies (WoRB)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Platform.cpp File Reference

Implementation of platform dependent functions (like Pause()). More...

#include <unistd.h>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
Include dependency graph for Platform.cpp:

Go to the source code of this file.

Namespaces

namespace  WoRB

Functions

void WoRB::Pause (unsigned long ms)
 Pauses execution for the given amount of milliseconds.
void WoRB::Printf (const char *format,...)
 User defined ANSI C printf-style output routine.
void WoRB::glutForegroundWindow ()
 Brings the current GLUT window to the foreground.
void WoRB::OnGlutError (const char *format, va_list args)
void WoRB::OnGlutWarning (const char *format, va_list args)
void WoRB::SevereError (const char *errorId, const char *format,...)
 Reports a severe error (with errorId compatible with MATLAB) and quits.

Detailed Description

Implementation of platform dependent functions (like Pause()).

Author:
Mikica Kocic
Version:
0.2
Date:
2012-04-29

Definition in file Platform.cpp.