34 #ifndef RC_VISARD_DRIVER_THREADEDSTREAMER_H 35 #define RC_VISARD_DRIVER_THREADEDSTREAMER_H 62 typedef std::shared_ptr<ThreadedStream>
Ptr;
64 class Manager :
public std::enable_shared_from_this<Manager>
67 typedef std::shared_ptr<Manager>
Ptr;
72 const std::list<ThreadedStream::Ptr>&
get();
97 inline const std::string&
name()
const 131 #endif // RC_VISARD_DRIVER_THREADEDSTREAMER_H
std::shared_ptr< RemoteInterface > Ptr
const std::atomic_bool & any_failed() const
void add(ThreadedStream::Ptr stream)
const std::string & name() const
std::shared_ptr< ThreadedStream > Ptr
std::atomic_bool _requested
std::shared_ptr< Manager > Ptr
rc::dynamics::RemoteInterface::Ptr _rcdyn
Convenience classes to implement and manage different types of data streams in separate threads...
std::atomic_bool _any_failed
std::list< ThreadedStream::Ptr > _streams
const std::atomic_bool & requested() const
bool all_succeeded() const
const std::atomic_bool & succeeded() const
std::atomic_bool _success
virtual bool startReceivingAndPublishingAsRos()=0