libRTCTimer 0.0.8 review
DownloadlibRTCTimer is a library that provides high resolution and high accuracy timing-mechanisms for C++ under linux. This is achieved b
|
|
libRTCTimer is a library that provides high resolution and high accuracy timing-mechanisms for C++ under linux.
This is achieved by using the internal RTC as timing-device. The library is developed to be easy to use. This includes mainly two things:
1. The whole functionality of the library should be accessible with just a few calls. All the internal stuff is hidden from the coder.
2. The library should be well documented.
WARNING: If the program using libRTCTimer does not have root-privileges (either by executing it as root or by setting the prog suid root) the highest supported resolution is 64Hz. This is not due to a limitation of this implementation! It's a linux restriction.
I don't know how this is handled by other os!
Here are some key features of "libRTCTimer":
Millisecond resolution and even better accuracy! (Depends on your privileges and the RTC in you box!)
Easy to use interface with only 2 classes and just a few methods to get it on.
Complete documentation using doxygen.
Tunable start of the tasks. (Important if you write tasks that have to deal with latencies!)
Usage:
Using libRTCTimer is very simple. You need two things:
One instance of the class RTCTimer
One instance of a class that derives from RTCTask
First you write a class that derives from RTCTask. This class has a virtual method called "task". The only thing you have to do is overriding this method. The code of that method is what gets executed.
What's New in This Release:
This release fixes some minor bugs....
libRTCTimer 0.0.8 search tags