DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <Receiver.hpp>
Public Member Functions | |
ReceiverConcept (ConnectionId const &conn_id) | |
virtual Datatype | receive (Receiver::timeout_t timeout)=0 |
virtual std::optional< Datatype > | try_receive (Receiver::timeout_t timeout)=0 |
virtual void | add_callback (std::function< void(Datatype &)> callback)=0 |
virtual void | remove_callback ()=0 |
virtual void | subscribe (std::string topic)=0 |
virtual void | unsubscribe (std::string topic)=0 |
![]() | |
Receiver (ConnectionId const &this_conn) | |
virtual | ~Receiver ()=default |
ConnectionId | id () const |
![]() | |
NamedObject (const std::string &name) | |
NamedObject Constructor. | |
NamedObject (NamedObject const &)=delete | |
NamedObject is not copy-constructible. | |
NamedObject (NamedObject &&)=default | |
NamedObject is move-constructible. | |
NamedObject & | operator= (NamedObject const &)=delete |
NamedObject is not copy-assignable. | |
NamedObject & | operator= (NamedObject &&)=default |
NamedObject is move-assignable. | |
virtual | ~NamedObject ()=default |
Default virtual destructor. | |
const std::string & | get_name () const final |
Get the name of this NamedObejct. | |
![]() | |
Named ()=default | |
Named Constructor. | |
Named (Named const &)=delete | |
Named is not copy-constructible. | |
Named (Named &&)=default | |
Named is move-constructible. | |
Named & | operator= (Named const &)=delete |
Named is not copy-assignable. | |
Named & | operator= (Named &&)=default |
Named is move-assignable. | |
virtual | ~Named ()=default |
Default virtual destructor. | |
Additional Inherited Members | |
![]() | |
using | timeout_t = std::chrono::milliseconds |
![]() | |
static constexpr timeout_t | s_block = timeout_t::max() |
static constexpr timeout_t | s_no_block = timeout_t::zero() |
![]() | |
ConnectionId | m_conn |
Definition at line 48 of file Receiver.hpp.
|
inlineexplicit |
Definition at line 51 of file Receiver.hpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |