Realistic 3D camera system
3D camera system components
|
Describes an endpoint for any socket type. More...
#include <basic_endpoint.hpp>
Public Types | |
typedef Protocol | protocol_type |
The protocol type associated with the endpoint. More... | |
typedef asio::detail::socket_addr_type | data_type |
Public Member Functions | |
basic_endpoint () | |
Default constructor. More... | |
basic_endpoint (const void *socket_address, std::size_t socket_address_size, int socket_protocol=0) | |
Construct an endpoint from the specified socket address. More... | |
template<typename Endpoint > | |
basic_endpoint (const Endpoint &endpoint) | |
Construct an endpoint from the specific endpoint type. More... | |
basic_endpoint (const basic_endpoint &other) | |
Copy constructor. More... | |
basic_endpoint & | operator= (const basic_endpoint &other) |
Assign from another endpoint. More... | |
protocol_type | protocol () const |
The protocol associated with the endpoint. More... | |
data_type * | data () |
Get the underlying endpoint in the native type. More... | |
const data_type * | data () const |
Get the underlying endpoint in the native type. More... | |
std::size_t | size () const |
Get the underlying size of the endpoint in the native type. More... | |
void | resize (std::size_t new_size) |
Set the underlying size of the endpoint in the native type. More... | |
std::size_t | capacity () const |
Get the capacity of the endpoint in the native type. More... | |
Friends | |
bool | operator== (const basic_endpoint< Protocol > &e1, const basic_endpoint< Protocol > &e2) |
Compare two endpoints for equality. More... | |
bool | operator!= (const basic_endpoint< Protocol > &e1, const basic_endpoint< Protocol > &e2) |
Compare two endpoints for inequality. More... | |
bool | operator< (const basic_endpoint< Protocol > &e1, const basic_endpoint< Protocol > &e2) |
Compare endpoints for ordering. More... | |
bool | operator> (const basic_endpoint< Protocol > &e1, const basic_endpoint< Protocol > &e2) |
Compare endpoints for ordering. More... | |
bool | operator<= (const basic_endpoint< Protocol > &e1, const basic_endpoint< Protocol > &e2) |
Compare endpoints for ordering. More... | |
bool | operator>= (const basic_endpoint< Protocol > &e1, const basic_endpoint< Protocol > &e2) |
Compare endpoints for ordering. More... | |
Describes an endpoint for any socket type.
The asio::generic::basic_endpoint class template describes an endpoint that may be associated with any socket type.
sockaddr_storage
structure.Definition at line 42 of file basic_endpoint.hpp.
typedef asio::detail::socket_addr_type asio::generic::basic_endpoint< Protocol >::data_type |
The type of the endpoint structure. This type is dependent on the underlying implementation of the socket layer.
Definition at line 53 of file basic_endpoint.hpp.
typedef Protocol asio::generic::basic_endpoint< Protocol >::protocol_type |
The protocol type associated with the endpoint.
Definition at line 46 of file basic_endpoint.hpp.
|
inline |
Default constructor.
Definition at line 57 of file basic_endpoint.hpp.
|
inline |
Construct an endpoint from the specified socket address.
Definition at line 62 of file basic_endpoint.hpp.
|
inline |
Construct an endpoint from the specific endpoint type.
Definition at line 70 of file basic_endpoint.hpp.
|
inline |
Copy constructor.
Definition at line 76 of file basic_endpoint.hpp.
|
inline |
Get the capacity of the endpoint in the native type.
Definition at line 136 of file basic_endpoint.hpp.
|
inline |
Get the underlying endpoint in the native type.
Definition at line 112 of file basic_endpoint.hpp.
|
inline |
Get the underlying endpoint in the native type.
Definition at line 118 of file basic_endpoint.hpp.
|
inline |
Assign from another endpoint.
Definition at line 90 of file basic_endpoint.hpp.
|
inline |
The protocol associated with the endpoint.
Definition at line 106 of file basic_endpoint.hpp.
|
inline |
Set the underlying size of the endpoint in the native type.
Definition at line 130 of file basic_endpoint.hpp.
|
inline |
Get the underlying size of the endpoint in the native type.
Definition at line 124 of file basic_endpoint.hpp.
|
friend |
Compare two endpoints for inequality.
Definition at line 149 of file basic_endpoint.hpp.
|
friend |
Compare endpoints for ordering.
Definition at line 156 of file basic_endpoint.hpp.
|
friend |
Compare endpoints for ordering.
Definition at line 170 of file basic_endpoint.hpp.
|
friend |
Compare two endpoints for equality.
Definition at line 142 of file basic_endpoint.hpp.
|
friend |
Compare endpoints for ordering.
Definition at line 163 of file basic_endpoint.hpp.
|
friend |
Compare endpoints for ordering.
Definition at line 177 of file basic_endpoint.hpp.