This commit is contained in:
2017-06-28 20:40:01 +02:00
parent 76dd61f48b
commit 8d2b664149
41 changed files with 5225 additions and 0 deletions

24
kawaii/emergency_stop.h Normal file
View File

@@ -0,0 +1,24 @@
//
// Created by Simon Wörner on 16.06.17.
//
#ifndef KAWAII_ENGINE_EMERGENCY_STOP_H
#define KAWAII_ENGINE_EMERGENCY_STOP_H
#include <cstdint>
class emergency_stop
{
private:
void *rust_emergency_stop;
public:
emergency_stop(uint8_t port);
emergency_stop(const emergency_stop &) = delete;
emergency_stop(const emergency_stop &&) = delete;
bool get_state() const;
~emergency_stop();
};
#endif //KAWAII_ENGINE_EMERGENCY_STOP_H