#include <OpenMesh/Core/System/mostream.hh>
Public Member Functions | |
| template<class T > | |
| bool | connect (T &_target) |
| Connect target to multiplexer. | |
| void | disable () |
| disable this buffer | |
| template<class T > | |
| bool | disconnect (T &_target) |
| Disconnect target from multiplexer. | |
| void | enable () |
| enable this buffer | |
| bool | is_enabled () const |
| is buffer enabled | |
| mostream () | |
| Explicit constructor. | |
Private Attributes | |
| multiplex_streambuf | streambuffer_ |
This class provides streams that can easily be multiplexed (using the connect() method) and toggled on/off (using enable() / disable()).
Definition at line 256 of file mostream.hh.
| OpenMesh::mostream::mostream | ( | ) | [inline, explicit] |
Explicit constructor.
Definition at line 261 of file mostream.hh.
| bool OpenMesh::mostream::connect | ( | T & | _target | ) | [inline] |
Connect target to multiplexer.
Definition at line 265 of file mostream.hh.
| void OpenMesh::mostream::disable | ( | ) | [inline] |
disable this buffer
Definition at line 285 of file mostream.hh.
| bool OpenMesh::mostream::disconnect | ( | T & | _target | ) | [inline] |
Disconnect target from multiplexer.
Definition at line 272 of file mostream.hh.
| void OpenMesh::mostream::enable | ( | ) | [inline] |
enable this buffer
Definition at line 282 of file mostream.hh.
| bool OpenMesh::mostream::is_enabled | ( | ) | const [inline] |
is buffer enabled
Definition at line 279 of file mostream.hh.
Definition at line 289 of file mostream.hh.