Realistic 3D camera system
3D camera system components
Public Types | Public Member Functions | List of all members
test_random_access_device Class Reference

Public Types

typedef asio::io_service io_service_type
 
typedef asio::io_service io_service_type
 

Public Member Functions

 test_random_access_device (asio::io_service &io_service)
 
io_service_typeget_io_service ()
 
void reset (const void *data, size_t length)
 
void next_read_length (size_t length)
 
template<typename Const_Buffers >
bool check_buffers (asio::uint64_t offset, const Const_Buffers &buffers, size_t length)
 
template<typename Mutable_Buffers >
size_t read_some_at (asio::uint64_t offset, const Mutable_Buffers &buffers)
 
template<typename Mutable_Buffers >
size_t read_some_at (asio::uint64_t offset, const Mutable_Buffers &buffers, asio::error_code &ec)
 
template<typename Mutable_Buffers , typename Handler >
void async_read_some_at (asio::uint64_t offset, const Mutable_Buffers &buffers, Handler handler)
 
 test_random_access_device (asio::io_service &io_service)
 
io_service_typeget_io_service ()
 
void reset ()
 
void next_write_length (size_t length)
 
template<typename Const_Buffers >
bool check_buffers (asio::uint64_t offset, const Const_Buffers &buffers, size_t length)
 
template<typename Const_Buffers >
size_t write_some_at (asio::uint64_t offset, const Const_Buffers &buffers)
 
template<typename Const_Buffers >
size_t write_some_at (asio::uint64_t offset, const Const_Buffers &buffers, asio::error_code &ec)
 
template<typename Const_Buffers , typename Handler >
void async_write_some_at (asio::uint64_t offset, const Const_Buffers &buffers, Handler handler)
 

Detailed Description

Definition at line 41 of file read_at.cpp.

Member Typedef Documentation

Definition at line 44 of file read_at.cpp.

Definition at line 44 of file write_at.cpp.

Constructor & Destructor Documentation

test_random_access_device::test_random_access_device ( asio::io_service io_service)
inline

Definition at line 46 of file read_at.cpp.

test_random_access_device::test_random_access_device ( asio::io_service io_service)
inline

Definition at line 46 of file write_at.cpp.

Member Function Documentation

template<typename Mutable_Buffers , typename Handler >
void test_random_access_device::async_read_some_at ( asio::uint64_t  offset,
const Mutable_Buffers &  buffers,
Handler  handler 
)
inline

Definition at line 119 of file read_at.cpp.

template<typename Const_Buffers , typename Handler >
void test_random_access_device::async_write_some_at ( asio::uint64_t  offset,
const Const_Buffers &  buffers,
Handler  handler 
)
inline

Definition at line 112 of file write_at.cpp.

template<typename Const_Buffers >
bool test_random_access_device::check_buffers ( asio::uint64_t  offset,
const Const_Buffers &  buffers,
size_t  length 
)
inline

Definition at line 71 of file write_at.cpp.

template<typename Const_Buffers >
bool test_random_access_device::check_buffers ( asio::uint64_t  offset,
const Const_Buffers &  buffers,
size_t  length 
)
inline

Definition at line 78 of file read_at.cpp.

io_service_type& test_random_access_device::get_io_service ( )
inline

Definition at line 53 of file read_at.cpp.

io_service_type& test_random_access_device::get_io_service ( )
inline

Definition at line 54 of file write_at.cpp.

void test_random_access_device::next_read_length ( size_t  length)
inline

Definition at line 72 of file read_at.cpp.

void test_random_access_device::next_write_length ( size_t  length)
inline

Definition at line 65 of file write_at.cpp.

template<typename Mutable_Buffers >
size_t test_random_access_device::read_some_at ( asio::uint64_t  offset,
const Mutable_Buffers &  buffers 
)
inline

Definition at line 102 of file read_at.cpp.

template<typename Mutable_Buffers >
size_t test_random_access_device::read_some_at ( asio::uint64_t  offset,
const Mutable_Buffers &  buffers,
asio::error_code ec 
)
inline

Definition at line 111 of file read_at.cpp.

void test_random_access_device::reset ( const void *  data,
size_t  length 
)
inline

Definition at line 58 of file read_at.cpp.

void test_random_access_device::reset ( )
inline

Definition at line 59 of file write_at.cpp.

template<typename Const_Buffers >
size_t test_random_access_device::write_some_at ( asio::uint64_t  offset,
const Const_Buffers &  buffers 
)
inline

Definition at line 95 of file write_at.cpp.

template<typename Const_Buffers >
size_t test_random_access_device::write_some_at ( asio::uint64_t  offset,
const Const_Buffers &  buffers,
asio::error_code ec 
)
inline

Definition at line 104 of file write_at.cpp.


The documentation for this class was generated from the following files: