|
PLCnext API Documentation 25.0.2.69
|
Base class for RSC service proxies. More...
#include <RscServiceProxyBase.hxx>

Public Member Functions | |
| RscServiceProxyBase (RscHandle providerHandle, RscHandle serviceHandle, RscClient &rscClient) | |
| Constructs a RscServiceProxyBase instance. More... | |
| RscClient & | GetRscClient (void) const |
| Gets the RscClient to be used for remote or ipc communication. More... | |
| String | GetServiceName (void) const override |
| Gets the service name of this proxy. More... | |
| String | GetServiceProviderName (void) const override |
| Gets the service provider name of this proxy. More... | |
| RscHandle | GetServiceHandle (void) override |
| Gets the service handle. More... | |
| RscHandle | GetServiceProviderHandle (void) override |
| Gets the service provider handle. More... | |
| void | ReadServiceHandles (void) override |
| Updates the service handle of the remote service instance. More... | |
Public Member Functions inherited from Arp::Base::Rsc::Commons::Services::IRscServiceProxy | |
| IRscServiceProxy (void)=default | |
| The default constructor. | |
| IRscServiceProxy (const IRscServiceProxy &arg)=delete | |
| The deleted copy constructor. | |
| IRscServiceProxy (IRscServiceProxy &&arg) noexcept=default | |
| The default move constructor. More... | |
| IRscServiceProxy & | operator= (const IRscServiceProxy &)=delete |
| The deleted assignment operator. | |
| IRscServiceProxy & | operator= (IRscServiceProxy &&arg) noexcept=default |
| The default move-assignment operator. More... | |
| virtual | ~IRscServiceProxy (void)=default |
| Destructs this instance and frees all resources. | |
| virtual RscClient & | GetRscClient (void) const =0 |
| Gets the RscClient of this proxy. More... | |
| virtual String | GetServiceName (void) const =0 |
| Gets the service name of this proxy. More... | |
| virtual String | GetServiceProviderName (void) const =0 |
| Gets the service provider name of this proxy. More... | |
| virtual RscHandle | GetServiceHandle (void)=0 |
| Gets the service handle of the remote service instance. More... | |
| virtual RscHandle | GetServiceProviderHandle (void)=0 |
| Gets the service handle of the remote service-provider instance. More... | |
| virtual void | ReadServiceHandles (void)=0 |
| Updates the service handle of the remote service instance. More... | |
Public Member Functions inherited from Arp::Base::Rsc::Commons::IRscService | |
| IRscService (void)=default | |
| The default constructor. | |
| IRscService (const IRscService &arg)=delete | |
| The deleted copy constructor. More... | |
| IRscService (IRscService &&arg) noexcept=default | |
| The default move constructor. More... | |
| IRscService & | operator= (const IRscService &arg)=delete |
| The deleted assignment operator. More... | |
| IRscService & | operator= (IRscService &&arg) noexcept=default |
| The default move-assignment operator. More... | |
| virtual | ~IRscService (void)=default |
| Destructs this instance and frees all resources. | |
Protected Types | |
| using | ServiceType = T |
| The service interface type (e.g. IDemoService) | |
Additional Inherited Members | |
Public Types inherited from Arp::Base::Rsc::Commons::Services::IRscServiceProxy | |
| using | Ptr = std::shared_ptr< IRscServiceProxy > |
| The pointer type of this type. | |
Public Types inherited from Arp::Base::Rsc::Commons::IRscService | |
| using | Ptr = std::shared_ptr< IRscService > |
| The shared_ptr type of IRscService. | |
Static Public Member Functions inherited from Arp::Base::Rsc::Commons::IRscService | |
| static IRscServiceProxyFactory & | GetProxyFactory (void) |
| Returns a reference to service proxy factory to create a proxy instance of this service. More... | |
Base class for RSC service proxies.
| T | The service proxy type. |
This class is not intended for direct use, but required by RscGenerator to implement services.
|
inline |
Constructs a RscServiceProxyBase instance.
| providerHandle | The service provider handle. |
| serviceHandle | The service handle. |
| rscClient | The RscClient to be used for remote or ipc communication. |
| T | The type of the RSC service interface. |
|
inlinevirtual |
Gets the RscClient to be used for remote or ipc communication.
| T | The service interface type. |
Implements Arp::Base::Rsc::Commons::Services::IRscServiceProxy.
|
inlineoverridevirtual |
Gets the service handle.
| T | The service interface type. |
Implements Arp::Base::Rsc::Commons::Services::IRscServiceProxy.
|
overridevirtual |
Gets the service name of this proxy.
Implements Arp::Base::Rsc::Commons::Services::IRscServiceProxy.
|
inlineoverridevirtual |
Gets the service provider handle.
| T | The service interface type. |
Implements Arp::Base::Rsc::Commons::Services::IRscServiceProxy.
|
overridevirtual |
Gets the service provider name of this proxy.
Implements Arp::Base::Rsc::Commons::Services::IRscServiceProxy.
|
inlineoverridevirtual |
Updates the service handle of the remote service instance.
Implements Arp::Base::Rsc::Commons::Services::IRscServiceProxy.