#include <outgoing_transfer_registry.hpp>
Classes | |
class | DeadlineExpiredPredicate |
class | ExistenceCheckingPredicate |
struct | Value |
Public Member Functions | |
TransferID * | accessOrCreate (const OutgoingTransferRegistryKey &key, MonotonicTime new_deadline) |
void | cleanup (MonotonicTime ts) |
bool | exists (DataTypeID dtid, TransferType tt) const |
OutgoingTransferRegistry (IPoolAllocator &allocator) | |
Static Public Attributes | |
static const MonotonicDuration | MinEntryLifetime = MonotonicDuration::fromMSec(2000) |
Private Attributes | |
Map< OutgoingTransferRegistryKey, Value > | map_ |
Additional Inherited Members | |
![]() | |
Noncopyable () | |
~Noncopyable () | |
Outgoing transfer registry keeps track of Transfer ID values for all currently existing local transfer senders. If a local transfer sender was inactive for a sufficiently long time, the outgoing transfer registry will remove the respective Transfer ID tracking object.
Definition at line 64 of file outgoing_transfer_registry.hpp.
|
inlineexplicit |
Definition at line 117 of file outgoing_transfer_registry.hpp.
TransferID * uavcan::OutgoingTransferRegistry::accessOrCreate | ( | const OutgoingTransferRegistryKey & | key, |
MonotonicTime | new_deadline | ||
) |
Definition at line 27 of file uc_outgoing_transfer_registry.cpp.
void uavcan::OutgoingTransferRegistry::cleanup | ( | MonotonicTime | ts | ) |
Definition at line 50 of file uc_outgoing_transfer_registry.cpp.
bool uavcan::OutgoingTransferRegistry::exists | ( | DataTypeID | dtid, |
TransferType | tt | ||
) | const |
Definition at line 45 of file uc_outgoing_transfer_registry.cpp.
|
private |
Definition at line 112 of file outgoing_transfer_registry.hpp.
|
static |
Definition at line 115 of file outgoing_transfer_registry.hpp.