MeshLib C++ Docs
Loading...
Searching...
No Matches
MRSpaceMouseHandler.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMesh/MRMeshFwd.h"
4#include <functional>
5#include <string>
6
7namespace MR::SpaceMouse
8{
9
12{
13public:
14 virtual ~Handler() = default;
15
17 [[nodiscard]] virtual bool initialize() = 0;
18
20 virtual void handle() = 0;
21};
22
23}
base class for handler of spacemouse devices
Definition MRSpaceMouseHandler.h:12
virtual void handle()=0
handle device state and call Viewer signals
virtual bool initialize()=0
initialize device
virtual ~Handler()=default
Definition MRSpaceMouseController.h:7