This repository has been archived on 2018-05-28. You can view files and clone it, but cannot push or open issues or pull requests.
BBB-Simple-ACS/client/state.hpp

25 lines
407 B
C++

#pragma once
namespace acs
{
class state
{
public:
enum status {
idle, entry_await
};
private:
status status_ = idle;
public:
explicit state() = default;
status get_status() const
{
return status_;
}
void set_status(status new_status)
{
status_ = new_status;
}
};
}