1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-28 04:54:13 -04:00

Fixed startup initialization sequence: interim state #1

This commit is contained in:
f4exb
2015-08-12 09:03:02 +02:00
parent 88f9641877
commit a7da0b76e2
26 changed files with 486 additions and 201 deletions
+2 -1
View File
@@ -15,7 +15,8 @@ public:
virtual void feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly) = 0;
virtual void start() = 0;
virtual void stop() = 0;
virtual bool handleMessage(Message* cmd) = 0;
virtual bool handleMessage(Message* cmd) = 0; //!< Handle message immediately or submit it to a queue
virtual bool executeMessage(Message* cmd); //!< Handle message immediately FIXME: shall we keep it or fix behaviour of ThreadedSampleSink?
};
#endif // INCLUDE_SAMPLESINK_H
+1
View File
@@ -23,6 +23,7 @@ public:
void start();
void stop();
bool handleMessage(Message* cmd);
virtual bool executeMessage(Message* cmd);
protected:
QMutex m_mutex;
+1
View File
@@ -19,6 +19,7 @@ public:
Message* accept();
int countPending();
void clear();
signals:
void messageEnqueued();