mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-12 11:00:47 +02:00
Big code dump
This commit is contained in:
19
include/ur_modern_driver/ur/server.h
Normal file
19
include/ur_modern_driver/ur/server.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include <netdb.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <cstdlib>
|
||||
#include <mutex>
|
||||
#include <atomic>
|
||||
#include <string>
|
||||
#include "ur_modern_driver/ur/stream.h"
|
||||
|
||||
class URServer
|
||||
{
|
||||
private:
|
||||
int socket_fd_ = -1;
|
||||
|
||||
public:
|
||||
URServer(int port);
|
||||
URStream accept();
|
||||
};
|
||||
Reference in New Issue
Block a user