DoorTimer.hh
This library is part of the Gazebo project.
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:38
void Configure(const std::chrono::steady_clock::duration &_startTime, const std::function< void()> &_timeoutCallback)
Starts the timer and sets the timeout time based on the given start time.
DoorTimer(const std::chrono::steady_clock::duration &_waitDuration)
Constructor.
Timer that's used to keep a door open. It has a configurable default wait duration that when exceeded...
Definition: DoorTimer.hh:48
void Update(const UpdateInfo &_info, bool _isDoorwayBlocked)
Checks whether the timer has timed out.