#include <string.h>
#include <cassert>
#include <cstdlib>
#include <map>
#include <vector>
#include <valarray>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <signal.h>
#include <errno.h>
#include <unistd.h>
#include <termios.h>
#include <fcntl.h>
#include <netdb.h>
#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <pthread.h>
#include <poll.h>
#include "dashel-private.h"
Go to the source code of this file.
Classes | |
class | Dashel::DisconnectableStream |
In addition its parent, this stream can also make select return because of the target has disconnected. More... | |
class | Dashel::FileDescriptorStream |
File descriptor, uses send/recv for read/write. More... | |
class | Dashel::FileStream |
Stream for file. More... | |
class | Dashel::SelectableStream |
Stream with a file descriptor that is selectable. More... | |
class | Dashel::SerialStream |
Stream for serial port, in addition to FileDescriptorStream, save old state of serial port. More... | |
class | Dashel::SocketServerStream |
Socket server stream. More... | |
class | Dashel::SocketStream |
Socket, uses send/recv for read/write. More... | |
class | Dashel::UDPSocketStream |
UDP Socket, uses sendto/recvfrom for read/write. More... | |
Namespaces | |
namespace | Dashel |
Dashel, a cross-platform stream abstraction library. | |
Defines | |
#define | RECV_BUFFER_SIZE 4096 |
Functions | |
template<typename Derived , typename Base > | |
Derived | Dashel::polymorphic_downcast (Base base) |
Asserts a dynamic cast. Similar to the one in boost/cast.hpp. |
#define RECV_BUFFER_SIZE 4096 |
Definition at line 227 of file dashel-posix.cpp.