mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 04:58:59 -05:00
using std::mutex over boost, debug prints for touch input in touchmodule
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#include <modules/touch/ext/libTUIO2/TUIO2/TcpReceiver.h>
|
||||
#include <math.h>
|
||||
#include <vector>
|
||||
#include <boost/thread/mutex.hpp>
|
||||
#include <mutex>
|
||||
|
||||
using namespace TUIO2;
|
||||
|
||||
@@ -52,13 +52,14 @@ class TuioEar : public TuioListener {
|
||||
|
||||
std::vector<TuioObject*> getInput();
|
||||
void clearInput();
|
||||
void unlock() { _mx.unlock(); };
|
||||
|
||||
private:
|
||||
TuioClient *_tuioClient;
|
||||
OscReceiver *_oscReceiver;
|
||||
|
||||
std::vector<TuioObject*> _list;
|
||||
boost::mutex _mx;
|
||||
std::mutex _mx;
|
||||
};
|
||||
|
||||
#endif // __OPENSPACE_MODULE_TOUCH___TOUCHWRAPPER___H__
|
||||
|
||||
Reference in New Issue
Block a user