CVD 0.8
|
Classes and functions for writing better code. More...
Classes | |
class | CVD::RingBuffer< T > |
Implements a ringbuffer based on std::vector. More... | |
class | CVD::cvd_timer |
Provides the time elapsed in seconds. More... | |
class | CVD::SimpleTimer |
Provides a simple timer class which uses cvd_timer internally. More... | |
Functions | |
template<class T > | |
T | CVD::abs (T t) |
unsigned char | CVD::abs (unsigned char b) |
unsigned short | CVD::abs (unsigned short u) |
unsigned int | CVD::abs (unsigned int u) |
unsigned long | CVD::abs (unsigned long u) |
Classes and functions for writing better code.
T CVD::abs | ( | T | t | ) | [inline] |
Local templated version of abs.
Returns the absolute value of a variable.
t | The input parameter |
Definition at line 30 of file abs.h.
Referenced by CVD::drawLine().
unsigned char CVD::abs | ( | unsigned char | b | ) | [inline] |
unsigned short CVD::abs | ( | unsigned short | u | ) | [inline] |
unsigned int CVD::abs | ( | unsigned int | u | ) | [inline] |