roviz  0.7
Code Documentation of roviz
output.h
1 #ifndef OUTPUT_H
2 #define OUTPUT_H
3 
4 #include <memory>
5 #include "core/export_handling.h"
6 #include "core/output_p.h"
7 
8 class RovizItem;
9 
17 template<class T>
18 class ROVIZ_EXPORT Output
19 {
20 // We have to directly access '_this' from the RovizItem bases,
21 // there is no way around this at the moment
22 friend class RovizItemBase;
23 
24 COPY_DELETE(Output)
25 MOVE_DEFAULT(Output)
26 
27 public:
28  Output();
29  ~Output() = default;
30 
42  void pushOut(T obj);
43 
44 private:
45  std::unique_ptr<OutputPrivate> _this;
46 };
47 
48 #endif // OUTPUT_H
Represents the output of an item.
Definition: output.h:18
Base class for all items that use the roviz framework.
Definition: roviz_item.h:43