C++ Actor Framework 0.18
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends | List of all members
caf::io::datagram_handle Class Reference

Generic handle type for identifying datagram endpoints. More...

#include <datagram_handle.hpp>

Inheritance diagram for caf::io::datagram_handle:
caf::handle< datagram_handle, invalid_datagram_handle_t > caf::detail::comparable< Subclass, T > caf::detail::comparable< Subclass, T >

Public Types

using super = handle< datagram_handle, invalid_datagram_handle_t >
 

Public Member Functions

constexpr datagram_handle (const invalid_datagram_handle_t &)
 
- Public Member Functions inherited from caf::handle< datagram_handle, invalid_datagram_handle_t >
 handle (const datagram_handle &other)
 
 handle (const handle &other)=default
 
handleoperator= (const handle &other)
 
handleoperator= (const invalid_datagram_handle_t &)
 
int64_t id () const
 Returns the unique identifier of this handle.
 
void set_id (int64_t value)
 Sets the unique identifier of this handle.
 
int64_t compare (const datagram_handle &other) const
 
int64_t compare (const invalid_datagram_handle_t &) const
 
bool invalid () const
 
void set_invalid ()
 

Friends

class handle< datagram_handle, invalid_datagram_handle_t >
 
template<class Inspector >
bool inspect (Inspector &f, datagram_handle &x)
 

Additional Inherited Members

- Static Public Member Functions inherited from caf::handle< datagram_handle, invalid_datagram_handle_t >
static datagram_handle from_int (int64_t id)
 
- Protected Member Functions inherited from caf::handle< datagram_handle, invalid_datagram_handle_t >
 handle (int64_t handle_id)
 
- Protected Attributes inherited from caf::handle< datagram_handle, invalid_datagram_handle_t >
int64_t id_
 

Detailed Description

Generic handle type for identifying datagram endpoints.


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