System.h File Reference
Go to the source code of this file.
Define Documentation
Value: private: \ static implementationName* Create##implementationName##Instance() \ { \ return new implementationName; \ } \ public: \ static void Register() \ { \ Engine::GetInstance()->RegisterSystem( \ #implementationName, \ (void*)Create##implementationName##Instance); \ }
Value: inline className* GetInstance_##className(bool assertExists = true) \ { \ static className* instance=0; \ if (instance) \ { \ return instance; \ } \ \ if (!assertExists && !Engine::GetInstance()->IsSystemPresent(#className)) \ { \ return 0; \ } \ \ instance=(className*)Engine::GetInstance()->GetSystem(#className); \ return instance; \ } \
| |||||||||||||||||||||||||





