|
Container System 0.1.0
High-performance C++20 type-safe container framework with SIMD-accelerated serialization
|
IoT Data Collection System. More...

Classes | |
| struct | SensorReading |
Public Member Functions | |
| void | simulate_iot_scenario () |
Private Member Functions | |
| void | send_iot_batch (const std::vector< SensorReading > &batch) |
Private Attributes | |
| std::atomic< int > | readings_collected_ {0} |
| std::atomic< int > | batches_sent_ {0} |
IoT Data Collection System.
Simulates collecting sensor data from multiple IoT devices, aggregating them, and sending to a central processing system.
Definition at line 52 of file real_world_scenarios.cpp.
|
inlineprivate |
Definition at line 154 of file real_world_scenarios.cpp.
Referenced by simulate_iot_scenario().

|
inline |
Definition at line 65 of file real_world_scenarios.cpp.
References batches_sent_, scenarios::IoTDataCollectionSystem::SensorReading::device_id, readings_collected_, send_iot_batch(), scenarios::IoTDataCollectionSystem::SensorReading::sensor_type, scenarios::IoTDataCollectionSystem::SensorReading::timestamp, and scenarios::IoTDataCollectionSystem::SensorReading::value.
Referenced by main().


|
private |
Definition at line 62 of file real_world_scenarios.cpp.
Referenced by simulate_iot_scenario().
|
private |
Definition at line 61 of file real_world_scenarios.cpp.
Referenced by simulate_iot_scenario().