added virtual function such that each plugin could access comedi if needed