From 792e6bf0b476a778e3b3fb4fcdb3aa4202654175 Mon Sep 17 00:00:00 2001 From: haller Date: Wed, 4 May 2005 11:35:46 +0000 Subject: Codage de getFd --- 2005/i/robert/src/proto/proto.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '2005/i/robert/src/proto/proto.cc') diff --git a/2005/i/robert/src/proto/proto.cc b/2005/i/robert/src/proto/proto.cc index 5fc9265..4e04c83 100644 --- a/2005/i/robert/src/proto/proto.cc +++ b/2005/i/robert/src/proto/proto.cc @@ -200,6 +200,12 @@ Proto::wait (int timeout/*-1*/) return serial_.wait (timeout < timeout_ ? timeout : timeout_); } +/// Récupère le File Descriptor +int Proto::getFd(void) +{ + return serial_.getFd(); +} + /// Récupère les infos de l'AVR pour construire une frame bool Proto::getFrame(void) -- cgit v1.2.3