BCNP 3.2.1
Batched Command Network Protocol
Loading...
Searching...
No Matches
telemetry_accumulator.h File Reference
#include "bcnp/packet.h"
#include "bcnp/packet_storage.h"
#include "bcnp/static_vector.h"
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <mutex>
#include <vector>
Include dependency graph for telemetry_accumulator.h:

Go to the source code of this file.

Classes

struct  bcnp::TelemetryAccumulatorConfig
 Configuration for telemetry accumulator. More...
 
class  bcnp::TelemetryAccumulator< MsgType, Storage >
 Accumulates high-frequency telemetry data and batches into packets. More...
 
struct  bcnp::TelemetryAccumulator< MsgType, Storage >::Metrics
 Metrics for diagnostics. More...
 

Namespaces

namespace  bcnp
 

Typedefs

template<typename MsgType >
using bcnp::DynamicTelemetryAccumulator = TelemetryAccumulator<MsgType, std::vector<MsgType>>
 Convenience alias for heap-allocated accumulator (large batches).
 
template<typename MsgType , std::size_t Capacity = 64>
using bcnp::StaticTelemetryAccumulator = TelemetryAccumulator<MsgType, StaticVector<MsgType, Capacity>>
 Convenience alias for stack-allocated accumulator (real-time, default).