[Kst] kdeextragear-2/kst/kst/datasources/planck

George Staikos staikos at kde.org
Wed Jan 19 16:36:48 CET 2005

On Wednesday 19 January 2005 02:03, Marc-Antoine Miville-Deschenes wrote:

> Very good that you're working on that. I spent part of my day
> yesterday to try to understand a problem I had with samplefortime.cpp.
> In some cases (especially in real time)TIMESEC or TIMES_OF_SAMPLES
> don't have the
> same length as the group in which they are. This is probably due to the
> fact that the objects are written one at a time and the group size is
> the size
> of the largest object of the group. Then if you ask for the last TIME
> of the group
> you can get 0 (which is what PIOLIB returns when you ask for a sample
> that has not been written yet).... So in samplefortime.cpp I had to make
> sure that I was not getting this 0. You may want to deal with that too
> in the methods
> you're creating.

   The plan is basically to take the code that you have and incorporate it 
directly into the datasource.  I'll take any magic numbers or hardcoded 
settings and make them configuration options for the data source eventually.

George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/

More information about the Kst mailing list