![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Contains fundamental type aliases used throughout the irsol library. More...
Typedefs | |
Server-related Types | |
Type aliases for server networking components. | |
| using | port_t = uint16_t |
| Represents a network port number. Typically used to specify TCP or UDP ports. | |
| using | client_id_t = std::string |
| Represents a unique client identifier. Typically used to identify connected clients by string IDs. | |
| using | acceptor_t = sockpp::tcp_acceptor |
| Alias for the TCP server socket acceptor type. | |
| using | connector_t = sockpp::tcp_connector |
| Alias for the TCP client connector type. | |
| using | inet_address_t = sockpp::inet_address |
| Alias for an IPv4/IPv6 internet address. | |
| using | socket_t = sockpp::tcp_socket |
| Alias for a TCP socket. | |
| using | connection_result_t = sockpp::result<> |
| Result type representing success or failure of a socket operation. | |
Time-related Types | |
Type aliases related to steady clock time points and durations. | |
| using | clock_t = std::chrono::steady_clock |
| Alias for the steady clock type used throughout the library. | |
| using | timepoint_t = clock_t::time_point |
Alias for a point in time as defined by clock_t. | |
| using | duration_t = clock_t::duration |
Alias for a duration of time as defined by clock_t. | |
Protocol-related Types | |
Variant types representing values in the communication protocol. | |
| using | protocol_value_t = std::variant< int, double, std::string > |
| Variant type representing protocol values that can be one of several types. | |
Serialization-related Types | |
| using | byte_t = std::byte |
| Alias for a single byte used in serialization or binary data handling. | |
Contains fundamental type aliases used throughout the irsol library.
The types namespace centralizes definitions for:
This organization promotes consistency and code clarity.
Variant type representing protocol values that can be one of several types.
Used to store protocol fields flexibly, supporting:
int for integer values,double for floating-point values,std::string for textual values.