|
FERS 0.1.0
The Flexible Extensible Radar Simulator
|
#include "paced_sender.h"
Public Member Functions | |
| PacedSender (std::unique_ptr< DatagramSender > sender, std::size_t queue_depth) | |
| ~PacedSender () | |
| PacedSender (const PacedSender &)=delete | |
| PacedSender & | operator= (const PacedSender &)=delete |
| void | open (const std::string &host, std::uint16_t port) |
| void | start (RealType simulation_epoch_time=0.0) |
| EnqueueResult | enqueue (SerializedPacket packet) |
| bool | enqueueBatch (std::vector< SerializedPacket > packets) |
| void | flush () |
| void | stop () |
| std::uint64_t | lateDataPacketCount (std::uint32_t stream_id) const |
| std::uint64_t | lateContextPacketCount (std::uint32_t stream_id) const |
| std::uint64_t | sentPacketCount (std::uint32_t stream_id) const |
| std::uint64_t | sendFailureCount (std::uint32_t stream_id) const |
| std::uint64_t | droppedDataPacketCount (std::uint32_t stream_id) const |
| std::uint64_t | droppedContextPacketCount (std::uint32_t stream_id) const |
| std::uint64_t | droppedSampleCount (std::uint32_t stream_id) const |
| std::vector< DroppedDatagram > | consumeDroppedDatagrams () |
Definition at line 38 of file paced_sender.h.
| serial::vita49::PacedSender::PacedSender | ( | std::unique_ptr< DatagramSender > | sender, |
| std::size_t | queue_depth | ||
| ) |
Definition at line 37 of file paced_sender.cpp.
| serial::vita49::PacedSender::~PacedSender | ( | ) |
Definition at line 50 of file paced_sender.cpp.
References stop().
Here is the call graph for this function:
|
delete |
| std::vector< DroppedDatagram > serial::vita49::PacedSender::consumeDroppedDatagrams | ( | ) |
| std::uint64_t serial::vita49::PacedSender::droppedContextPacketCount | ( | std::uint32_t | stream_id | ) | const |
| std::uint64_t serial::vita49::PacedSender::droppedDataPacketCount | ( | std::uint32_t | stream_id | ) | const |
| std::uint64_t serial::vita49::PacedSender::droppedSampleCount | ( | std::uint32_t | stream_id | ) | const |
| EnqueueResult serial::vita49::PacedSender::enqueue | ( | SerializedPacket | packet | ) |
Definition at line 68 of file paced_sender.cpp.
References serial::vita49::EnqueueResult::enqueued, and max.
| bool serial::vita49::PacedSender::enqueueBatch | ( | std::vector< SerializedPacket > | packets | ) |
Definition at line 112 of file paced_sender.cpp.
References max.
| void serial::vita49::PacedSender::flush | ( | ) |
Definition at line 138 of file paced_sender.cpp.
References max.
| std::uint64_t serial::vita49::PacedSender::lateContextPacketCount | ( | std::uint32_t | stream_id | ) | const |
| std::uint64_t serial::vita49::PacedSender::lateDataPacketCount | ( | std::uint32_t | stream_id | ) | const |
Definition at line 52 of file paced_sender.cpp.
|
delete |
| std::uint64_t serial::vita49::PacedSender::sendFailureCount | ( | std::uint32_t | stream_id | ) | const |
| std::uint64_t serial::vita49::PacedSender::sentPacketCount | ( | std::uint32_t | stream_id | ) | const |
Definition at line 54 of file paced_sender.cpp.
References max.
| void serial::vita49::PacedSender::stop | ( | ) |
Definition at line 144 of file paced_sender.cpp.
References max.
Referenced by ~PacedSender().
Here is the caller graph for this function: