|
PLCnext API Documentation 26.0.1.58
|
This class is used for adressing RSC service instances remotely. More...
#include <RscServiceHandle.hpp>
Public Member Functions | |
| RscServiceHandle (void) | |
| The default constructor creates an empty RscServiceHandle. | |
| RscServiceHandle (RscHandle serviceProviderHandle, RscHandle serviceHandle) | |
| Constructs a RscServiceHandle instance. More... | |
| RscServiceHandle (const RscServiceHandle &arg) | |
| The default copy constructor. More... | |
| RscServiceHandle (RscServiceHandle &&arg) noexcept | |
| The default move constructor. More... | |
| RscServiceHandle & | operator= (const RscServiceHandle &arg) |
| The default copy-assignment operator. More... | |
| RscServiceHandle & | operator= (RscServiceHandle &&arg) noexcept |
| The default move-assignment operator. More... | |
| ~RscServiceHandle (void) | |
| The default destructor. | |
| void | SetServiceHandle (RscHandle value) |
| Sets the service handle of this RscServiceHandle. More... | |
| RscHandle | GetServiceHandle (void) const |
| Gets the service handle of this RscServiceHandle. More... | |
| void | SetServiceProviderHandle (RscHandle value) |
| Sets the service provider handle of this RscServiceHandle. More... | |
| RscHandle | GetServiceProviderHandle (void) const |
| Gets the service provider handle of this RscServiceHandle. More... | |
| size_t | GetHashValue (void) const |
| Gets the hash value of this instance. More... | |
| Impl & | GetImpl (void) |
| For internal use only. More... | |
| const Impl & | GetImpl (void) const |
Friends | |
| bool | operator== (const RscServiceHandle &lhs, const RscServiceHandle &rhs) |
| The equality operator compares the arguments. More... | |
This class is used for adressing RSC service instances remotely.
This class is used to address service instances, which shall be invoked by RSC remotely or via IPC. The address depends on the service type and the connection between the client and remote peer, where the latter might be another process or another machine. This class is not intended for direct use, but required by RscGenerator to implement services.
| Arp::Base::Rsc::Commons::Services::RscServiceHandle::RscServiceHandle | ( | RscHandle | serviceHandle, |
| RscHandle | serviceProviderHandle | ||
| ) |
Constructs a RscServiceHandle instance.
| serviceHandle | The service handle. |
| serviceProviderHandle | The service-provider handle. |
|
default |
The default copy constructor.
| arg | The argument to copy. |
|
defaultnoexcept |
The default move constructor.
| arg | The argument to move. |
| size_t Arp::Base::Rsc::Commons::Services::RscServiceHandle::GetHashValue | ( | void | ) | const |
Gets the hash value of this instance.
| const RscServiceHandle::Impl & Arp::Base::Rsc::Commons::Services::RscServiceHandle::GetImpl | ( | void | ) |
For internal use only.
| RscHandle Arp::Base::Rsc::Commons::Services::RscServiceHandle::GetServiceHandle | ( | void | ) | const |
Gets the service handle of this RscServiceHandle.
| RscHandle Arp::Base::Rsc::Commons::Services::RscServiceHandle::GetServiceProviderHandle | ( | void | ) | const |
Gets the service provider handle of this RscServiceHandle.
|
default |
The default copy-assignment operator.
| arg | The argument to copy. |
|
defaultnoexcept |
The default move-assignment operator.
| arg | The argument to move. |
| void Arp::Base::Rsc::Commons::Services::RscServiceHandle::SetServiceHandle | ( | RscHandle | value | ) |
Sets the service handle of this RscServiceHandle.
| value | Specifies the new service handle value of this RscServiceHandle. |
| void Arp::Base::Rsc::Commons::Services::RscServiceHandle::SetServiceProviderHandle | ( | RscHandle | value | ) |
Sets the service provider handle of this RscServiceHandle.
| value | Specifies the new service provider handle value of this RscServiceHandle. |
|
friend |
The equality operator compares the arguments.
| lhs | The left argument to compare to the right argument. |
| rhs | The right argument to compare to the left argument. |
true if the arguments are equal, otherwise false.