source: pacpusframework/branches/0.1.x/examples/ProducerConsumerExample/ProducerExample.h@ 218

Last change on this file since 218 was 163, checked in by Marek Kurdej, 11 years ago

Added: test component from PacpusCityVIP.
Added: PACPUS_BUILD_EXAMPLES variable.

File size: 1.0 KB
Line 
1/**
2@file
3Purpose: Lidar Detection
4
5@date created 2010-06-03 16:13
6@author Julien Moras
7@version $Id: $
8*/
9
10#ifndef PRODUCEREXAMPLE_H
11#define PRODUCEREXAMPLE_H
12
13#include "ProducerConsumerExampleConfig.h"
14
15#include <Pacpus/kernel/ComponentBase.h>
16#include <Pacpus/kernel/road_time.h>
17//#include <Pacpus/structure/genericStructures.h>
18#include <QThread>
19#include <QImage>
20
21namespace pacpus {
22
23class PRODUCERCONSUMEREXAMPLE_API ProducerExample
24 : public QThread
25 , public ComponentBase
26{
27 Q_OBJECT
28
29public:
30 static const char * COMPONENT_TYPE;
31
32 ProducerExample(QString name);
33 ~ProducerExample();
34
35 virtual void addInputs();
36 virtual void addOutputs();
37
38 virtual void startActivity();
39 virtual void stopActivity();
40
41 virtual COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
42
43protected:
44 void run();
45
46public Q_SLOTS:
47
48private:
49 //QThread thread;
50};
51
52} // namespace pacpus
53
54#endif // PRODUCEREXAMPLE_H
Note: See TracBrowser for help on using the repository browser.