#include <ThreadedStream.h>
Public Types | |
typedef std::shared_ptr< Manager > | Ptr |
Public Member Functions | |
void | add (ThreadedStream::Ptr stream) |
bool | all_succeeded () const |
const std::atomic_bool & | any_failed () const |
const std::list < ThreadedStream::Ptr > & | get () |
void | join_all () |
void | start_all () |
void | stop_all () |
Static Public Member Functions | |
static Ptr | create () |
Protected Member Functions | |
Manager () | |
Protected Attributes | |
std::atomic_bool | _any_failed |
std::list< ThreadedStream::Ptr > | _streams |
friend | ThreadedStream |
Definition at line 66 of file ThreadedStream.h.
typedef std::shared_ptr<Manager> rc::ThreadedStream::Manager::Ptr |
Definition at line 69 of file ThreadedStream.h.
rc::ThreadedStream::Manager::Manager | ( | ) | [protected] |
Definition at line 87 of file ThreadedStream.cc.
void rc::ThreadedStream::Manager::add | ( | ThreadedStream::Ptr | stream | ) |
Definition at line 90 of file ThreadedStream.cc.
Definition at line 117 of file ThreadedStream.cc.
const std::atomic_bool& rc::ThreadedStream::Manager::any_failed | ( | ) | const [inline] |
Definition at line 81 of file ThreadedStream.h.
Definition at line 82 of file ThreadedStream.cc.
const std::list< ThreadedStream::Ptr > & rc::ThreadedStream::Manager::get | ( | ) |
Definition at line 96 of file ThreadedStream.cc.
Definition at line 111 of file ThreadedStream.cc.
Definition at line 101 of file ThreadedStream.cc.
Definition at line 106 of file ThreadedStream.cc.
std::atomic_bool rc::ThreadedStream::Manager::_any_failed [protected] |
Definition at line 86 of file ThreadedStream.h.
std::list<ThreadedStream::Ptr> rc::ThreadedStream::Manager::_streams [protected] |
Definition at line 87 of file ThreadedStream.h.
friend rc::ThreadedStream::Manager::ThreadedStream [protected] |
Definition at line 89 of file ThreadedStream.h.