Struct LockConfig
Defined in File priority_mux_base.h
Struct Documentation
-
struct LockConfig
Configuration of a lock topic for the mux.
Public Members
-
::std::string name
The human-readable name of the config.
-
::std::string topic
The topic associated with the lock.
-
int priority = {0}
The priority for the lock. Usually is a positive number.
-
::ros::Duration timeout
If zero, the lock only locks/unlocks based on the
lockedparameter 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 withlockedset tofalse.
-
::std::string name