Class ScriptSender

Class Documentation

class ScriptSender

The ScriptSender class starts a TCPServer for a robot to connect to and waits for a request to receive a program. This program is then delivered to the requesting robot.

Public Functions

ScriptSender() = delete
ScriptSender(uint32_t port, const std::string &program)

Creates a ScriptSender object, including a new TCPServer.

Parameters:
  • port – Port to start the server on

  • program – Program to send to the robot upon request