Sara Ojeda / Mbed 2 deprecated prueba_hsens

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Reader.h Source File

Reader.h

00001 #pragma once
00002 
00003 #include "mbed.h"
00004 #include <string>
00005 
00006 #include "Clock.h"
00007 
00008 class Reader
00009 {
00010 private:
00011     Reader();
00012     ~Reader();
00013     Reader(Reader const&);
00014     void operator=(Reader const&);
00015     
00016     Clock *clock;
00017     
00018 public:
00019     static Reader *getInstance();
00020 
00021     const string readLine(uint32_t timeout, bool showPrompt = true);
00022 };
00023