Startup

namespace Startup

The startup component provides the initialization and main function entry point for the application.

The compilation of the main entry point can be disabled with the DISABLE_MAIN compile time definition, this allows for implementation of use cases with external main loops, such as with the test suites.

Utils::Error::ID App::Startup::main(void)

The implementation of the main function as a function in a C++ namespace.

Returns:

Identifier for the error.

int main(int argc, char **argv)

Main free function and entry point.

Note

Use DISABLE_MAIN to disable the compilation of this function, and have an external main loop instead.

Parameters:
  • argc[in] The number of command line arguments.

  • argv[in] The command line arguments.

Returns:

Identifier for the error.