Create a standalone app instance for testing - AWS SimSpace Weaver

Create a standalone app instance for testing

You can use Api::CreateStandaloneApplication() to create a standalone app to test app logic before running the code in an actual simulation.

Example
int main(int argc, char* argv[]) { Api::StandaloneRuntimeConfig config = { /* run_for_seconds (the lifetime of the app) */ 3, /* tick_hertz (the app clock rate) */ 10 }; Result<Application> applicationResult = Api::CreateStandaloneApplication(config); ... }