roviz
0.7
Code Documentation of roviz
usercore
include
core
input.h
1
#ifndef INPUT_H
2
#define INPUT_H
3
4
#include "core/export_handling.h"
5
#include "core/input_p.h"
6
7
class
RovizItem
;
8
18
template
<
class
T>
19
class
ROVIZ_EXPORT
Input
20
{
21
// We have to directly access '_this' from the RovizItem bases,
22
// there is no way around this at the moment
23
friend
class
RovizItemBase;
24
25
COPY_DELETE(
Input<T>
)
26
MOVE_DEFAULT(
Input<T>
)
27
28
public
:
29
Input
() =
default
;
30
~
Input
() =
default
;
31
32
Input
(
RovizItem
*item);
33
42
T next(
void
);
43
54
T newest(
void
);
55
73
bool
waitForInput(
void
);
74
75
private
:
76
std::unique_ptr<InputPrivate> _this;
77
};
78
79
#endif // INPUT_H
Input
Represents the input of an item.
Definition:
input.h:19
RovizItem
Base class for all items that use the roviz framework.
Definition:
roviz_item.h:43
Generated on Tue Sep 12 2017 15:13:49 for roviz by
1.8.13