In operation, the switching devices are driven alternately between fully on and fully off conditions such that one is conducting while the other one is turned off and vice versa.
The Class-D ballast may be conveniently driven by a square wave signal.