| #include <memory> |
| |
| #include "absl/status/statusor.h" |
| #include "tlbmc/collector/bulk_sensor_collector_base.h" |
| #include "tlbmc/configs/entity_config.h" |
| |
| namespace ecclesia { |
| class ThreadFactoryInterface; |
| class Clock; |
| } // namespace ecclesia |
| |
| namespace milotic_tlbmc { |
| |
| [[gnu::weak]] absl::StatusOr<std::shared_ptr<BulkSensorCollectorBase>> |
| CreateBulkSensorCollector(const EntityConfig& entity_config, |
| ecclesia::ThreadFactoryInterface* thread_factory, |
| const ecclesia::Clock* clock) { |
| // Default implementation returns nullptr. When a specialized |
| // BulkSensorCollector is needed for a platform, it should override this weak |
| // function. |
| return nullptr; |
| } |
| |
| } // namespace milotic_tlbmc |