Stands in for Elodin: accepts one connection and keeps every byte written to it.
More...
|
| bool | start () |
| void | stop () |
| uint16_t | port () const |
| std::vector< uint8_t > | commanded (uint8_t hi, uint8_t lo) |
| | Every commanded state written to [hi, lo], in order: the actuator_state byte.
|
Stands in for Elodin: accepts one connection and keeps every byte written to it.
Definition at line 44 of file test_ball_valve_commander.cpp.
◆ commanded()
| std::vector< uint8_t > FakeElodin::commanded |
( |
uint8_t | hi, |
|
|
uint8_t | lo ) |
|
inline |
◆ port()
| uint16_t FakeElodin::port |
( |
| ) |
const |
|
inline |
◆ start()
| bool FakeElodin::start |
( |
| ) |
|
|
inline |
◆ stop()
| void FakeElodin::stop |
( |
| ) |
|
|
inline |
◆ bytes_
| std::vector<uint8_t> FakeElodin::bytes_ |
|
private |
◆ fd_
◆ m_
| std::mutex FakeElodin::m_ |
|
private |
◆ port_
| uint16_t FakeElodin::port_ = 0 |
|
private |
◆ run_
| std::atomic<bool> FakeElodin::run_ {true} |
|
private |
◆ thread_
| std::thread FakeElodin::thread_ |
|
private |
The documentation for this class was generated from the following file: