Dashel Namespace Reference

Dashel, a cross-platform stream abstraction library. More...

Classes

class  DashelException
 The one size fits all exception for streams. More...
class  DisconnectableStream
 In addition its parent, this stream can also make select return because of the target has disconnected. More...
class  ExpandableBuffer
 A simple buffer that can expand when data is added (like std::vector), but that can also return a pointer to the underlying data (like std::valarray). More...
class  FileDescriptorStream
 File descriptor, uses send/recv for read/write. More...
class  FileStream
 Stream for file. More...
class  Hub
class  IPV4Address
 A IP version 4 address. More...
class  MemoryPacketStream
 The system-neutral part of packet stream that implement the actual memory buffers. More...
class  PacketStream
 A data stream, that can be later send data as at UDP packet or read data from an UDP packet. More...
class  ParameterSet
 Parameter set. More...
class  SelectableStream
 Stream with a file descriptor that is selectable. More...
class  SerialPortEnumerator
 Serial port enumerator class. More...
class  SerialStream
 Stream for serial port, in addition to FileDescriptorStream, save old state of serial port. More...
class  SocketServerStream
 Socket server stream. More...
class  SocketStream
 Socket, uses send/recv for read/write. More...
class  StdinStream
 Standard input stream. More...
class  StdoutStream
 Standard output stream. More...
class  Stream
 A data stream, with low-level (not-endian safe) read/write functions. More...
class  UDPSocketStream
 UDP Socket, uses sendto/recvfrom for read/write. More...
class  WaitableStream
 Stream with a handle that can be waited on. More...

Enumerations

enum  EvType { EvData, EvPotentialData, EvClosed, EvConnect }
 

Event types that can be waited on.

More...

Functions

template<typename Derived , typename Base >
Derived polymorphic_downcast (Base base)
 Asserts a dynamic cast. Similar to the one in boost/cast.hpp.
void startWinSock ()
 Ensure that the WinSock API has been started properly.

Detailed Description

Dashel, a cross-platform stream abstraction library.


Enumeration Type Documentation

Event types that can be waited on.

Enumerator:
EvData 

Data available.

EvPotentialData 

Maybe some data or maybe not.

EvClosed 

Closed by remote.

EvConnect 

Incoming connection detected.

Definition at line 118 of file dashel-private.h.


Function Documentation

template<typename Derived , typename Base >
Derived Dashel::polymorphic_downcast ( Base  base  )  [inline]

Asserts a dynamic cast. Similar to the one in boost/cast.hpp.

Definition at line 82 of file dashel-win32.cpp.

void Dashel::startWinSock (  ) 

Ensure that the WinSock API has been started properly.

Definition at line 244 of file dashel-win32.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


asebaros
Author(s): $author
autogenerated on Mon Sep 5 08:42:16 2011