Realistic 3D camera system
3D camera system components
|
Encapsulates the flags needed for a generic datagram-oriented socket. More...
#include <datagram_protocol.hpp>
Public Types | |
typedef basic_endpoint< datagram_protocol > | endpoint |
The type of an endpoint. More... | |
typedef basic_datagram_socket< datagram_protocol > | socket |
The generic socket type. More... | |
Public Member Functions | |
datagram_protocol (int address_family, int socket_protocol) | |
Construct a protocol object for a specific address family and protocol. More... | |
template<typename Protocol > | |
datagram_protocol (const Protocol &source_protocol) | |
Construct a generic protocol object from a specific protocol. More... | |
int | type () const |
Obtain an identifier for the type of the protocol. More... | |
int | protocol () const |
Obtain an identifier for the protocol. More... | |
int | family () const |
Obtain an identifier for the protocol family. More... | |
Friends | |
bool | operator== (const datagram_protocol &p1, const datagram_protocol &p2) |
Compare two protocols for equality. More... | |
bool | operator!= (const datagram_protocol &p1, const datagram_protocol &p2) |
Compare two protocols for inequality. More... | |
Encapsulates the flags needed for a generic datagram-oriented socket.
The asio::generic::datagram_protocol class contains flags necessary for datagram-oriented sockets of any address family and protocol.
Definition at line 49 of file datagram_protocol.hpp.
The type of an endpoint.
Definition at line 108 of file datagram_protocol.hpp.
The generic socket type.
Definition at line 111 of file datagram_protocol.hpp.
|
inline |
Construct a protocol object for a specific address family and protocol.
Definition at line 53 of file datagram_protocol.hpp.
|
inline |
Construct a generic protocol object from a specific protocol.
Definition at line 64 of file datagram_protocol.hpp.
|
inline |
Obtain an identifier for the protocol family.
Definition at line 88 of file datagram_protocol.hpp.
|
inline |
Obtain an identifier for the protocol.
Definition at line 82 of file datagram_protocol.hpp.
|
inline |
Obtain an identifier for the type of the protocol.
Definition at line 76 of file datagram_protocol.hpp.
|
friend |
Compare two protocols for inequality.
Definition at line 101 of file datagram_protocol.hpp.
|
friend |
Compare two protocols for equality.
Definition at line 94 of file datagram_protocol.hpp.