Public Attributes | List of all members
cras::priority_mux::LockConfig Struct Reference

Configuration of a lock topic for the mux. More...

#include <priority_mux_base.h>

Public Attributes

::std::string name
 The human-readable name of the config. More...
 
int priority {0}
 The priority for the lock. Usually is a positive number. More...
 
::ros::Duration timeout
 
::std::string topic
 The topic associated with the lock. More...
 

Detailed Description

Configuration of a lock topic for the mux.

Definition at line 45 of file priority_mux_base.h.

Member Data Documentation

◆ name

::std::string cras::priority_mux::LockConfig::name

The human-readable name of the config.

Definition at line 47 of file priority_mux_base.h.

◆ priority

int cras::priority_mux::LockConfig::priority {0}

The priority for the lock. Usually is a positive number.

Definition at line 49 of file priority_mux_base.h.

◆ timeout

::ros::Duration cras::priority_mux::LockConfig::timeout

If zero, the lock only locks/unlocks based on the locked parameter of the lock callback. If non-zero, it is the time after which the lock will get locked, unless a message comes to the lock topic with locked set to false.

Definition at line 50 of file priority_mux_base.h.

◆ topic

::std::string cras::priority_mux::LockConfig::topic

The topic associated with the lock.

Definition at line 48 of file priority_mux_base.h.


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


cras_topic_tools
Author(s): Martin Pecka
autogenerated on Tue Nov 26 2024 03:49:19