In order to mark #4 task 1 completed the following tasks need to be done:
[x] detailed planning for module loading mechanism
[x] move command struct definition from command_parser.cpp to new ./app/metaheaders/commstruct.h
[x] create a new metaheader for commands
[x] new command data structure (2d array of commands), add to main.cpp
[x] move main module comms array from command_parser.cpp to new .app/modules/main/commands.cpp
[x] modify parser() function from command_parser.cpp to work with new headers and data structures
- :ballot_box_with_check: new command data structure (task 2) as an input for parser()
- :ballot_box_with_check: command validation to loop through arrays pointed to by new command data structure
[x] pass commands through to commands.cpp files of different modules using command ids, an id based decision maker, and namespaces
[x] new ./app/modules/main/module_loader.cpp for functions that link comms arrays from different modules to the new command data structure (task 2)
[x] module loader should output error if trying to load module that doesn't exist
[x] setup test module with commands.cpp and commands.h
More details can be found at ./planning/module_loader_plan.txt
In order to mark #4 task 1 completed the following tasks need to be done:
More details can be found at ./planning/module_loader_plan.txt