Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berry::IApplicationContext Struct Referenceabstract

#include <berryIApplicationContext.h>

Public Member Functions

virtual ~IApplicationContext ()
 
virtual QHash< QString, QVariant > GetArguments () const =0
 
virtual void ApplicationRunning ()=0
 

Static Public Attributes

static const QString APPLICATION_ARGS
 
static const QString APPLICATION_ARGS_UNPROCESSED
 

Detailed Description

The context used to start an application.

This interface is not intended to be implemented by clients.

Note
This interface is not intended to be extended by clients.

Definition at line 31 of file berryIApplicationContext.h.

Constructor & Destructor Documentation

◆ ~IApplicationContext()

virtual berry::IApplicationContext::~IApplicationContext ( )
virtual

Member Function Documentation

◆ ApplicationRunning()

virtual void berry::IApplicationContext::ApplicationRunning ( )
pure virtual

This method should be called once the application is completely initialized and running. This method will perform certain operations that are needed once an application is running. One example is bringing down a splash screen if it exists.

◆ GetArguments()

virtual QHash<QString, QVariant> berry::IApplicationContext::GetArguments ( ) const
pure virtual

The arguments used for the application. The arguments from QObject::dynamicPropertyNames() of a QObject service object registered under the interface "org.blueberry.core.runtime.AppDescriptor" are used as the arguments for this context when an application is launched.

Returns
a map of application arguments.

Member Data Documentation

◆ APPLICATION_ARGS

const QString berry::IApplicationContext::APPLICATION_ARGS
static

A key used to store arguments for the application. The content of this argument is unchecked and should conform to the expectations of the application being invoked. Typically this is a QStringList.

If the properties used to launch an application do not contain a value for this key then command line arguments used to launch the platform are set in the arguments of the application context.

Definition at line 46 of file berryIApplicationContext.h.

◆ APPLICATION_ARGS_UNPROCESSED

const QString berry::IApplicationContext::APPLICATION_ARGS_UNPROCESSED
static

A key used to store unprocessed arguments for the application. This is a QStringList.

If the properties used to launch an application do not contain a value for this key then command line arguments used to launch the platform are set in the unprocessed arguments of the application context.

Definition at line 57 of file berryIApplicationContext.h.


The documentation for this struct was generated from the following file: