hamcast  Version 0.7
Public Member Functions | List of all members
hamcast::util::closeable Struct Referenceabstract

#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

Public Member Functions

virtual void close ()=0
 
virtual bool closed () const =0
 
- Public Member Functions inherited from hamcast::ref_counted
long ref_count ()
 

Additional Inherited Members

- Static Public Member Functions inherited from hamcast::ref_counted
static void add_ref (ref_counted *rc)
 
static void release (ref_counted *rc)
 
- Protected Member Functions inherited from hamcast::ref_counted
 ref_counted ()
 
void ref ()
 
bool deref ()
 

Detailed Description

Describes a closeable input and/or output channel.

Member Function Documentation

virtual void hamcast::util::closeable::close ( )
pure virtual
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::write_buffer< block_size, maximum_size >, hamcast::util::buffered_source< block_size, maximum_size >, hamcast::util::read_buffer, and hamcast::util::buffered_sink< block_size, maximum_size >.


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