| 2 | #include "StratusLog.h" |
| 3 | |
| 4 | class ExampleApp : public stratus::Application { |
| 5 | public: |
| 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 | |
| 26 | STRATUS_ENTRY_POINT(ExampleApp) |
nothing calls this directly
no outgoing calls
no test coverage detected