-extern "C" AbstractSource * create(AbstractRoutingEngine* routingengine, map<string, string> config)
+extern "C" void create(AbstractRoutingEngine* routingengine, map<string, string> config)
{
- return new ExampleSourcePlugin(routingengine, config);
-
+ new ExampleSourcePlugin(routingengine, config);
}
const string ExampleSourcePlugin::uuid()
{
VehicleProperty::DoorsPerRowType temp;
- BasicPropertyType<uint16_t> row1(2);
- BasicPropertyType<uint16_t> row2(2);
- BasicPropertyType<uint16_t> row3(1);
-
- temp.append(row1);
- temp.append(row2);
- temp.append(row3);
+ temp.append(2);
+ temp.append(2);
+ temp.append(1);
reply->value = &temp;
reply->success = true;
DebugOut()<<"setting enginespeed to: "<<engineSpeed<<endl;
vel.setValue(velocity);
+ vel.sequence++;
vel.priority = AbstractPropertyType::High;
es.setValue(engineSpeed);
+ es.sequence++;
es.priority = AbstractPropertyType::Low;
ac.setValue(accelerationX);
swa.setValue(steeringWheelAngle);
{
mSupported.push_back(property);
- std::list<Zone::Type> zones;
+ Zone::ZoneList zones;
zones.push_back(zone);