Class PlayerServiceClientManager
Defined in File player_service_client.hpp
Class Documentation
-
class PlayerServiceClientManager
Public Functions
-
explicit PlayerServiceClientManager(std::chrono::seconds request_future_timeout = std::chrono::minutes(30), size_t maximum_request_future_queue = 100)
-
bool request_future_queue_is_full()
-
bool register_request_future(rclcpp::GenericClient::FutureAndRequestId &&future_and_request_id, std::weak_ptr<rclcpp::GenericClient> client)
Wait until sent service requests will receive responses from service servers.
Note
If client is a nullptr it will be taken into account all requests from all clients and timeout will be due per each client.
- Parameters:
client – - Generic service client from which requests was sent.
timeout – - Timeout in fraction of seconds to wait for.
- Returns:
true if service requests successfully finished, otherwise false.
-
explicit PlayerServiceClientManager(std::chrono::seconds request_future_timeout = std::chrono::minutes(30), size_t maximum_request_future_queue = 100)