|
PLCnext API Documentation 25.0.2.69
|
Base class for for Rsc service stub implementations. More...
#include <RscServiceStubBase.hxx>

Public Member Functions | |
| RscServiceStubBase (ServiceImplPtr serviceImplPtr) | |
| Constructs a RscServiceStubBase instance. More... | |
| ServiceImplType & | GetServiceImpl (void) const |
| Gets the service implementation instance. More... | |
| virtual void | Invoke (SerializationContext &context)=0 |
| Invokes a service operation polymorphic. More... | |
Public Member Functions inherited from Arp::Base::Rsc::Commons::Services::IRscServiceStub | |
| IRscServiceStub (void)=default | |
| The default constructor. | |
| IRscServiceStub (const IRscServiceStub &arg)=delete | |
| The deleted copy constructor. | |
| IRscServiceStub (IRscServiceStub &&arg) noexcept=default | |
| The default move constructor. More... | |
| IRscServiceStub & | operator= (const IRscServiceStub &arg)=delete |
| The deleted assignment operator. | |
| IRscServiceStub & | operator= (IRscServiceStub &&arg) noexcept=default |
| The default move-assignment operator. More... | |
| virtual | ~IRscServiceStub (void)=default |
| Destructs this instance and frees all resources. | |
| virtual void | Invoke (SerializationContext &context)=0 |
| Invokes a service operation polymorphic. More... | |
Protected Types | |
| using | ServiceImplType = T |
| The type of the service implementation (e.g. DemoServiceImpl) | |
| using | ServiceImplPtr = std::shared_ptr< ServiceImplType > |
| The type of the service implementation pointer. | |
Additional Inherited Members | |
Public Types inherited from Arp::Base::Rsc::Commons::Services::IRscServiceStub | |
| using | Ptr = std::shared_ptr< IRscServiceStub > |
| The shared pointer type of this type. | |
Base class for for Rsc service stub implementations.
| T | The service implementation type. |
This class is not intended for direct use, but required by RscGenerator to implement services.
|
inlineexplicit |
Constructs a RscServiceStubBase instance.
| serviceImplPtr | The adapted service implementation instance. |
| T | The service implementation type. |
|
inline |
Gets the service implementation instance.
| T | The service implementation type. |
|
pure virtual |
Invokes a service operation polymorphic.
| context | The serialization context. |
Implements Arp::Base::Rsc::Commons::Services::IRscServiceStub.