Control engine start, loop, and end in my own C++

I am working on a game that needs integrating some 3rd party C++ SDK’s into the project. Indeed, I need my game to start from my own C++ main entry function and do the following works:

a. call a Start function to initialize Unreal engine.
b. In my own game loop, call Update and Render functions to notify Unreal engine to refresh a frame (Unreal does not do any frame update internally)
c. Call an End function to uninitialize Unreal and quit the game.

Please let me know if it is possible to do this, or give me any idea that I can get this work done.

Thanks a lot,

Look in UGameEngine – it’s probably what you are looking for.