Function of Framework Module
Function in User.cpp
Function name | Description |
---|---|
| When framework module is loaded, this function will be called.
|
| After framework module is loaded, this function called every 1ms. |
| When framework module is unloaded, this function will be called.
|
Restrictions
New file
You have to create new cpp,h file in below location. This location is defined in makefile.
h file :
include\
cpp file :
src\
You can modified makefile to set your own location.
Modify function
You can create and use new object and functions.
You can modified
/* user code */
part in previously defined function.You can’t modified main.cpp. If you modified it, framework module can’t be loaded.
Thread and process
You can create thread.
You can’t create new process. If you want to use multiple process, you have to develop several framework modules.
1 module = 1 process