MCPcopy Create free account
hub / github.com/KTStephano/StratusGFX / ExampleApp

Class ExampleApp

Examples/ExampleEnv00/ExampleApp.cpp:4–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include "StratusLog.h"
3
4class ExampleApp : public stratus::Application {
5public:
6 virtual ~ExampleApp() = default;
7
8 const char * GetAppName() const override {
9 return "ExampleApp00";
10 }
11
12 virtual bool Initialize() override {
13 return true; // success
14 }
15
16 virtual stratus::SystemStatus Update(const double deltaSeconds) override {
17 STRATUS_LOG << "Successfully entered ExampleApp::Update! Delta seconds = " << deltaSeconds << std::endl;
18 return stratus::SystemStatus::SYSTEM_SHUTDOWN;
19 }
20
21 virtual void Shutdown() override {
22 STRATUS_LOG << "Successfully entered ExampleApp::ShutDown()" << std::endl;
23 }
24};
25
26STRATUS_ENTRY_POINT(ExampleApp)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected