00001 #ifndef PROCALG_H_
00002 #define PROCALG_H_
00003 #include <QObject>
00004 #include <QString>
00005 #include <QImage>
00006
00007 #include "tcastypes.h"
00022 class ProcAlg : public QObject
00023 {
00024 Q_OBJECT
00025 public:
00029 QString getName(){return algName;}
00030
00031 signals:
00036 void imageReady(QImage *frame);
00052 void foundObstacle(threatType type, trendDir dir, int relalt, int x_ang, int y_vec, unsigned long &key);
00056 void foundOther();
00060 void foundProximate();
00064 void foundIntruding();
00068 void foundReal();
00073 void videoMessage(QString *msg);
00077 void displayMessage(QString *msg);
00078
00082 public slots:
00090 virtual void processFrame(QImage *frame)=0;
00091
00092 protected:
00097 QString algName;
00098
00099 private:
00100
00101 };
00102
00103 #endif