timer.cpp File Reference

#include <iostream>
#include <stdio.h>
#include <sys/time.h>
#include <signal.h>
#include <unistd.h>
#include <sys/syscall.h>
#include "timer.h"
#include "vsisemaphore.h"
#include "RioError.h"

Go to the source code of this file.

Functions

static void TimerSignalHandler (int s)

Variables

const int ERROR1 = -1
const int ERROR2 = -2
const int ERROR3 = -3
const int ERROR4 = -4
const int ERROR5 = -5
const int ERROR6 = -6
const int ERROR7 = -7
const int ERROR8 = -8
const int ERROR9 = -9
const int TIMER_PRECISION = 100
static CvsiSemaphore Semaphore (0)

Function Documentation

static void TimerSignalHandler ( int  s  )  [static]

Definition at line 55 of file timer.cpp.

00056 {
00057     Semaphore.V();
00058 }


Variable Documentation

const int ERROR1 = -1

Definition at line 41 of file timer.cpp.

const int ERROR2 = -2

Definition at line 42 of file timer.cpp.

const int ERROR3 = -3

Definition at line 43 of file timer.cpp.

const int ERROR4 = -4

Definition at line 44 of file timer.cpp.

const int ERROR5 = -5

Definition at line 45 of file timer.cpp.

const int ERROR6 = -6

Definition at line 46 of file timer.cpp.

const int ERROR7 = -7

Definition at line 47 of file timer.cpp.

const int ERROR8 = -8

Definition at line 48 of file timer.cpp.

const int ERROR9 = -9

Definition at line 49 of file timer.cpp.

CvsiSemaphore Semaphore(0) [static]
const int TIMER_PRECISION = 100

Definition at line 51 of file timer.cpp.

Generated on Wed Jul 4 16:03:30 2012 for RIO by  doxygen 1.6.3