Vehicle Specific Modules SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ugcs::vsm::internal::Posix_file_handle::Io_cb Struct Reference

Posix specific I/O control block. More...

#include <posix_file_handle.h>

Inheritance diagram for ugcs::vsm::internal::Posix_file_handle::Io_cb:

Public Member Functions

 Io_cb (Posix_file_handle &handle)
 Construct block bound to a handle. More...

Public Attributes

 Associated handle. More...
- Public Attributes inherited from ugcs::vsm::internal::Poll_io_controller::Io_cb
int fd
 File descriptor. More...
Operation op
 Requested operation. More...
void * buf
 Data buffer. More...
size_t size
 Data size. More...
Io_stream::Offset offset
 File offset. More...
Callback cbk
 Callback to call when operation is completed. More...
int error
 Operation error code. More...
ssize_t return_value
 Operation return value, typically transfer size. More...

Additional Inherited Members

- Public Types inherited from ugcs::vsm::internal::Poll_io_controller::Io_cb
typedef void(* Callback )(Io_cb &)
 Callback for completed operation. More...
enum  Operation { READ, WRITE }
 Operation type. More...

Detailed Description

Posix specific I/O control block.

Constructor & Destructor Documentation

ugcs::vsm::internal::Posix_file_handle::Io_cb::Io_cb ( Posix_file_handle handle)

Construct block bound to a handle.

Member Data Documentation

Posix_file_handle& ugcs::vsm::internal::Posix_file_handle::Io_cb::handle

Associated handle.

The documentation for this struct was generated from the following file: