Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
symbian::concurrency::BoundedChannel< T > Class Template Reference

#include <cpp/symbian/concurrency/common/symbian/concurrency/bounded_channel.h>

Public Member Functions

 BoundedChannel (std::size_t capacity)
 
 BoundedChannel (const BoundedChannel &)=delete
 
BoundedChannel & operator= (const BoundedChannel &)=delete
 
BoundedReader< T > * reader ()
 
BoundedWriter< T > * writer ()
 
absl::Status TryWrite (T &&item)
 
absl::Status TryWrite (const T &item)
 
absl::Status Write (T &&item)
 
absl::Status Write (const T &item)
 
absl::StatusOr< bool > TryRead (T *out)
 
bool Read (T *out)
 
void Close ()
 
void Discard ()
 
std::size_t Size () const
 

Constructor & Destructor Documentation

◆ BoundedChannel() [1/2]

template<typename T >
symbian::concurrency::BoundedChannel< T >::BoundedChannel ( std::size_t  capacity)
inlineexplicit

◆ BoundedChannel() [2/2]

template<typename T >
symbian::concurrency::BoundedChannel< T >::BoundedChannel ( const BoundedChannel< T > &  )
delete

Member Function Documentation

◆ Close()

template<typename T >
void symbian::concurrency::BoundedChannel< T >::Close ( )
inline

◆ Discard()

template<typename T >
void symbian::concurrency::BoundedChannel< T >::Discard ( )
inline

◆ operator=()

template<typename T >
BoundedChannel & symbian::concurrency::BoundedChannel< T >::operator= ( const BoundedChannel< T > &  )
delete

◆ Read()

template<typename T >
bool symbian::concurrency::BoundedChannel< T >::Read ( T *  out)
inline

◆ reader()

template<typename T >
BoundedReader< T > * symbian::concurrency::BoundedChannel< T >::reader ( )
inline

◆ Size()

template<typename T >
std::size_t symbian::concurrency::BoundedChannel< T >::Size ( ) const
inline

◆ TryRead()

template<typename T >
absl::StatusOr< bool > symbian::concurrency::BoundedChannel< T >::TryRead ( T *  out)
inline

◆ TryWrite() [1/2]

template<typename T >
absl::Status symbian::concurrency::BoundedChannel< T >::TryWrite ( const T &  item)
inline

◆ TryWrite() [2/2]

template<typename T >
absl::Status symbian::concurrency::BoundedChannel< T >::TryWrite ( T &&  item)
inline

◆ Write() [1/2]

template<typename T >
absl::Status symbian::concurrency::BoundedChannel< T >::Write ( const T &  item)
inline

◆ Write() [2/2]

template<typename T >
absl::Status symbian::concurrency::BoundedChannel< T >::Write ( T &&  item)
inline

◆ writer()

template<typename T >
BoundedWriter< T > * symbian::concurrency::BoundedChannel< T >::writer ( )
inline

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