#include <mostream.hh>
Public Types | |
| typedef STREAMBUF | base_type |
| typedef base_type::int_type | int_type |
| typedef base_type::traits_type | traits_type |
Public Member Functions | |
| template<class T > | |
| bool | connect (T &_target) |
| void | disable () |
| template<class T > | |
| bool | disconnect (T &_target) |
| void | enable () |
| bool | is_enabled () const |
| multiplex_streambuf () | |
| ~multiplex_streambuf () | |
Protected Member Functions | |
| virtual int_type | overflow (int_type _c=multiplex_streambuf::traits_type::eof()) |
| virtual int | sync () |
Private Types | |
| typedef std::vector < target_type * > | target_list |
| typedef std::map< void *, target_type * > | target_map |
| typedef basic_multiplex_target | target_type |
| typedef target_list::iterator | tlist_iter |
| typedef target_map::iterator | tmap_iter |
Private Member Functions | |
| void | __connect (target_type *_target) |
| void | __disconnect (target_type *_target) |
| void | multiplex () |
Private Attributes | |
| std::string | buffer_ |
| bool | enabled_ |
| target_map | target_map_ |
| target_list | targets_ |
Definition at line 107 of file mostream.hh.
| typedef STREAMBUF OpenMesh::multiplex_streambuf::base_type |
Definition at line 111 of file mostream.hh.
| typedef base_type::int_type OpenMesh::multiplex_streambuf::int_type |
Definition at line 120 of file mostream.hh.
typedef std::vector<target_type*> OpenMesh::multiplex_streambuf::target_list [private] |
Definition at line 208 of file mostream.hh.
typedef std::map<void*, target_type*> OpenMesh::multiplex_streambuf::target_map [private] |
Definition at line 210 of file mostream.hh.
typedef basic_multiplex_target OpenMesh::multiplex_streambuf::target_type [private] |
Definition at line 207 of file mostream.hh.
typedef target_list::iterator OpenMesh::multiplex_streambuf::tlist_iter [private] |
Definition at line 209 of file mostream.hh.
typedef target_map::iterator OpenMesh::multiplex_streambuf::tmap_iter [private] |
Definition at line 211 of file mostream.hh.
| typedef base_type::traits_type OpenMesh::multiplex_streambuf::traits_type |
Definition at line 121 of file mostream.hh.
| OpenMesh::multiplex_streambuf::multiplex_streambuf | ( | ) | [inline] |
Definition at line 125 of file mostream.hh.
| OpenMesh::multiplex_streambuf::~multiplex_streambuf | ( | ) | [inline] |
Definition at line 128 of file mostream.hh.
| void OpenMesh::multiplex_streambuf::__connect | ( | target_type * | _target | ) | [inline, private] |
Definition at line 215 of file mostream.hh.
| void OpenMesh::multiplex_streambuf::__disconnect | ( | target_type * | _target | ) | [inline, private] |
Definition at line 219 of file mostream.hh.
| bool OpenMesh::multiplex_streambuf::connect | ( | T & | _target | ) | [inline] |
Definition at line 143 of file mostream.hh.
| void OpenMesh::multiplex_streambuf::disable | ( | ) | [inline] |
Definition at line 139 of file mostream.hh.
| bool OpenMesh::multiplex_streambuf::disconnect | ( | T & | _target | ) | [inline] |
Definition at line 159 of file mostream.hh.
| void OpenMesh::multiplex_streambuf::enable | ( | ) | [inline] |
Definition at line 138 of file mostream.hh.
| bool OpenMesh::multiplex_streambuf::is_enabled | ( | ) | const [inline] |
Definition at line 137 of file mostream.hh.
| void OpenMesh::multiplex_streambuf::multiplex | ( | ) | [inline, private] |
Definition at line 225 of file mostream.hh.
| virtual int_type OpenMesh::multiplex_streambuf::overflow | ( | int_type | _c = multiplex_streambuf::traits_type::eof() |
) | [inline, protected, virtual] |
Definition at line 196 of file mostream.hh.
| virtual int OpenMesh::multiplex_streambuf::sync | ( | ) | [inline, protected, virtual] |
Definition at line 178 of file mostream.hh.
std::string OpenMesh::multiplex_streambuf::buffer_ [private] |
Definition at line 237 of file mostream.hh.
bool OpenMesh::multiplex_streambuf::enabled_ [private] |
Definition at line 238 of file mostream.hh.
Definition at line 236 of file mostream.hh.
Definition at line 235 of file mostream.hh.