$search

dashel-win32.cpp File Reference

Win32 implementation of Dashel, A cross-platform DAta Stream Helper Encapsulation Library. More...

#include "dashel.h"
#include <cassert>
#include <cstdlib>
#include <malloc.h>
#include <map>
#include <vector>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <winsock2.h>
#include <windows.h>
#include <setupapi.h>
#include <devguid.h>
#include <regstr.h>
#include <winnls.h>
#include "dashel-private.h"
Include dependency graph for dashel-win32.cpp:

Go to the source code of this file.

Classes

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...
class  Dashel::WaitableStream
 Stream with a handle that can be waited on. More...

Namespaces

namespace  Dashel
 

Dashel, a cross-platform stream abstraction library.


Defines

#define _WIN32_WINNT   0x0501

Enumerations

enum  Dashel::EvType { Dashel::EvData, Dashel::EvPotentialData, Dashel::EvClosed, Dashel::EvConnect }
 

Event types that can be waited on.

More...

Functions

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

Variables

StreamTypeRegistry Dashel::streamTypeRegistry
 The registry of all known stream types.

Detailed Description

Win32 implementation of Dashel, A cross-platform DAta Stream Helper Encapsulation Library.

Definition in file dashel-win32.cpp.


Define Documentation

#define _WIN32_WINNT   0x0501

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


dashel
Author(s): St├ęphane Magnenat
autogenerated on Sat Mar 2 12:31:30 2013