roviz  0.7
Code Documentation of roviz
trim.h
1 #ifndef TRIM_H
2 #define TRIM_H
3 
4 #include <memory>
5 #include "core/export_handling.h"
6 #include "core/trim_impl.h"
7 
8 class RovizItem;
9 
21 class ROVIZ_EXPORT Trim
22 {
23 COPY_DELETE(Trim)
24 MOVE_DEFAULT(Trim)
25 
26 public:
27  // We need this to allow the construction at runtime with addTrim()
28  Trim() = default;
29  ~Trim() = default;
30 
34  Trim(TrimImpl *impl);
35 
39  double value(void) const;
40 
41 private:
42  std::unique_ptr<TrimImpl> impl;
43 };
44 
45 #endif // TRIM_H
The interface of a Trim implementation.
Definition: trim_impl.h:7
A value that can be trimmed at runtime.
Definition: trim.h:21
Base class for all items that use the roviz framework.
Definition: roviz_item.h:43