IRSOL
C++ code implementing socket server for interacting with Baumer camera.
command.hpp
Go to the documentation of this file.
1
13#pragma once
14
16#include "irsol/types.hpp"
17
18#include <string>
19
20namespace irsol {
21namespace protocol {
22
32struct Command
33{
39 Command(const std::string& identifier);
40
42 std::string identifier;
43
48 std::string toString() const;
49};
50
51} // namespace protocol
52} // namespace irsol
Represents a command invocation in the protocol.
Definition command.hpp:33
std::string toString() const
Converts the command to a human-readable string.
Definition command.cpp:13
std::string identifier
The name of the command to execute.
Definition command.hpp:42
Core type definitions for networking, time handling, and protocol values used throughout the irsol li...
Definitions and utilities for incoming and outgoing protocol messages.