4 #include <msp/core/application.h>
5 #include <msp/io/serial.h>
6 #include "network/client.h"
8 class Serial: public Msp::RegisteredApplication<Serial>
11 Msp::IO::EventDispatcher event_disp;
12 R2C2::Catalogue catalogue;
14 Msp::IO::Serial serial_port;
15 R2C2::NetTrain *train;
25 void train_added(R2C2::NetTrain &);
26 void error(const std::string &);
27 void set_train(R2C2::NetTrain *);
30 void data_available();