|
conduit 0.6.0
Modern C++23 header-only event-dispatching / event-transport library
|
#include <transport.hpp>


Public Member Functions | |
| Transport (const Execution mode=Execution::Direct, ThreadPoolConfig cfg={}) | |
| TransportScope | scope () const noexcept override |
| void | detach () noexcept override |
| void | dispatch (const EventEnvelopeView &v) override |
| void | flush () override |
| Execution | mode () const noexcept |
Public Member Functions inherited from conduit::Transport | |
| Transport ()=default | |
| Transport (const Transport &)=delete | |
| Transport (Transport &&) noexcept=default | |
| Transport & | operator= (const Transport &)=delete |
| Transport & | operator= (Transport &&) noexcept=default |
| ~Transport () override=default | |
| virtual void | attach (Bus &bus) |
| Attach to a bus. | |
| virtual void | attach_with_sink (Bus &bus, InboundSink sink) |
| Attach to a bus using a caller-supplied inbound sink. | |
Static Public Member Functions | |
| static Transport | thread_pool (ThreadPoolConfig cfg={}) |
| static Transport | queued (const std::size_t queue_capacity=0) |
Additional Inherited Members | |
Protected Member Functions inherited from conduit::Transport | |
| void | deliver_inbound (const EventEnvelopeView &v) const |
| Subclasses call this for inbound delivery instead of touching the bus directly. | |
| Bus * | bus () const noexcept |
|
inlineexplicit |
|
inlineoverridevirtualnoexcept |
Reimplemented from conduit::Transport.
|
inlineoverridevirtual |
Implements conduit::Transport.
|
inlineoverridevirtual |
Reimplemented from conduit::Transport.
|
inlinenoexcept |
|
inlinestatic |
|
inlineoverridevirtualnoexcept |
Implements conduit::Transport.
|
inlinestatic |