Realistic 3D camera system
3D camera system components
|
Iostream interface for a socket. More...
#include <basic_socket_iostream.hpp>
Public Types | |
typedef Protocol::endpoint | endpoint_type |
The endpoint type. More... | |
typedef traits_helper::time_type | time_type |
typedef traits_helper::duration_type | duration_type |
Public Member Functions | |
basic_socket_iostream () | |
Construct a basic_socket_iostream without establishing a connection. More... | |
void | close () |
Close the connection. More... | |
basic_socket_streambuf< Protocol, StreamSocketService, Time, TimeTraits, TimerService > * | rdbuf () const |
Return a pointer to the underlying streambuf. More... | |
const asio::error_code & | error () const |
Get the last error associated with the stream. More... | |
time_type | expires_at () const |
Get the stream's expiry time as an absolute time. More... | |
void | expires_at (const time_type &expiry_time) |
Set the stream's expiry time as an absolute time. More... | |
duration_type | expires_from_now () const |
Get the timer's expiry time relative to now. More... | |
void | expires_from_now (const duration_type &expiry_time) |
Set the stream's expiry time relative to now. More... | |
Iostream interface for a socket.
Definition at line 109 of file basic_socket_iostream.hpp.
typedef traits_helper::duration_type asio::basic_socket_iostream< Protocol, StreamSocketService, Time, TimeTraits, TimerService >::duration_type |
Definition at line 135 of file basic_socket_iostream.hpp.
typedef Protocol::endpoint asio::basic_socket_iostream< Protocol, StreamSocketService, Time, TimeTraits, TimerService >::endpoint_type |
The endpoint type.
Definition at line 125 of file basic_socket_iostream.hpp.
typedef traits_helper::time_type asio::basic_socket_iostream< Protocol, StreamSocketService, Time, TimeTraits, TimerService >::time_type |
Definition at line 134 of file basic_socket_iostream.hpp.
|
inline |
Construct a basic_socket_iostream without establishing a connection.
Definition at line 139 of file basic_socket_iostream.hpp.
|
inline |
Close the connection.
Definition at line 194 of file basic_socket_iostream.hpp.
|
inline |
Get the last error associated with the stream.
error_code
corresponding to the last error from the stream.Definition at line 223 of file basic_socket_iostream.hpp.
|
inline |
Get the stream's expiry time as an absolute time.
Definition at line 232 of file basic_socket_iostream.hpp.
|
inline |
Set the stream's expiry time as an absolute time.
This function sets the expiry time associated with the stream. Stream operations performed after this time (where the operations cannot be completed using the internal buffers) will fail with the error asio::error::operation_aborted.
expiry_time | The expiry time to be used for the stream. |
Definition at line 246 of file basic_socket_iostream.hpp.
|
inline |
Get the timer's expiry time relative to now.
Definition at line 255 of file basic_socket_iostream.hpp.
|
inline |
Set the stream's expiry time relative to now.
This function sets the expiry time associated with the stream. Stream operations performed after this time (where the operations cannot be completed using the internal buffers) will fail with the error asio::error::operation_aborted.
expiry_time | The expiry time to be used for the timer. |
Definition at line 269 of file basic_socket_iostream.hpp.
|
inline |
Return a pointer to the underlying streambuf.
Definition at line 202 of file basic_socket_iostream.hpp.