PLCnext API Documentation 25.0.2.69
|
Base class for Rsc component service factories. More...
#include <RscComponentServiceFactoryBase.hxx>
Public Member Functions | |
RscComponentServiceFactoryBase (IComponent &component) | |
Constructs this factory. More... | |
bool | IsSecure (void) const override |
Determines if security is enabled for this service type. More... | |
String | GetServiceProviderName (void) const override |
Gets the service provider name of this factory, which is the component name. More... | |
![]() | |
IRscServiceFactory (void)=default | |
The default constructor. | |
IRscServiceFactory (const IRscServiceFactory &arg)=delete | |
The deleted copy constructor. | |
IRscServiceFactory (IRscServiceFactory &&arg) noexcept=default | |
The default move constructor. More... | |
IRscServiceFactory & | operator= (const IRscServiceFactory &)=delete |
The deleted assignment operator. | |
IRscServiceFactory & | operator= (IRscServiceFactory &&arg) noexcept=default |
The default move-assignment operator. More... | |
virtual | ~IRscServiceFactory (void)=default |
Destructs this instance and frees all resources. | |
virtual bool | IsSecure (void) const =0 |
Determines if the services of this factory shall be authorized by security. More... | |
virtual String | GetServiceProviderName (void) const =0 |
Gets the service-provider name of the services created by this factory. More... | |
virtual IRscService::Ptr | CreateServiceImpl (const char *providerName, IRscAuthorizator *pAuthorizator)=0 |
Creates a service implementation instance. More... | |
virtual IRscServiceStub::Ptr | CreateServiceStub (SerializationKind kind, IRscService::Ptr pService)=0 |
This operation creates a service stub of various serialization kinds, e.g. SerializationKind::Rsc or SerializationKind::JRsc. More... | |
Static Public Member Functions | |
static IRscServiceFactory * | Create (IComponent &component) |
Creates a new instance of this factory. More... | |
Protected Attributes | |
IComponent & | component |
The component instance which is controlled by the RSC service. | |
Additional Inherited Members | |
![]() | |
using | Ptr = std::shared_ptr< IRscServiceFactory > |
The shared_tr type of this type. | |
Base class for Rsc component service factories.
This class is not intended for direct use, but required by RscGenerator to implement services. For internal use only.
|
inlineexplicit |
Constructs this factory.
TDerived | The super type implementing this factory. |
component | The component of this factory. |
|
inlinestatic |
Creates a new instance of this factory.
TDerived | The super type implementing this factory. |
component | The component of this factory. |
|
inlineoverridevirtual |
Gets the service provider name of this factory, which is the component name.
TDerived | The super type implementing this factory. |
Implements Arp::Base::Rsc::Commons::Services::IRscServiceFactory.
|
inlineoverridevirtual |
Determines if security is enabled for this service type.
TDerived | The super type implementing this factory. |
true
if security is enabled for this service type, otherwise false
.Implements Arp::Base::Rsc::Commons::Services::IRscServiceFactory.