Documentation Status

ecl_lite: ecl_config | ecl_converters_lite | ecl_errors | ecl_io | ecl_sigslots_lite | ecl_time_lite

Package Summary

Documented

Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.

ecl_lite: ecl_config | ecl_converters_lite | ecl_errors | ecl_io | ecl_sigslots_lite | ecl_time_lite

Package Summary

Documented

Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.

ecl_lite: ecl_config | ecl_converters_lite | ecl_errors | ecl_io | ecl_sigslots_lite | ecl_time_lite

Package Summary

Released Continuous integration Documented

Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.

ecl_lite: ecl_config | ecl_converters_lite | ecl_errors | ecl_io | ecl_sigslots_lite | ecl_time_lite

Package Summary

Released Continuous integration Documented

Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.

ecl_lite

Package Summary

Released Continuous integration Documented

Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.

ecl_lite: ecl_config | ecl_converters_lite | ecl_errors | ecl_io | ecl_sigslots_lite | ecl_time_lite

Package Summary

Released Continuous integration Documented

Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.

ecl_lite: ecl_config | ecl_converters_lite | ecl_errors | ecl_io | ecl_sigslots_lite | ecl_time_lite

Package Summary

Released Continuous integration Documented

Most implementations (windows, posix, ...) have slightly different api for low level input-output functions. These are gathered here and re-represented with a cross platform set of functions.

Overview

Api such as this are only added on an as needed basis. Up until now, its mostly been used as a sandbox for testing cross-platform api that wrap slight differences in posix and win32 functionality.

Compiling & Linking

   1 #include <ecl/io.hpp>
   2 
   3 // Cross platform functions
   4 using ecl::init_sockets;      // initialises winsock on windows.
   5 using ecl::shutdown_sockets;  // shuts down winsock on windows.
   6 using ecl::poll_sockets;      // a drop in for posix poll() on windoze.
   7 using ecl::close_socket;      // a drop in for posix socketpair() on windoze.
   8 using ecl::socket_pair;       // standardises the api for closing a socket.
   9 

Outside ros, you will also need to link to ecl_io.

Examples

  • src/examples/poll.cpp

  • src/examples/sockets.cpp

  • src/examples/socketpair.cpp

Wiki: ecl_io (last edited 2012-01-14 13:06:44 by DanielStonier)