A Bradford inspector who was inspired to become a police officer by his father, is retiring after more than 30 years of service.