mouvement AX12 petit robot version 2

Fork of command_AX12_petit_robot by CRAC Team

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers FileLike.h Source File

FileLike.h

00001 /* mbed Microcontroller Library - FileLike
00002  * Copyright (c) 2008-2009 ARM Limited. All rights reserved.
00003  */ 
00004  
00005 #ifndef MBED_FILELIKE_H
00006 #define MBED_FILELIKE_H
00007 
00008 #include "Base.h"
00009 #include "FileHandle.h"
00010 
00011 namespace mbed {
00012 
00013 /* Class FileLike
00014  *  A file-like object is one that can be opened with fopen by
00015  *  fopen("/name", mode). It is intersection of the classes Base and
00016  *  FileHandle.
00017  */ 
00018 class FileLike : public Base, public FileHandle {
00019     
00020  public:
00021     /* Constructor FileLike
00022      *
00023      * Variables
00024      *  name - The name to use to open the file.
00025      */
00026     FileLike(const char *name) : Base(name) { }
00027     virtual ~FileLike();
00028 
00029 };
00030 
00031 } // namespace mbed
00032 
00033 #endif