kstars
filesource.h File Reference
#include <qasyncio.h>
#include <qstring.h>
Include dependency graph for filesource.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
class | FileSource |
FileSource is an asynchronous class for reloading star data while running the program. More... | |
Defines | |
#define | maxLines 500 |
Define Documentation
#define maxLines 500 |
maxLines defines how many lines in data file should be read and send to QDataSink.
This is only needed if a data block is longer than the max defined lines. I figured out this value of 500 on a fast system, so if it is to high the value might be decreased. A high value means faster reloading but perhaps on slow systems this might interrupt the main event loop. A low value needs longer to reload data, but it doesn't interrupt the main event loop (it's smoother). But it's important to know that 500 lines to read is very fast, but appending to QList in StarDataSink will take the most time and this will also defined with this value.
Definition at line 96 of file filesource.h.