General C++ and system helper functions

Classes

class  CVD::cvd_timer
class  CVD::RingBuffer< T >
class  CVD::SimpleTimer

Functions

unsigned long CVD::abs (unsigned long u)
unsigned int CVD::abs (unsigned int u)
unsigned short CVD::abs (unsigned short u)
unsigned char CVD::abs (unsigned char b)
template<class T >
CVD::abs (T t)

Variables

cvd_timer CVD::timer

Detailed Description

Classes and functions for writing better code


Function Documentation

unsigned long CVD::abs ( unsigned long  u  )  [inline]

Fast instantiation for unsigned datatype which avoids a comparison

Parameters:
u The input parameter

Definition at line 46 of file abs.h.

unsigned int CVD::abs ( unsigned int  u  )  [inline]

Fast instantiation for unsigned datatype which avoids a comparison

Parameters:
u The input parameter

Definition at line 42 of file abs.h.

unsigned short CVD::abs ( unsigned short  u  )  [inline]

Fast instantiation for unsigned datatype which avoids a comparison

Parameters:
u The input parameter

Definition at line 38 of file abs.h.

unsigned char CVD::abs ( unsigned char  b  )  [inline]

Fast instantiation for unsigned datatype which avoids a comparison

Parameters:
b The input parameter

Definition at line 34 of file abs.h.

template<class T >
T CVD::abs ( t  )  [inline]

Local templated version of abs. Returns the absolute value of a variable.

Parameters:
t The input parameter

Definition at line 30 of file abs.h.


Variable Documentation

cvd_timer CVD::timer

A instance of a cvd_timer for general use

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


libcvd
Author(s): Edward Rosten, Paul Smith, Tom Drummond, Gerhard Reitmayr, Ethan Eade, Timothy Gan, Chris Kemp, Georg Klein
autogenerated on Fri Jan 11 09:13:34 2013