8#include "Arp/Base/Core/TypeName.hxx"
9#include "Arp/Base/Core/Exception.hpp"
10#include "Arp/Base/Core/Detail/AppDomainSingletonBase.hpp"
11namespace Arp {
namespace Base {
namespace Core
21template<
class Derived>
22class ARP_DEPRECATED("Do not use this class any more, use global singleton pattern instead") AppDomainSingleton :
protected AppDomainSingletonBase
27 ARP_DEPRECATED_IGNORE_BEGIN
28 using SingletonBase = AppDomainSingleton<Derived>;
29 ARP_DEPRECATED_IGNORE_END
32 using Base = AppDomainSingletonBase;
35 AppDomainSingleton(
void);
38 template<
class T =
Instance,
class ...Args>
39 static Instance & CreateInstance(Args && ... args);
40 static bool IsCreated(
void);
42 static void DisposeInstance(
void);
44 ARP_DEPRECATED(
"Do not use this operation any more, use GetInstance() instead.")
45 static Instance* GetInstancePtr(
void);
48 static Derived* GetInstancePtrFromAppDomain(
void);
56ARP_DEPRECATED_IGNORE_BEGIN
59using Arp::Base::Core::AppDomainSingleton;
61ARP_DEPRECATED_IGNORE_END
63#include "Arp/Base/Core/Detail/AppDomainSingleton.ipp"
Root namespace for the PLCnext API
class ARP_DEPRECATED("Use Arp::Enum<T> instead.") EnumStrings
Deprecated! The class implements an adapter for enums to define the string literals of the enum entri...
Definition: EnumStrings.hxx:38