mirror of
https://github.com/BotChain-Robots/control.git
synced 2026-03-10 00:32:26 +01:00
Prepare files for public release
This commit is contained in:
14
include/ModuleFactory.h
Normal file
14
include/ModuleFactory.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef CONTROL_MODULEFACTORY_H
|
||||
#define CONTROL_MODULEFACTORY_H
|
||||
|
||||
#include "Module.h"
|
||||
#include "flatbuffers_generated/RobotModule_generated.h"
|
||||
|
||||
class ModuleFactory {
|
||||
public:
|
||||
static std::shared_ptr<Module>
|
||||
createModule(uint8_t device_id, ModuleType type,
|
||||
std::shared_ptr<MessagingInterface> &messaging_interface);
|
||||
};
|
||||
|
||||
#endif // CONTROL_MODULEFACTORY_H
|
||||
Reference in New Issue
Block a user