Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: TrainStat.h
- Revision:
- 2:58e7fabcba89
- Parent:
- 1:26a0a9220f01
- Child:
- 4:acfd6fbf9f9e
diff -r 26a0a9220f01 -r 58e7fabcba89 TrainStat.h
--- a/TrainStat.h Sat Jun 27 06:20:16 2015 +0000
+++ b/TrainStat.h Sun Jun 28 00:16:16 2015 +0000
@@ -11,12 +11,13 @@
public:
TrainStat(enum infoSource s) ;
~TrainStat();
+ void setBuff(char *buff, int size) ;
bool setLine(string line) ;
bool getStat() ;
private:
enum infoSource source ;
- #define BUFF_SIZE 1024*64
- char recvBuff[BUFF_SIZE] ;
+ char *recvBuff ;
+ int recvSize ;
} ;
#endif