27 #include <lunchbox/buffer.h>
28 #include <lunchbox/referenced.h>
29 #include <lunchbox/thread.h>
34 namespace detail {
class Buffer; }
44 class Buffer :
public lunchbox::Bufferb,
public lunchbox::Referenced
54 CO_API
bool isFree()
const;
59 detail::Buffer*
const _impl;
60 LB_TS_VAR( _writeThread );
62 void notifyFree()
override;
65 std::ostream& operator << ( std::ostream&,
const Buffer& );
Defines export visibility macros for library Collage.
virtual CO_API ~Buffer()
Destruct this buffer.
A receive buffer for a Connection.
CO_API Buffer(BufferListener *listener=0)
Construct a new buffer.
CO_API bool isFree() const
A listener interface to buffer state changes.