Namespaces | Macros | Typedefs | Functions
io.h File Reference
#include "sick_scan/sick_scan_base.h"
#include <string>
#include "common.h"
#include <poll.h>
#include <sys/poll.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
Include dependency graph for io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 roswrap
 

Macros

#define ROS_INVALID_SOCKET   ((int) -1)
 
#define ROS_SOCKETS_ASYNCHRONOUS_CONNECT_RETURN   EINPROGRESS
 
#define ROS_SOCKETS_SHUT_RDWR   SHUT_RDWR /* Used by ::shutdown() */
 
#define ROSCPP_IO_H_
 

Typedefs

typedef int roswrap::signal_fd_t
 
typedef int roswrap::socket_fd_t
 
typedef struct pollfd roswrap::socket_pollfd
 

Functions

void roswrap::close_signal_pair (signal_fd_t signal_pair[2])
 
ROSCPP_DECL int roswrap::close_socket (socket_fd_t &socket)
 
ROSCPP_DECL int roswrap::create_signal_pair (signal_fd_t signal_pair[2])
 
ROSCPP_DECL int roswrap::last_socket_error ()
 
ROSCPP_DECL bool roswrap::last_socket_error_is_would_block ()
 
const ROSCPP_DECL char * roswrap::last_socket_error_string ()
 
ROSCPP_DECL int roswrap::poll_sockets (socket_pollfd *fds, nfds_t nfds, int timeout)
 
ssize_t roswrap::read_signal (const signal_fd_t &signal, void *buffer, const size_t &nbyte)
 
ROSCPP_DECL int roswrap::set_non_blocking (socket_fd_t &socket)
 
ssize_t roswrap::write_signal (const signal_fd_t &signal, const void *buffer, const size_t &nbyte)
 

Macro Definition Documentation

◆ ROS_INVALID_SOCKET

#define ROS_INVALID_SOCKET   ((int) -1)

Definition at line 108 of file io.h.

◆ ROS_SOCKETS_ASYNCHRONOUS_CONNECT_RETURN

#define ROS_SOCKETS_ASYNCHRONOUS_CONNECT_RETURN   EINPROGRESS

Definition at line 109 of file io.h.

◆ ROS_SOCKETS_SHUT_RDWR

#define ROS_SOCKETS_SHUT_RDWR   SHUT_RDWR /* Used by ::shutdown() */

Definition at line 107 of file io.h.

◆ ROSCPP_IO_H_

#define ROSCPP_IO_H_

Definition at line 39 of file io.h.



sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:13