A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/framework__app_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/framework/demo/framework_app.cpp Source File

76

DECLARE_APP(ncbi::CFrameworkDemoApp)

77

IMPLEMENT_APP_NO_MAIN(ncbi::CFrameworkDemoApp)

78

IMPLEMENT_WX_THEME_SUPPORT

88  static int

kMaxToolThreads = 3;

89  static int

kMaxToolJobs = 100;

98  LOG_POST

(

Info

<<

"CFrameworkDemoApp::x_CreateGUI() BEGIN"

);

113  LOG_POST

(

Info

<<

"CFrameworkDemoApp::x_CreateGUI() END"

);

121  LOG_POST

(

Info

<<

"CFrameworkDemoApp::x_DestroyGUI() BEGIN"

);

128  LOG_POST

(

Info

<<

"CFrameworkDemoApp::x_DestroyGUI() END"

);

160

ncbi::CNCBIwxApplication ncbi_app(

"wxWidgets demo App"

);

163  return

ncbi_app.AppMain(argc, argv);

CAppTaskService - Application Task Service.

Derive our application class from CwxNCBIApp and use it together with standard CNCBIwxApplication.

virtual bool x_CreateGUI()

create main application window and initialize associated objects return true if successful

unique_ptr< CWorkbench > m_Workbench

virtual void x_InitAppJobDispatcher()

override this function to configure / register engines

virtual bool x_OnIdle()

called from OnIdle() and can be overridden in derived classes returns true if something was done

virtual void x_DestroyGUI()

destroy application GUI objects

virtual wxString x_GetGuiRegistryPath()

virtual void SetWorkbench(IWorkbench *workbench)

virtual void RestoreWindowLayout()

virtual void SetRegistryPath(const string &path)

static wxString ResolvePath(const wxString &path, const wxString &rel_name)

Utility function to hide the platform specifics of locating our standard directories and files.

CWorkbench - default implementation of IWorkbench.

CwxNCBIApp - this class should be used in NCBI applications instead of wxApp it provides polling supp...

virtual void x_InitAppJobDispatcher()

override this function to configure / register engines

virtual bool x_OnIdle()

called from OnIdle() and can be overridden in derived classes returns true if something was done

int NcbiSys_main(int argc, ncbi::TXChar *argv[])

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

void Info(CExceptionArgs_Base &args)

bool IdleCallback()

This function shall be called in the the application idle function, it polls the Task Queue and execu...

static CAppJobDispatcher & GetInstance()

bool RegisterEngine(const string &name, IAppJobEngine &engine)

Registers a new Engine, returns true if successful.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4