summaryrefslogtreecommitdiff
path: root/i/marvin/src/proto
diff options
context:
space:
mode:
authorhaller2006-05-25 22:14:43 +0000
committerhaller2006-05-25 22:14:43 +0000
commitbf03b37b06877b55e4f23b627647a6b156ed664e (patch)
tree47aa544812fa1a1eed22666179bd21a7e1ee3807 /i/marvin/src/proto
parent1aff85cbaa8174f4aef9ded81c2156c8f1c5a508 (diff)
* Constification de getFd dans la classe Serial et ses clients
* Fonction afterMatch dans ai * Fonction motorSmartFindHole * Déclaration de la fonction motorDeblock * Ajout d'info sur le lcd lors de l'init * Utilisation des capteurs barillet
Diffstat (limited to 'i/marvin/src/proto')
-rw-r--r--i/marvin/src/proto/proto.cc2
-rw-r--r--i/marvin/src/proto/proto.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/i/marvin/src/proto/proto.cc b/i/marvin/src/proto/proto.cc
index 216a345..50e363d 100644
--- a/i/marvin/src/proto/proto.cc
+++ b/i/marvin/src/proto/proto.cc
@@ -221,7 +221,7 @@ Proto::wait (int timeout/*-1*/)
}
/// Récupère le File Descriptor
-int Proto::getFd(void)
+int Proto::getFd(void) const
{
return serial_.getFd();
}
diff --git a/i/marvin/src/proto/proto.hh b/i/marvin/src/proto/proto.hh
index 8979a3d..340b1fb 100644
--- a/i/marvin/src/proto/proto.hh
+++ b/i/marvin/src/proto/proto.hh
@@ -108,7 +108,7 @@ class Proto : public NonCopyable
/// fonction bloquante, n'utiliser que pour les tests.
bool wait (int timeout = -1);
/// Récupère le File Descriptor
- int getFd(void);
+ int getFd(void) const;
public:
/// Les clients de Proto doivent dériver de Receiver.