roviz  0.7
Code Documentation of roviz
tvg_item.h
1 #ifndef TVG_ITEM_H
2 #define TVG_ITEM_H
3 
4 #include "config/config.h"
5 #include "core/roviz_item.h"
6 #include "streams/image_m.h"
7 #include "opencv2/opencv.hpp"
8 #include "opencv2/videoio.hpp"
9 #include <ctime>
10 #include <thread>
11 
12 class TVGItem : public RovizItem
13 {
14 #if ROVIZ_BACKEND == ROVIZ_BACKEND_Dev
15  Q_OBJECT
16 #endif
17 
18 public:
19  ROVIZ_INVOKABLE TVGItem();
20  ~TVGItem();
21 
22 protected:
23  void thread(void) override;
24 
25 private:
26  Output<Image> output;
27  Config<FilePath> conf_vid_path;
28 };
29 
30 #endif // TVG_ITEM_H
Definition: tvg_item.h:12
void thread(void) override
Main thread of the item.
Definition: tvg_item.cpp:24
Base class for all items that use the roviz framework.
Definition: roviz_item.h:43