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.
TrainStat.h
- Committer:
- takashikojo
- Date:
- 2015-06-26
- Revision:
- 0:a59f55690685
- Child:
- 1:26a0a9220f01
File content as of revision 0:a59f55690685:
#ifndef TRAINSTAT_H
#define TRAINSTAT_H
#include <string>
enum infoSource {
YAHOO_TRAIN, TOKYO_METRO
} ;
class TrainStat {
public:
TrainStat() ;
~TrainStat();
bool setLine(string line) ;
bool getStat() ;
private:
enum infoSource source ;
#define BUFF_SIZE 1024*64
char recvBuff[BUFF_SIZE] ;
} ;
#endif