Public Member Functions | List of all members
ReverseIntefaceTest::Client Class Reference
Inheritance diagram for ReverseIntefaceTest::Client:
Inheritance graph
[legend]

Public Member Functions

 Client (const int &port)
 
int32_t getControlMode ()
 
int32_t getFreedriveControlMode ()
 
vector6int32_t getPositions ()
 
int32_t getReadTimeout ()
 
int32_t getTrajectoryControlMode ()
 
int32_t getTrajectoryPointNumber ()
 
void readMessage (int32_t &read_timeout, vector6int32_t &pos, int32_t &control_mode)
 
- Public Member Functions inherited from urcl::comm::TCPSocket
void close ()
 Closes the connection to the socket. More...
 
std::string getIP () const
 Determines the local IP address of the currently configured socket. More...
 
socket_t getSocketFD ()
 Getter for the file descriptor of the socket. More...
 
SocketState getState ()
 Getter for the state of the socket. More...
 
bool read (char *character)
 Reads one byte from the socket. More...
 
bool read (uint8_t *buf, const size_t buf_len, size_t &read)
 Reads data from the socket. More...
 
void setReceiveTimeout (const timeval &timeout)
 Setup Receive timeout used for this socket. More...
 
void setReconnectionTime (const std::chrono::milliseconds reconnection_time)
 Set reconnection time, if the server is unavailable during connection this will set the time before trying connect to the server again. More...
 
 TCPSocket ()
 Creates a TCPSocket object. More...
 
bool write (const uint8_t *buf, const size_t buf_len, size_t &written)
 Writes to the socket. More...
 
virtual ~TCPSocket ()
 

Additional Inherited Members

- Static Public Attributes inherited from urcl::comm::TCPSocket
static constexpr std::chrono::milliseconds DEFAULT_RECONNECTION_TIME { 10000 }
 
- Protected Member Functions inherited from urcl::comm::TCPSocket
bool setup (const std::string &host, const int port, const size_t max_num_tries=0, const std::chrono::milliseconds reconnection_time=DEFAULT_RECONNECTION_TIME)
 
- Static Protected Member Functions inherited from urcl::comm::TCPSocket
static bool open (socket_t socket_fd, struct sockaddr *address, size_t address_len)
 
- Protected Attributes inherited from urcl::comm::TCPSocket
std::unique_ptr< timeval > recv_timeout_
 

Detailed Description

Definition at line 41 of file test_reverse_interface.cpp.

Constructor & Destructor Documentation

◆ Client()

ReverseIntefaceTest::Client::Client ( const int &  port)
inline

Definition at line 44 of file test_reverse_interface.cpp.

Member Function Documentation

◆ getControlMode()

int32_t ReverseIntefaceTest::Client::getControlMode ( )
inline

Definition at line 111 of file test_reverse_interface.cpp.

◆ getFreedriveControlMode()

int32_t ReverseIntefaceTest::Client::getFreedriveControlMode ( )
inline

Definition at line 140 of file test_reverse_interface.cpp.

◆ getPositions()

vector6int32_t ReverseIntefaceTest::Client::getPositions ( )
inline

Definition at line 93 of file test_reverse_interface.cpp.

◆ getReadTimeout()

int32_t ReverseIntefaceTest::Client::getReadTimeout ( )
inline

Definition at line 102 of file test_reverse_interface.cpp.

◆ getTrajectoryControlMode()

int32_t ReverseIntefaceTest::Client::getTrajectoryControlMode ( )
inline

Definition at line 120 of file test_reverse_interface.cpp.

◆ getTrajectoryPointNumber()

int32_t ReverseIntefaceTest::Client::getTrajectoryPointNumber ( )
inline

Definition at line 130 of file test_reverse_interface.cpp.

◆ readMessage()

void ReverseIntefaceTest::Client::readMessage ( int32_t &  read_timeout,
vector6int32_t pos,
int32_t &  control_mode 
)
inline

Definition at line 54 of file test_reverse_interface.cpp.


The documentation for this class was generated from the following file:


ur_client_library
Author(s): Thomas Timm Andersen, Simon Rasmussen, Felix Exner, Lea Steffen, Tristan Schnell
autogenerated on Mon May 26 2025 02:35:58