kstars
StarDataSink Class Reference
StarDataSink receives data from an FileSource object and appends these data to a QList of star data. More...
#include <stardatasink.h>
Inheritance diagram for StarDataSink:

Signals | |
| void | clearCache () |
| void | done () |
| void | updateSkymap () |
Public Member Functions | |
| void | eof () |
| int | readyToReceive () |
| void | receive (const uchar *data, int entries) |
| StarDataSink (KStarsData *parent, const char *name=0) | |
| ~StarDataSink () | |
Detailed Description
StarDataSink receives data from an FileSource object and appends these data to a QList of star data.It's an asynchronous io class.
- Version:
- 1.0
Definition at line 36 of file stardatasink.h.
Constructor & Destructor Documentation
| StarDataSink::StarDataSink | ( | KStarsData * | parent, | |
| const char * | name = 0 | |||
| ) |
| StarDataSink::~StarDataSink | ( | ) |
Member Function Documentation
| void StarDataSink::clearCache | ( | ) | [signal] |
If name list has changed emit this signal.
| void StarDataSink::done | ( | ) | [signal] |
send signal if all data were transmitted
| void StarDataSink::eof | ( | ) |
end of data transmission reached
Reimplemented from QDataSink.
Definition at line 37 of file stardatasink.cpp.
| int StarDataSink::readyToReceive | ( | ) |
is this object ready to receive data?
Reimplemented from QDataSink.
Definition at line 32 of file stardatasink.cpp.
| void StarDataSink::receive | ( | const uchar * | data, | |
| int | entries | |||
| ) |
This function receives data from FileSource and appends data to some lists in KStarsData.
Reimplemented from QDataSink.
Definition at line 46 of file stardatasink.cpp.
| void StarDataSink::updateSkymap | ( | ) | [signal] |
send signal to update skymap time by time just for long data transmissions needed.
The documentation for this class was generated from the following files:
KDE 3.5 API Reference