SRS-control 0.1.4
Loading...
Searching...
No Matches
Connections.cpp
Go to the documentation of this file.
6#include <string_view>
7#include <vector>
8
9namespace srs::connection
10{
11 Starter::Starter(std::string_view name)
12 : CommandBase{ name }
13 {
14 const auto response_data = std::vector<CommunicateEntryType>{ 0, 0, 1 };
16 }
17
19 : Starter{ "Starter" }
20 {
21 }
22
23 Stopper::Stopper(std::string_view name)
24 : CommandBase(name)
25 {
26 const auto response_data = std::vector<CommunicateEntryType>{ 0, 0, 0 };
28 }
29
31 : Stopper{ "Stopper" }
32 {
33 }
34
35} // namespace srs::connection
void set_write_response_msg(const std::vector< CommunicateEntryType > &msg, uint16_t address)
CommandBase(const std::string_view name)
Starter(std::string_view name)
Stopper(const Stopper &)=delete
Deleted copy constructor (rule of 5).
constexpr auto NULL_ADDRESS