PLCnext API Documentation 25.0.2.69
|
This central singleton class provides access to main functionality. More...
#include <AppDomain.hpp>
Public Types | |
using | Instance = AppDomain |
Public Member Functions | |
AppDomain (const AppDomain &arg)=delete | |
AppDomain (AppDomain &&arg)=delete | |
AppDomain & | operator= (const AppDomain &arg)=delete |
AppDomain & | operator= (AppDomain &&arg)=delete |
~AppDomain (void) | |
Default destructor. | |
Application & | GetApplication (void) |
Gets the Acf application object. More... | |
Impl & | GetImpl (void) |
For internal use only. | |
const Impl & | GetImpl (void) const |
Static Public Member Functions | |
static void | CreateInstance (ApplicationPtr applicationPtr) |
Creates this singleton instance. | |
static bool | IsCreated (void) |
Determines if this singleton instance is created yet. More... | |
static void | DisposeInstance (void) |
Disposes this singleton instance. More... | |
static Instance & | GetInstance (void) |
Gets a reference of the singleton instance. More... | |
static Instance & | GetCurrent (void) |
Gets the singleton instance of this class. More... | |
static void | Assign (AppDomain &other) |
DEPRECATED. More... | |
Friends | |
class | Impl |
This central singleton class provides access to main functionality.
The singleton instance of this class might be obtained from anywhere in the code by design. The following interfaces are accessible:
|
static |
DEPRECATED.
This operation is DEPRECATED and not required any more.
|
static |
Disposes this singleton instance.
Deletes the singleton instance pointer.
AppDomain::Application & Arp::Base::Core::AppDomain::GetApplication | ( | void | ) |
Gets the Acf application object.
|
static |
Gets the singleton instance of this class.
This operation is DEPRECATED, use GetInstance instead.
|
static |
Gets a reference of the singleton instance.
Exception | If this singleton instance was not created yet. |
|
static |
Determines if this singleton instance is created yet.
true
if this singleton was created yet, otherwise false
.