Skip to main content
Skip table of contents

Function of Framework Module

Function in User.cpp

Function name

Description

StartService()

When framework module is loaded, this function will be called.

  • You can’t do things that take longer more than 2s in this function.

RunningService()

After framework module is loaded, this function called every 1ms.

StopService()

When framework module is unloaded, this function will be called.

  • You can’t do things that take longer more than 2s in this function.

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.