MCPcopy Create free account
hub / github.com/AimRT/AimRT / Timeout

Method Timeout

src/interface/aimrt_module_cpp_interface/rpc/rpc_context.h:271–274  ·  view source on GitHub ↗

Timeout manager

Source from the content-addressed store, hash-verified

269
270 // Timeout manager
271 std::chrono::nanoseconds Timeout() const {
272 AIMRT_ASSERT(base_ptr_ && base_ptr_->ops, "Reference is null.");
273 return std::chrono::nanoseconds(base_ptr_->ops->get_timeout_ns(base_ptr_->impl));
274 }
275
276 void SetTimeout(std::chrono::nanoseconds timeout) {
277 AIMRT_ASSERT(base_ptr_ && base_ptr_->ops, "Reference is null.");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected