Skip to content
Snippets Groups Projects
Commit 42ea9268 authored by Grigoris Pavlakis's avatar Grigoris Pavlakis Committed by kongr45gpen
Browse files

Doxygenate the examples for include() usage

parent 672fd883
No related branches found
No related tags found
No related merge requests found
#include "Services/FunctionManagementService.hpp" #include "Services/FunctionManagementService.hpp"
#ifdef TESTMODE /**
//void foo(String<MAXARGLENGTH> b) { * Usage of the include() function:
// std::cout << "SPAAAACE!" << std::endl; *
//} * void foo(String<MAXARGLENGTH> b) {
// * std::cout << "SPAAAACE!" << std::endl;
//void bar(String<MAXARGLENGTH> b) { * }
// std::cout << "I HAZ A CUBESAT THAT SNAPS PIX!" << std::endl; *
//} * void bar(String<MAXARGLENGTH> b) {
// * std::cout << "I HAZ A CUBESAT THAT SNAPS PIX!" << std::endl;
//void baz(String<MAXARGLENGTH> b) { * }
// std::cout << "QWERTYUIOP" << std::endl; *
//} * void baz(String<MAXARGLENGTH> b) {
// * std::cout << "QWERTYUIOP" << std::endl;
//void dummy1(const String<MAXARGLENGTH> a) { * }
// std::cout << a.c_str() << std::endl; *
//} * FunctionManagementService::FunctionManagementService() {
// * include(String<FUNCNAMELENGTH>("foo"), &foo);
//FunctionManagementService::FunctionManagementService() { * include(String<FUNCNAMELENGTH>("bar"), &bar);
// // Sample inclusion of functions in the pointer map. * include(String<FUNCNAMELENGTH>("baz"), &baz);
// include(String<FUNCNAMELENGTH>("dummy1"), &dummy1); * }
// include(String<FUNCNAMELENGTH>("foo"), &foo); */
// include(String<FUNCNAMELENGTH>("bar"), &bar);
// include(String<FUNCNAMELENGTH>("baz"), &baz); /*
// // All the functions that should be included in the pointer map at initialization shall be here. * FunctionManagementService::FunctionManagementService() {
//} * All the functions that should be included in the pointer map at initialization shall be here.
#else * and included as in the examples above.
FunctionManagementService::FunctionManagementService() { *
// INSERT YOUR OWN FUNCTIONS HERE AS ABOVE! * }
} */
#endif
int FunctionManagementService::call(Message msg){ int FunctionManagementService::call(Message msg){
assert(msg.messageType == 1); assert(msg.messageType == 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment