GateControl has eight functions:
-
AccessAllowed(), whose input argument is a cardnumber. It validates access and returns true if access is permittedand false if it is not. The attempted access, allowed or denied, isrecorded in a transaction log. The format of a transaction recordis defined in GateControl.hpp.
-
AddAuthorization(), whosearguments are a card number, a cardholder name, and a time range (astart time / end time pair). The format of these times is the sameas described below in the Data and Time section. It returns aboolean success/failure status; failure (false) means the item wasalready present and couldn’t be added.
-
DeleteAuthorization(), whose argument is a cardnumber.
OROR