NvAppBase.h File Reference
Application framework base class. More...
#include <NvFoundation.h>
#include <string>
#include "NvGLAppContext.h"
#include "NvPlatformContext.h"
#include "NvGamepad/NvGamepad.h"
Go to the source code of this file.
Classes | |
class | NvAppBase |
A basic app framework, including mainloop, setup and input processing. More... | |
Functions | |
NvAppBase * | NvAppFactory (NvPlatformContext *platform) |
App creation entrypoint. |
Detailed Description
Application framework base class.
Function Documentation
NvAppBase* NvAppFactory | ( | NvPlatformContext * | platform | ) |
App creation entrypoint.
App must define this and have it return an instance of their class
- Parameters:
-
[in] platform the platform context to be used in the NvAppBase constructor call
- Returns:
- an instance of the application's own subclass.