#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"
#include "dashel-posix.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::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::StdinStream |
Standard input stream, simply a FileStream with a specific target. More... | |
class | Dashel::StdoutStream |
Standard output stream, simply a FileStream with a specific target. 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. | |
Variables | |
StreamTypeRegistry | Dashel::__attribute__ ((init_priority(1000))) streamTypeRegistry |
#define RECV_BUFFER_SIZE 4096 |
Definition at line 308 of file dashel-posix.cpp.