BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Distributor.h
1 #pragma once
2 
3 #include <Poco/SharedPtr.h>
4 
5 namespace BeeeOn {
6 
7 class SensorData;
8 
9 /*
10  * Distributor distributes data to registered Exporters.
11  */
12 class Distributor {
13 public:
14  typedef Poco::SharedPtr<Distributor> Ptr;
15 
16  virtual ~Distributor();
17 
18  /*
19  * Export data to all registered exporters.
20  */
21  virtual void exportData(const SensorData &sensorData) = 0;
22 };
23 
24 }
Definition: SensorData.h:20
Definition: Distributor.h:12