8 #include "fwGui/Application.hpp" 17 ::fwGui::GuiBaseObject::sptr guiObj = ::fwGui::factory::New(IApplication::REGISTRY_KEY);
18 static Application::sptr app = ::fwGui::Application::dynamicCast(guiObj);
19 SLM_ASSERT(
"no implementation of " << ::fwGui::IApplication::REGISTRY_KEY, app );
The namespace fwGui contains the base interface for IHM services.
static FWGUI_API Application::sptr factory()
Application factory, returning the registered instance of Application. Manage a Singleton.
#define SLM_ASSERT(message, cond)
work like 'assert' from 'cassert', with in addition a message logged by spylog (with FATAL loglevel) ...