MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / Create

Method Create

Source/SysPSP/Input/InputManagerPSP.cpp:437–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435//
436//*****************************************************************************
437template<> bool CSingleton< CInputManager >::Create()
438{
439 #ifdef DAEDALUS_ENABLE_ASSERTS
440 DAEDALUS_ASSERT_Q(mpInstance == NULL);
441 #endif
442
443 IInputManager * manager( new IInputManager() );
444
445 if(manager->Initialise())
446 {
447 mpInstance = manager;
448 return true;
449 }
450
451 delete manager;
452 return false;
453}
454
455//*****************************************************************************
456// Some utility classes for handling our expression evaluation

Callers

nothing calls this directly

Calls 1

InitialiseMethod · 0.45

Tested by

no test coverage detected