|
rclUE
|
Class implementing ROS2 service clients. More...
#include <ROS2Service.h>


Public Member Functions | |
| virtual bool | InitializeWithROS2 (UROS2NodeComponent *InROS2Node) |
| Initialize Service with ROS2Node. More... | |
| virtual bool | Init () |
| Initialize ROS2 service client with rcl_client_init, set QoS, InitializeService and InitializeServiceComponent . More... | |
| virtual bool | InitializeService () |
| Create Service instance and initialize it. More... | |
| virtual void | Destroy () |
| Destroy service with rcl_client_fini. More... | |
| virtual void | ProcessReady () |
| Determine the relevant service functions to call. More... | |
Public Attributes | |
| FString | ServiceName |
| this information is redundant with Topic, but it's used to initialize it More... | |
| TSubclassOf< UROS2GenericSrv > | SrvClass |
| type of Srv class More... | |
| UROS2NodeComponent * | OwnerNode |
| ROS2Node which own this service client. More... | |
| TEnumAsByte< UROS2State > | State = UROS2State::Created |
| Service client state. More... | |
| UROS2GenericSrv * | Service |
| Service Instance. More... | |
| UROS2QoS | QoS = UROS2QoS::Services |
| Quality of service. More... | |
Protected Member Functions | |
| virtual void | InitializeServiceComponent () |
| Initialize ROS2 Action. Should be implemented in UROS2ServiceServer and UROS2ServiceClient. More... | |
Protected Attributes | |
| bool | Ready |
| Service is ready or not. | |
Class implementing ROS2 service clients.
Service type is defined by SrvClass
UCLASS(ClassGroup = (Custom), Blueprintable, BlueprintType, meta = (BlueprintSpawnableComponent))
|
virtual |
Destroy service with rcl_client_fini.
Reimplemented in UROS2ServiceClient, and UROS2ServiceServer.
|
virtual |
Initialize ROS2 service client with rcl_client_init, set QoS, InitializeService and InitializeServiceComponent .
|
virtual |
|
protectedvirtual |
Initialize ROS2 Action. Should be implemented in UROS2ServiceServer and UROS2ServiceClient.
Reimplemented in UROS2ServiceClient, and UROS2ServiceServer.
|
virtual |
Initialize Service with ROS2Node.
| InROS2Node | ROS2Node which this publisher belongs to |
|
virtual |
Determine the relevant service functions to call.
Should be implemented in UROS2ServiceServer and UROS2ServiceClient
Reimplemented in UROS2ServiceClient, and UROS2ServiceServer.
| UROS2NodeComponent* UROS2Service::OwnerNode |
ROS2Node which own this service client.
| UROS2QoS UROS2Service::QoS = UROS2QoS::Services |
| UROS2GenericSrv* UROS2Service::Service |
Service Instance.
| FString UROS2Service::ServiceName |
this information is redundant with Topic, but it's used to initialize it
| TSubclassOf<UROS2GenericSrv> UROS2Service::SrvClass |
type of Srv class
| TEnumAsByte<UROS2State> UROS2Service::State = UROS2State::Created |
Service client state.
1.8.17