mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
26 lines
487 B
C++
26 lines
487 B
C++
#ifndef RANDOMEXTERNALCONTROL_H
|
|
#define RANDOMEXTERNALCONTROL_H
|
|
|
|
#include <thread>
|
|
#include <mutex>
|
|
|
|
#include <openspace/interaction/externalcontrol/externalcontrol.h>
|
|
|
|
namespace openspace {
|
|
|
|
class RandomExternalControl: public ExternalControl {
|
|
public:
|
|
|
|
// constructors & destructor
|
|
RandomExternalControl();
|
|
~RandomExternalControl();
|
|
|
|
private:
|
|
std::mutex inputGuard;
|
|
bool *keepGoing_;
|
|
// std::thread *backgroundThread;
|
|
};
|
|
|
|
} // namespace openspace
|
|
|
|
#endif |