VSM C++ SDK
Vehicle Specific Modules SDK
io_stream.h File Reference

Abstract stream for I/O operations. More...

Go to the source code of this file.

Classes

class  ugcs::vsm::Io_stream
 Abstract I/O stream interface. More...
 

Namespaces

 ugcs
 UGCS root namespace.
 
 ugcs::vsm
 All VSM SDK functionality resides in this namespace.
 

Enumerations

enum  ugcs::vsm::Io_result {
  ugcs::vsm::Io_result::OK, ugcs::vsm::Io_result::TIMED_OUT, ugcs::vsm::Io_result::CANCELED, ugcs::vsm::Io_result::BAD_ADDRESS,
  ugcs::vsm::Io_result::CONNECTION_REFUSED, ugcs::vsm::Io_result::CLOSED, ugcs::vsm::Io_result::PERMISSION_DENIED, ugcs::vsm::Io_result::END_OF_FILE,
  ugcs::vsm::Io_result::LOCK_ERROR, ugcs::vsm::Io_result::OTHER_FAILURE
}
 Result of I/O operation. More...
 

Functions

template<class __Callable , typename... __Args>
 ugcs::vsm::__DEFINE_CALLBACK_BUILDER_BODY (Make_write_callback,(Io_result),(Io_result::OTHER_FAILURE)) template< class __Callable
 Convenience builder for write operation callbacks. More...
 

Detailed Description

Abstract stream for I/O operations.

Used as a back-end for already created streams.