8#include "Arp/System/Rsc/Services/IRscServiceFactory.hpp"
11namespace Arp {
namespace System {
namespace Acf
16namespace Arp {
namespace System {
namespace Rsc {
namespace Services
25template<
class TDerived>
26class RscComponentServiceFactoryBase :
public IRscServiceFactory
29 typedef RscComponentServiceFactoryBase<TDerived> Base;
33 RscComponentServiceFactoryBase(
IComponent& component);
35 virtual ~RscComponentServiceFactoryBase(
void) =
default;
38 bool IsSecure(
void)
const override;
39 const String& GetServiceProviderName(
void)
const override;
50template<
class TDerived>
51inline RscComponentServiceFactoryBase<TDerived>::RscComponentServiceFactoryBase(
IComponent& componentArg)
52 : component(componentArg)
56template<
class TDerived>
57inline bool RscComponentServiceFactoryBase<TDerived>::IsSecure()
const
62template<
class TDerived>
63inline const String& RscComponentServiceFactoryBase<TDerived>::GetServiceProviderName()
const
68template<
class TDerived>
69inline IRscServiceFactory* RscComponentServiceFactoryBase<TDerived>::Create(
IComponent& component)
71 return new TDerived(component);
This is the most important basic interface of the Arp platform. Any component shall implement this in...
Definition: IComponent.hpp:81
This is the namespace of the Application Component Framework.
Definition: ComponentBase.hpp:13
@ System
System components used by the System, Device, Plc or Io domains.
@ Create
Creates a new file. If the file already exists, it is overwritten.
Root namespace for the PLCnext API