libcaf  0.15.5
Public Types | Public Member Functions | Friends | Related Functions | List of all members
caf::stream< T > Class Template Reference

Identifies an unbound sequence of messages. More...

#include <stream.hpp>

Inheritance diagram for caf::stream< T >:
caf::annotated_stream< T, Ts >

Public Types

using value_type = T
 

Public Member Functions

 stream (stream &&)=default
 
 stream (const stream &)=default
 
streamoperator= (stream &&)=default
 
streamoperator= (const stream &)=default
 
 stream (none_t)
 
 stream (stream_id sid)
 
 stream (stream_id sid, stream_manager_ptr sptr)
 Convenience constructor for returning the result of self->new_stream and similar functions. More...
 
 stream (stream other, stream_manager_ptr sptr)
 Convenience constructor for returning the result of self->new_stream and similar functions. More...
 
 stream (invalid_stream_t)
 
const stream_id & id () const
 Returns the unique identifier for this stream.
 
const stream_manager_ptrptr () const
 Returns the handler assigned to this stream on this actor.
 

Friends

template<class Inspector >
Inspector::result_type inspect (Inspector &f, stream &x)
 

Related Functions

(Note that these are not member functions.)

constexpr invalid_stream_t invalid_stream = invalid_stream_t{}
 
template<class T >
bool operator== (const stream< T > &x, const stream< T > &y)
 

Detailed Description

template<class T>
class caf::stream< T >

Identifies an unbound sequence of messages.

Constructor & Destructor Documentation

template<class T >
caf::stream< T >::stream ( stream_id  sid,
stream_manager_ptr  sptr 
)

Convenience constructor for returning the result of self->new_stream and similar functions.

template<class T >
caf::stream< T >::stream ( stream< T >  other,
stream_manager_ptr  sptr 
)

Convenience constructor for returning the result of self->new_stream and similar functions.

Friends And Related Function Documentation

template<class T >
constexpr invalid_stream_t invalid_stream = invalid_stream_t{}
related
template<class T >
bool operator== ( const stream< T > &  x,
const stream< T > &  y 
)
related

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