70 Access(std::mutex& mutex, std::weak_ptr<UnprotectedMainThreadCommunicator> implementation);
72 operator bool()
const;
80 std::unique_lock<std::mutex> lock;
81 std::shared_ptr<UnprotectedMainThreadCommunicator> implementation;
88 Handle(std::shared_ptr<std::mutex> mutex,
const std::shared_ptr<UnprotectedMainThreadCommunicator>& implementation);
90 Access access()
const;
94 std::shared_ptr<std::mutex> mutex;
95 std::weak_ptr<UnprotectedMainThreadCommunicator> implementation;
111 std::shared_ptr<std::mutex> mutex;
112 std::shared_ptr<UnprotectedMainThreadCommunicator> implementation;
#define MLMAINTHREADCOMMUNICATOR_EXPORT
~MainThreadCommunicator()
void callLater(Callable &&callable)
void call(Object *object, Method method, const Args &... args)
void call(Callable &&callable)
T operator*(const FloatingPointVector< T, size, DataContainer > &a, const FloatingPointVector< T, size, DataContainer > &b)
Dot product, returns a.dot(b).