From 10e9b5ada8232d3ec6320953ad9b6f42bead79ed Mon Sep 17 00:00:00 2001 From: haller Date: Thu, 28 Apr 2005 22:29:50 +0000 Subject: Ajout d'un test_es.cc pour tester la classe es Ajout d'une fonction wait à la classe es Quelques modifications --- 2005/i/robert/src/es/es.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to '2005/i/robert/src/es/es.cc') diff --git a/2005/i/robert/src/es/es.cc b/2005/i/robert/src/es/es.cc index 41baa51..5554d0a 100644 --- a/2005/i/robert/src/es/es.cc +++ b/2005/i/robert/src/es/es.cc @@ -72,6 +72,11 @@ void Es::ventouses(void) proto_.send('v'); } +void Es::wait(int timeout) +{ + proto_.wait(timeout); +} + void receive(char command, const Proto::Frame & frame) { switch(command) -- cgit v1.2.3