This is my quadcopter prototype software, still in development!

Committer:
Anaesthetix
Date:
Wed Jan 30 13:14:44 2013 +0000
Revision:
0:978110f7f027
My quadcopter prototype software, still in development.

Who changed what in which revision?

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