Files
firmware/main/include/control/SensorFactory.h

17 lines
319 B
C++

//
// Created by Johnathon Slightham on 2025-10-16.
//
#ifndef SENSORFACTORY_H
#define SENSORFACTORY_H
#include "flatbuffers_generated/RobotModule_generated.h"
#include "control/ISensor.h"
class SensorFactory {
public:
static std::unique_ptr<ISensor> create_sensor(ModuleType type);
};
#endif //SENSORFACTORY_H