Loading...
Searching...
No Matches
Application Class Referencefinal

Application. More...

Inheritance diagram for Application:
score::GUIApplicationInterface score::ApplicationInterface

Detailed Description

Application.

This class is the main object in score. It is the parent of every other object created. It does instantiate the rest of the software (MVP, settings, plugins).

Public Member Functions

 Application (int &argc, char **argv)
 
 Application (const score::ApplicationSettings &appSettings, int &argc, char **argv)
 
 Application (const Application &)=delete
 
Application & operator= (const Application &)=delete
 
int exec ()
 
const score::GUIApplicationContext & context () const override
 
const score::ApplicationComponents & components () const override
 
void init ()
 
void showStartScreen () override
 Implemented by the application that owns one; a no-op otherwise.
 
- Public Member Functions inherited from score::GUIApplicationInterface
void loadPluginData (score::Settings &settings, score::Presenter &presenter)
 loadPluginData Utility method to load the minimal required data for plug-ins.
 
void registerPlugin (score::Plugin_QtInterface &)
 
void requestExit ()
 
void forceExit ()
 
 ApplicationInterface ()
 

Public Attributes

score::ApplicationSettings appSettings
 

Friends

class ChildEventFilter
 

Additional Inherited Members

- Static Public Member Functions inherited from score::GUIApplicationInterface
static GUIApplicationInterface & instance ()
 
- Static Public Member Functions inherited from score::ApplicationInterface
static ApplicationInterface & instance ()
 
static bool hasInstance () noexcept
 Whether instance() has anything to return.
 
- Static Protected Attributes inherited from score::ApplicationInterface
static ApplicationInterface * m_instance
 

Member Function Documentation

◆ components()

const score::ApplicationComponents & Application::components ( ) const
overridevirtual

◆ context()

const score::GUIApplicationContext & Application::context ( ) const
overridevirtual

◆ showStartScreen()

void Application::showStartScreen ( )
overridevirtual

Implemented by the application that owns one; a no-op otherwise.

Reimplemented from score::GUIApplicationInterface.


The documentation for this class was generated from the following files: