Public Member Functions

hamcast::util::closeable Struct Reference

Describes a closeable input and/or output channel. More...

#include <closeable.hpp>

Inheritance diagram for hamcast::util::closeable:
hamcast::ref_counted hamcast::util::sink hamcast::util::source hamcast::util::buffered_sink< block_size, maximum_size > hamcast::util::write_buffer< block_size, maximum_size > hamcast::util::buffered_source< block_size, maximum_size > hamcast::util::read_buffer

List of all members.

Public Member Functions

virtual void close ()=0
virtual bool closed () const =0

Detailed Description

Describes a closeable input and/or output channel.


Member Function Documentation

virtual bool hamcast::util::closeable::closed (  )  const [pure virtual]

Check if the data channel is closed.

Returns:
true if this is closed for read/write operations; otherwise false.

Implemented in hamcast::util::buffered_sink< block_size, maximum_size >, hamcast::util::buffered_source< block_size, maximum_size >, hamcast::util::read_buffer, and hamcast::util::write_buffer< block_size, maximum_size >.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator