mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 17:30:04 -05:00
save input safely between frames with cursor->getPath() and clear list (& refrence path) after process to not lose any information
This commit is contained in:
@@ -60,15 +60,17 @@ class TuioEar : public TuioListener {
|
||||
|
||||
void refresh(TuioTime frameTime);
|
||||
|
||||
std::vector<TuioCursor*> getInput();
|
||||
TuioTime getLastProcessedTime(int id);
|
||||
std::vector<TuioCursor> getInput();
|
||||
void clearInput();
|
||||
void unlock() { _mx.unlock(); };
|
||||
|
||||
private:
|
||||
TuioClient *_tuioClient;
|
||||
OscReceiver *_oscReceiver;
|
||||
|
||||
std::vector<TuioCursor*> _list;
|
||||
std::vector<TuioCursor> _list;
|
||||
std::vector<int> _removeList;
|
||||
std::vector<std::pair<int, TuioTime>> _processedPath;
|
||||
std::mutex _mx;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user