DoorTimer.hh
Go to the documentation of this file.
~DoorTimer()
Destructor.
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.
Timer that's used to keep a door open. It has a configurable default wait duration that when exceeded...
Definition: DoorTimer.hh:49
Information passed to systems on the update callback.
Definition: include/ignition/gazebo/Types.hh:38
void Update(const UpdateInfo &_info, bool _isDoorwayBlocked)
Checks whether the timer has timed out.
DoorTimer(const std::chrono::steady_clock::duration &_waitDuration)
Constructor.
This library is part of the Ignition Robotics project.