|
@@ -11,7 +11,6 @@
|
|
#define LS_STD_STATE_CONNECTION_HPP
|
|
#define LS_STD_STATE_CONNECTION_HPP
|
|
|
|
|
|
#include <memory>
|
|
#include <memory>
|
|
-#include <atomic>
|
|
|
|
#include "../base/Class.hpp"
|
|
#include "../base/Class.hpp"
|
|
#include "StateMachineTypes.hpp"
|
|
#include "StateMachineTypes.hpp"
|
|
|
|
|
|
@@ -19,7 +18,8 @@ namespace ls_std {
|
|
class StateConnection : public Class {
|
|
class StateConnection : public Class {
|
|
public:
|
|
public:
|
|
|
|
|
|
- explicit StateConnection(StateConnectionId _connectionId, StateId _stateId);
|
|
|
|
|
|
+ explicit StateConnection(StateConnectionId _connectionId, StateId _stateId, std::memory_order _order);
|
|
|
|
+ StateConnection();
|
|
~StateConnection() = default;
|
|
~StateConnection() = default;
|
|
|
|
|
|
StateConnectionId getConnectionId();
|
|
StateConnectionId getConnectionId();
|
|
@@ -29,7 +29,7 @@ namespace ls_std {
|
|
|
|
|
|
private:
|
|
private:
|
|
|
|
|
|
- std::atomic<bool> condition {};
|
|
|
|
|
|
+ bool condition {};
|
|
StateConnectionId connectionId {};
|
|
StateConnectionId connectionId {};
|
|
StateId stateId {};
|
|
StateId stateId {};
|
|
};
|
|
};
|