Gate interface for barrier control abstraction.
Definition IGate.h:9
virtual void open()=0
Open the barrier.
virtual bool isOpen() const =0
Check if barrier is currently open.
virtual bool isCarDetected() const =0
Check if car is detected in light barrier.
virtual void close()=0
Close the barrier.