Multi-class traffic flow on a partially space-shared road