summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/es/es.cc
diff options
context:
space:
mode:
authorhaller2005-04-28 22:29:50 +0000
committerhaller2005-04-28 22:29:50 +0000
commit10e9b5ada8232d3ec6320953ad9b6f42bead79ed (patch)
treef1f64e18e1453cafa6c6c1d9cf53b4f2a35c47bc /2005/i/robert/src/es/es.cc
parentb1d4784cc7d1796c81aadb18ee8e7baefc04a601 (diff)
Ajout d'un test_es.cc pour tester la classe es
Ajout d'une fonction wait à la classe es Quelques modifications
Diffstat (limited to '2005/i/robert/src/es/es.cc')
-rw-r--r--2005/i/robert/src/es/es.cc5
1 files changed, 5 insertions, 0 deletions
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)