VLink  2.0.0
A high-performance communication middleware
vlink::Timeout Struct Referencefinal

Compile-time timeout constants used by the public blocking wait helpers. More...

#include <types.h>

Collaboration diagram for vlink::Timeout:

Static Public Attributes

static constexpr std::chrono::milliseconds kDefaultInterval
 Default wait timeout: 5 seconds. More...
 
static constexpr std::chrono::milliseconds kInfinite {-1}
 Wait indefinitely (negative timeout). More...
 

Detailed Description

Compile-time timeout constants used by the public blocking wait helpers.

Provides canonical values for the wait_for_* family on Publisher, Subscriber, Client and friends.

Member Data Documentation

◆ kDefaultInterval

constexpr std::chrono::milliseconds vlink::Timeout::kDefaultInterval
staticconstexpr
Initial value:
{
5'000}

Default wait timeout: 5 seconds.

◆ kInfinite

constexpr std::chrono::milliseconds vlink::Timeout::kInfinite {-1}
staticconstexpr

Wait indefinitely (negative timeout).


The documentation for this struct was generated from the following file: