Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rc::ThreadedStream::Manager Class Reference

#include <ThreadedStream.h>

Inheritance diagram for rc::ThreadedStream::Manager:
Inheritance graph
[legend]

Public Types

typedef std::shared_ptr< ManagerPtr
 

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
 

Detailed Description

Definition at line 64 of file ThreadedStream.h.

Member Typedef Documentation

typedef std::shared_ptr<Manager> rc::ThreadedStream::Manager::Ptr

Definition at line 67 of file ThreadedStream.h.

Constructor & Destructor Documentation

rc::ThreadedStream::Manager::Manager ( )
protected

Definition at line 83 of file ThreadedStream.cc.

Member Function Documentation

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.

const std::atomic_bool& rc::ThreadedStream::Manager::any_failed ( ) const
inline

Definition at line 79 of file ThreadedStream.h.

ThreadedStream::Manager::Ptr rc::ThreadedStream::Manager::create ( )
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.

Member Data Documentation

std::atomic_bool rc::ThreadedStream::Manager::_any_failed
protected

Definition at line 87 of file ThreadedStream.h.

std::list<ThreadedStream::Ptr> rc::ThreadedStream::Manager::_streams
protected

Definition at line 88 of file ThreadedStream.h.

friend rc::ThreadedStream::Manager::ThreadedStream
protected

Definition at line 90 of file ThreadedStream.h.


The documentation for this class was generated from the following files:


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Wed Mar 20 2019 07:55:49