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... | |
Configuration of a lock topic for the mux.
Definition at line 45 of file priority_mux_base.h.
::std::string cras::priority_mux::LockConfig::name |
The human-readable name of the config.
Definition at line 47 of file priority_mux_base.h.
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.
::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.
::std::string cras::priority_mux::LockConfig::topic |
The topic associated with the lock.
Definition at line 48 of file priority_mux_base.h.