3 This file is part of R²C²
4 Copyright © 2009-2011 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
15 add<DriverStatePacket>() (&DriverStatePacket::power)
16 (&DriverStatePacket::halt);
17 add<EmergencyPacket>() (&EmergencyPacket::message);
18 add<TrainInfoPacket>() (&TrainInfoPacket::address)
19 (&TrainInfoPacket::loco_type) (&TrainInfoPacket::name);
20 add<TrainControlPacket>() (&TrainControlPacket::address)
21 (&TrainControlPacket::control) (&TrainControlPacket::value);
22 add<TrainFunctionPacket>() (&TrainFunctionPacket::address)
23 (&TrainFunctionPacket::functions);
24 add<TrainStatusPacket>() (&TrainStatusPacket::address)
25 (&TrainStatusPacket::status);
26 add<RouteInfoPacket>() (&RouteInfoPacket::name);
27 add<TrainRoutePacket>() (&TrainRoutePacket::address)
28 (&TrainRoutePacket::route);
29 add<ErrorPacket>() (&ErrorPacket::message);