OpenMesh::mostream Class Reference

#include <OpenMesh/Core/System/mostream.hh>

List of all members.

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_

Detailed Description

This class provides streams that can easily be multiplexed (using the connect() method) and toggled on/off (using enable() / disable()).

See also:
omlog, omout, omerr

Definition at line 256 of file mostream.hh.


Constructor & Destructor Documentation

OpenMesh::mostream::mostream (  )  [inline, explicit]

Explicit constructor.

Definition at line 261 of file mostream.hh.


Member Function Documentation

template<class T >
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.

template<class T >
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.


Member Data Documentation

Definition at line 289 of file mostream.hh.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:16 2013