#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 64 of file ThreadedStream.h.
typedef std::shared_ptr<Manager> rc::ThreadedStream::Manager::Ptr |
Definition at line 67 of file ThreadedStream.h.
|
protected |
Definition at line 83 of file ThreadedStream.cc.
void rc::ThreadedStream::Manager::add | ( | ThreadedStream::Ptr | stream | ) |
Definition at line 87 of file ThreadedStream.cc.
bool rc::ThreadedStream::Manager::all_succeeded | ( | ) | const |
Definition at line 116 of file ThreadedStream.cc.
|
inline |
Definition at line 79 of file ThreadedStream.h.
|
static |
Definition at line 78 of file ThreadedStream.cc.
const std::list< ThreadedStream::Ptr > & rc::ThreadedStream::Manager::get | ( | ) |
Definition at line 93 of file ThreadedStream.cc.
void rc::ThreadedStream::Manager::join_all | ( | ) |
Definition at line 110 of file ThreadedStream.cc.
void rc::ThreadedStream::Manager::start_all | ( | ) |
Definition at line 98 of file ThreadedStream.cc.
void rc::ThreadedStream::Manager::stop_all | ( | ) |
Definition at line 104 of file ThreadedStream.cc.
|
protected |
Definition at line 87 of file ThreadedStream.h.
|
protected |
Definition at line 88 of file ThreadedStream.h.
|
protected |
Definition at line 90 of file ThreadedStream.h.