KPublicTransport::VehicleSection

Search for usage in LXR

KPublicTransport::VehicleSection Class Reference

#include <vehicle.h>

Properties

Classes classes
 
Sides connectedSides
 
int deckCount
 
QVariantList featureList
 
Features features
 
QString name
 
float platformPositionBegin
 
float platformPositionEnd
 
QString platformSectionName
 
Type type
 

Detailed Description

Information about a part of a vehicle.

This typically describes a coach of a train.

See also
Vehicle

Definition at line 22 of file vehicle.h.

Property Documentation

Classes KPublicTransport::VehicleSection::classes
readwrite

Classes available in this vehicle section.

Can be more than one.

Definition at line 65 of file vehicle.h.

Sides KPublicTransport::VehicleSection::connectedSides
readwrite

Sides on which this vehicle section is connected to neighboring sections in a way that passengers can move between those sections.

This matters for example for a double segment train with to control cars in the middle of its full layout.

Definition at line 105 of file vehicle.h.

int KPublicTransport::VehicleSection::deckCount
readwrite

Number of decks in this vehicle section.

Definition at line 88 of file vehicle.h.

QVariantList VehicleSection::featureList
read

Feature flag as a variant list, for consumption in QML.

Definition at line 85 of file vehicle.h.

Features KPublicTransport::VehicleSection::features
readwrite

Features available in this vehicle section.

Can be more than one.

Definition at line 83 of file vehicle.h.

QString KPublicTransport::VehicleSection::name
readwrite

Human readable identifier of this section, typically the coach number.

Can be empty for sections closed to passengers, such as train engines.

Definition at line 29 of file vehicle.h.

float KPublicTransport::VehicleSection::platformPositionBegin
readwrite

Relative position [0-1] of the begin of this vehicle section on the platform.

0 representing the begin of the platform in platform coordinate (

See also
Platform), 1 being the opposite end.

Definition at line 34 of file vehicle.h.

float KPublicTransport::VehicleSection::platformPositionEnd
readwrite

Relative position [0-1] of the end of this vehicle section on the platform.

0 representing the begin of the platform in platform coordinate (

See also
Platform), 1 being the opposite end.

Definition at line 38 of file vehicle.h.

QString KPublicTransport::VehicleSection::platformSectionName
readwrite

Name of the platform section(s) this coach is position in.

This is primarily meant as a fallback when exact platform positions aren't available.

Definition at line 110 of file vehicle.h.

Type KPublicTransport::VehicleSection::type
readwrite

Type of this vehicle section.

Definition at line 51 of file vehicle.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Oct 16 2021 23:07:08 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.