strat des robots

Fork of CRAC-Strat_2017 by CRAC Team

Committer:
ClementBreteau
Date:
Fri May 19 17:14:07 2017 +0000
Revision:
17:d1594579eec6
Parent:
0:ad97421fb1fb
strat du robot, 19-05-2017, 19h

Who changed what in which revision?

UserRevisionLine numberNew contents of line
antbig 0:ad97421fb1fb 1 /* mbed Microcontroller Library - FileLike
antbig 0:ad97421fb1fb 2 * Copyright (c) 2008-2009 ARM Limited. All rights reserved.
antbig 0:ad97421fb1fb 3 */
antbig 0:ad97421fb1fb 4
antbig 0:ad97421fb1fb 5 #ifndef MBED_FILELIKE_H
antbig 0:ad97421fb1fb 6 #define MBED_FILELIKE_H
antbig 0:ad97421fb1fb 7
antbig 0:ad97421fb1fb 8 #include "Base.h"
antbig 0:ad97421fb1fb 9 #include "FileHandle.h"
antbig 0:ad97421fb1fb 10
antbig 0:ad97421fb1fb 11 namespace mbed {
antbig 0:ad97421fb1fb 12
antbig 0:ad97421fb1fb 13 /* Class FileLike
antbig 0:ad97421fb1fb 14 * A file-like object is one that can be opened with fopen by
antbig 0:ad97421fb1fb 15 * fopen("/name", mode). It is intersection of the classes Base and
antbig 0:ad97421fb1fb 16 * FileHandle.
antbig 0:ad97421fb1fb 17 */
antbig 0:ad97421fb1fb 18 class FileLike : public Base, public FileHandle {
antbig 0:ad97421fb1fb 19
antbig 0:ad97421fb1fb 20 public:
antbig 0:ad97421fb1fb 21 /* Constructor FileLike
antbig 0:ad97421fb1fb 22 *
antbig 0:ad97421fb1fb 23 * Variables
antbig 0:ad97421fb1fb 24 * name - The name to use to open the file.
antbig 0:ad97421fb1fb 25 */
antbig 0:ad97421fb1fb 26 FileLike(const char *name) : Base(name) { }
antbig 0:ad97421fb1fb 27 virtual ~FileLike();
antbig 0:ad97421fb1fb 28
antbig 0:ad97421fb1fb 29 };
antbig 0:ad97421fb1fb 30
antbig 0:ad97421fb1fb 31 } // namespace mbed
antbig 0:ad97421fb1fb 32
antbig 0:ad97421fb1fb 33 #endif