#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>
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) |
#define ROS_SOCKETS_SHUT_RDWR SHUT_RDWR /* Used by ::shutdown() */ |