Realistic 3D camera system
3D camera system components
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
asio::ip::icmp Class Reference

Encapsulates the flags needed for ICMP. More...

#include <icmp.hpp>

Public Types

typedef basic_endpoint< icmpendpoint
 The type of a ICMP endpoint. More...
 
typedef basic_raw_socket< icmpsocket
 The ICMP socket type. More...
 
typedef basic_resolver< icmpresolver
 The ICMP resolver type. More...
 

Public Member Functions

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...
 

Static Public Member Functions

static icmp v4 ()
 Construct to represent the IPv4 ICMP protocol. More...
 
static icmp v6 ()
 Construct to represent the IPv6 ICMP protocol. More...
 

Friends

bool operator== (const icmp &p1, const icmp &p2)
 Compare two protocols for equality. More...
 
bool operator!= (const icmp &p1, const icmp &p2)
 Compare two protocols for inequality. More...
 

Detailed Description

Encapsulates the flags needed for ICMP.

The asio::ip::icmp class contains flags necessary for ICMP sockets.

Thread Safety
Distinct objects: Safe.
Shared objects: Safe.
Concepts:
Protocol, InternetProtocol.

Definition at line 42 of file icmp.hpp.

Member Typedef Documentation

The type of a ICMP endpoint.

Definition at line 46 of file icmp.hpp.

The ICMP resolver type.

Definition at line 84 of file icmp.hpp.

The ICMP socket type.

Definition at line 81 of file icmp.hpp.

Member Function Documentation

int asio::ip::icmp::family ( ) const
inline

Obtain an identifier for the protocol family.

Definition at line 75 of file icmp.hpp.

int asio::ip::icmp::protocol ( ) const
inline

Obtain an identifier for the protocol.

Definition at line 69 of file icmp.hpp.

int asio::ip::icmp::type ( ) const
inline

Obtain an identifier for the type of the protocol.

Definition at line 63 of file icmp.hpp.

static icmp asio::ip::icmp::v4 ( )
inlinestatic

Construct to represent the IPv4 ICMP protocol.

Definition at line 49 of file icmp.hpp.

static icmp asio::ip::icmp::v6 ( )
inlinestatic

Construct to represent the IPv6 ICMP protocol.

Definition at line 56 of file icmp.hpp.

Friends And Related Function Documentation

bool operator!= ( const icmp p1,
const icmp p2 
)
friend

Compare two protocols for inequality.

Definition at line 93 of file icmp.hpp.

bool operator== ( const icmp p1,
const icmp p2 
)
friend

Compare two protocols for equality.

Definition at line 87 of file icmp.hpp.


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