Data Structures | |
| class | iterator |
Public Member Functions | |
| channel () throw (std::bad_alloc) | |
| channel (struct cio_channel *c_ptr) throw () | |
| channel (channel &other) throw () | |
| ~channel () throw () | |
| channel & | operator= (channel &other) throw () |
| void | close () throw () |
| bool | read (T &item) |
| bool | write (const T &item) |
| struct cio_channel * | c_ptr () throw () |
| cio::channel< T >::channel | ( | ) | throw (std::bad_alloc) |
Create a new channel.
| cio::channel< T >::channel | ( | struct cio_channel< T > * | c_ptr | ) | throw () [explicit] |
Steal a reference to a C channel object.
c_ptr must match T | cio::channel< T >::channel | ( | channel< T > & | other | ) | throw () |
Reference an existing channel.
| cio::channel< T >::~channel | ( | ) | throw () |
Unreference the channel.
| struct cio_channel* cio::channel< T >::c_ptr | ( | ) | throw () [read] |
| void cio::channel< T >::close | ( | ) | throw () |
| channel& cio::channel< T >::operator= | ( | channel< T > & | other | ) | throw () |
Drop the existing reference and reference another channel.
| bool cio::channel< T >::read | ( | T & | item | ) |
| bool cio::channel< T >::write | ( | const T & | item | ) |