Home
last modified time | relevance | path

Searched refs:VehicleType (Results 1 – 25 of 167) sorted by relevance

1234567

/dports/cad/sumo/sumo-1.2.0/src/libsumo/
H A DVehicleType.cpp46 VehicleType::getIDList() { in getIDList()
54 VehicleType::getIDCount() { in getIDCount()
60 VehicleType::getLength(const std::string& typeID) { in getLength()
90 VehicleType::getAccel(const std::string& typeID) { in getAccel()
96 VehicleType::getDecel(const std::string& typeID) { in getDecel()
120 VehicleType::getTau(const std::string& typeID) { in getTau()
144 VehicleType::getMinGap(const std::string& typeID) { in getMinGap()
150 VehicleType::getWidth(const std::string& typeID) { in getWidth()
162 VehicleType::getColor(const std::string& typeID) { in getColor()
346 VehicleType::getVType(std::string id) { in LIBSUMO_SUBSCRIPTION_IMPLEMENTATION()
[all …]
/dports/games/nazghul/nazghul-0.7.1/src/
H A Dvehicle.cpp50 VehicleType::VehicleType(const char *tag, const char *name, struct sprite *sprite, in VehicleType() function in VehicleType
83 VehicleType::~ VehicleType() in ~VehicleType()
89 class Object *VehicleType::createInstance() in createInstance()
96 int VehicleType::getWindPenalty(int facing) in getWindPenalty()
124 bool VehicleType::mustTurn() in mustTurn()
129 bool VehicleType::isVulnerable() in isVulnerable()
134 bool VehicleType::killsOccupants() in killsOccupants()
139 int VehicleType::getType() in getType()
144 bool VehicleType::isType(int classID) in isType()
156 char *VehicleType::getMvDesc() in getMvDesc()
[all …]
H A Dvehicle.h30 class VehicleType:public ObjectType {
34 VehicleType(const char *tag, const char *name, struct sprite *sprite,
48 virtual ~VehicleType();
83 Vehicle (VehicleType*);
84 Vehicle (VehicleType*, int facing, int hp);
86 virtual class VehicleType *getObjectType();
/dports/cad/sumo/sumo-1.2.0/src/traci-server/
H A DTraCIServerAPI_VehicleType.cpp133 libsumo::VehicleType::setLength(id, value); in setVariable()
144 libsumo::VehicleType::setHeight(id, value); in setVariable()
155 libsumo::VehicleType::setMaxSpeed(id, value); in setVariable()
212 libsumo::VehicleType::setWidth(id, value); in setVariable()
223 libsumo::VehicleType::setMinGap(id, value); in setVariable()
234 libsumo::VehicleType::setMinGapLat(id, value); in setVariable()
281 libsumo::VehicleType::setAccel(id, value); in setVariable()
292 libsumo::VehicleType::setDecel(id, value); in setVariable()
348 libsumo::VehicleType::setTau(id, value); in setVariable()
356 libsumo::VehicleType::setColor(id, col); in setVariable()
[all …]
/dports/devel/kpublictransport/kpublictransport-21.12.3/src/lib/datatypes/
H A Drentalvehicle.cpp36 RentalVehicle::VehicleType type = RentalVehicle::Unknown;
80 const auto me = QMetaEnum::fromType<RentalVehicle::VehicleType>(); in supportedVehicleTypes()
83 types |= (RentalVehicle::VehicleType)me.value(i); in supportedVehicleTypes()
92 const auto me = QMetaEnum::fromType<RentalVehicle::VehicleType>(); in availableVehicleTypes()
95 types |= (RentalVehicle::VehicleType)me.value(i); in availableVehicleTypes()
103 const auto me = QMetaEnum::fromType<RentalVehicle::VehicleType>(); in capacity()
114 const auto me = QMetaEnum::fromType<RentalVehicle::VehicleType>(); in setCapacity()
127 const auto me = QMetaEnum::fromType<RentalVehicle::VehicleType>(); in availableVehicles()
138 const auto me = QMetaEnum::fromType<RentalVehicle::VehicleType>(); in setAvailableVehicles()
160 const auto me = QMetaEnum::fromType<RentalVehicle::VehicleType>(); in typeVectorToJson()
[all …]
H A Drentalvehicle.h32 enum VehicleType { enum
40 Q_ENUM(VehicleType)
41 Q_DECLARE_FLAGS(VehicleTypes, VehicleType)
45 KPUBLICTRANSPORT_PROPERTY(VehicleType, type, setType)
99 Q_INVOKABLE int capacity(KPublicTransport::RentalVehicle::VehicleType type) const;
101 void setCapacity(RentalVehicle::VehicleType type, int capacity);
104 Q_INVOKABLE int availableVehicles(KPublicTransport::RentalVehicle::VehicleType type) const;
106 void setAvailableVehicles(RentalVehicle::VehicleType type, int count);
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/sim/src/
H A Dlib.rs73 pub VehicleType,
231 pub enum VehicleType { enum
238 impl fmt::Display for VehicleType { implementation
241 VehicleType::Car => write!(f, "car"), in fmt()
249 impl VehicleType { implementation
261 VehicleType::Car => false, in is_transit()
262 VehicleType::Bus => true, in is_transit()
263 VehicleType::Train => true, in is_transit()
264 VehicleType::Bike => false, in is_transit()
273 pub vehicle_type: VehicleType,
[all …]
/dports/games/openttd/openttd-12.1/src/
H A Dvehicle_gui.h53 void ShowBuildVehicleWindow(TileIndex tile, VehicleType type);
59 void ShowVehicleListWindow(CompanyID company, VehicleType vehicle_type);
60 void ShowVehicleListWindow(CompanyID company, VehicleType vehicle_type, StationID station);
61 void ShowVehicleListWindow(CompanyID company, VehicleType vehicle_type, TileIndex depot_tile);
68 static inline uint GetVehicleHeight(VehicleType type) in GetVehicleHeight()
83 VehicleCellSize GetVehicleImageCellSize(VehicleType type, EngineImageType image_type);
91 static inline WindowClass GetWindowClassForVehicleType(VehicleType vt) in GetWindowClassForVehicleType()
H A Dvehicle_type.h21 enum VehicleType : byte { enum
37 DECLARE_POSTFIX_INCREMENT(VehicleType)
39 template <> struct EnumPropsT<VehicleType> : MakeEnumPropsT<VehicleType, byte, VEH_TRAIN, VEH_END, …
52 VehicleType type; ///< Type of vehicle
H A Dvehicle_func.h36 template <VehicleType T>
68 UnitID GetFreeUnitNumber(VehicleType type);
72 bool CanBuildVehicleInfrastructure(VehicleType type, byte subtype = 0);
89 static inline bool IsCompanyBuildableVehicleType(VehicleType type) in IsCompanyBuildableVehicleType()
124 static inline uint32 GetCmdBuildVeh(VehicleType type) in GetCmdBuildVeh()
134 static inline uint32 GetCmdSellVeh(VehicleType type) in GetCmdSellVeh()
144 static inline uint32 GetCmdRefitVeh(VehicleType type) in GetCmdRefitVeh()
154 static inline uint32 GetCmdSendToDepot(VehicleType type) in GetCmdSendToDepot()
H A Dgroup.h52 static GroupStatistics &Get(CompanyID company, GroupID id_g, VehicleType type);
75 VehicleType vehicle_type; ///< Vehicle type of the group
106 uint GetGroupNumVehicle(CompanyID company, GroupID id_g, VehicleType type);
107 uint GetGroupNumProfitVehicle(CompanyID company, GroupID id_g, VehicleType type);
108 Money GetGroupProfitLastYear(CompanyID company, GroupID id_g, VehicleType type);
H A Dengine_base.h46 VehicleType type; ///< %Vehicle type, ie #VEH_ROAD, #VEH_TRAIN, etc.
69 Engine(VehicleType type, EngineID base);
150 VehicleType vt;
161 …static Pool::IterateWrapperFiltered<Engine, EngineTypeFilter> IterateType(VehicleType vt, size_t f…
170 VehicleType type; ///< The engine type
182 EngineID GetID(VehicleType type, uint16 grf_local_id, uint32 grfid);
H A Dvehiclelist.h31 VehicleType vtype; ///< The vehicle type associated with this list.
46 VehicleListIdentifier(VehicleListType type, VehicleType vtype, CompanyID company, uint index = 0) :
56 void BuildDepotVehicleList(VehicleType type, TileIndex tile, VehicleList *engine_list, VehicleList …
H A Dautoreplace_gui.h17 void AddRemoveEngineFromAutoreplaceAndBuildWindows(VehicleType type);
19 void ShowReplaceGroupVehicleWindow(GroupID group, VehicleType veh);
H A Dground_vehicle.cpp20 template <class T, VehicleType Type>
78 template <class T, VehicleType Type>
104 template <class T, VehicleType Type>
189 template <class T, VehicleType Type>
/dports/net/clash/clash-1.6.0/adapters/provider/
H A Dvehicle.go15 File VehicleType = iota
21 type VehicleType int type
23 func (v VehicleType) String() string {
39 Type() VehicleType
46 func (f *FileVehicle) Type() VehicleType {
67 func (h *HTTPVehicle) Type() VehicleType {
H A Dprovider.go43 VehicleType() VehicleType methodSpec
78 "vehicleType": pp.VehicleType().String(),
201 "vehicleType": cp.VehicleType().String(),
222 func (cp *compatibleProvider) VehicleType() VehicleType { func
/dports/cad/sumo/sumo-1.2.0/tools/contributed/lisum-core/src/main/java/de/dlr/ts/lisum/simulation/
H A DVehicleTypes.java36 private final Map<String, VehicleType> types = new HashMap<>();
49 public VehicleType getVehicleType(String name) { in getVehicleType()
68 types.put(id, new VehicleType(id, length)); in load()
78 public static class VehicleType { class in VehicleTypes
88 public VehicleType(String name, double length) { in VehicleType() method in VehicleTypes.VehicleType
/dports/science/chrono/chrono-7.0.1/src/demos/synchrono/dds/
H A Ddemo_SYN_DDS_wheeled.cpp62 enum VehicleType { SEDAN, HMMWV, UAZ, CITYBUS, MAN }; enum
87 void GetVehicleModelFiles(VehicleType type,
195 …GetVehicleModelFiles((VehicleType)cli.GetAsType<int>("vehicle"), vehicle_filename, powertrain_file… in main()
336 void GetVehicleModelFiles(VehicleType type, in GetVehicleModelFiles()
343 case VehicleType::SEDAN: in GetVehicleModelFiles()
350 case VehicleType::HMMWV: in GetVehicleModelFiles()
357 case VehicleType::UAZ: in GetVehicleModelFiles()
364 case VehicleType::CITYBUS: in GetVehicleModelFiles()
371 case VehicleType::MAN: in GetVehicleModelFiles()
/dports/science/chrono/chrono-7.0.1/src/demos/synchrono/mpi/
H A Ddemo_SYN_wheeled.cpp62 enum VehicleType { SEDAN, HMMWV, UAZ, CITYBUS, MAN }; enum
88 void GetVehicleModelFiles(VehicleType type,
190 …GetVehicleModelFiles((VehicleType)cli.GetAsType<int>("vehicle"), vehicle_filename, powertrain_file… in main()
328 void GetVehicleModelFiles(VehicleType type, in GetVehicleModelFiles()
335 case VehicleType::SEDAN: in GetVehicleModelFiles()
342 case VehicleType::HMMWV: in GetVehicleModelFiles()
349 case VehicleType::UAZ: in GetVehicleModelFiles()
356 case VehicleType::CITYBUS: in GetVehicleModelFiles()
363 case VehicleType::MAN: in GetVehicleModelFiles()
/dports/games/openttd/openttd-12.1/src/script/api/
H A Dscript_group.cpp29 /* static */ ScriptGroup::GroupID ScriptGroup::CreateGroup(ScriptVehicle::VehicleType vehicle_type,… in CreateGroup()
31 …if (!ScriptObject::DoCommand(0, (::VehicleType)vehicle_type, parent_group_id, CMD_CREATE_GROUP, nu… in CreateGroup()
44 /* static */ ScriptVehicle::VehicleType ScriptGroup::GetVehicleType(GroupID group_id) in GetVehicleType()
48 return (ScriptVehicle::VehicleType)((::VehicleType)::Group::Get(group_id)->vehicle_type); in GetVehicleType()
109 /* static */ int32 ScriptGroup::GetNumVehicles(GroupID group_id, ScriptVehicle::VehicleType vehicle… in GetNumVehicles()
115 …any(), group_id, valid_group ? ::Group::Get(group_id)->vehicle_type : (::VehicleType)vehicle_type); in GetNumVehicles()
H A Dscript_group.hpp48 static GroupID CreateGroup(ScriptVehicle::VehicleType vehicle_type, GroupID parent_group_id);
65 static ScriptVehicle::VehicleType GetVehicleType(GroupID group_id);
143 static int32 GetNumVehicles(GroupID group_id, ScriptVehicle::VehicleType vehicle_type);
/dports/astro/marble/marble-21.12.3/src/lib/marble/declarative/
H A DOfflineDataModel.h19 Q_FLAGS(VehicleType VehicleTypes)
22 enum VehicleType { enum
30 Q_DECLARE_FLAGS(VehicleTypes, VehicleType)
/dports/games/liblcf/liblcf-0.7.0/src/generated/lcf/rpg/
H A Dsavevehiclelocation.h31 enum VehicleType { enum
37 static constexpr auto kVehicleTypeTags = lcf::makeEnumTags<VehicleType>(
50 inline std::ostream& operator<<(std::ostream& os, SaveVehicleLocation::VehicleType code) {
/dports/games/openttd/openttd-12.1/src/pathfinder/yapf/
H A Dyapf_base.hpp52 typedef typename Types::VehicleType VehicleType; ///< the type of vehicle typedef in CYapfBaseT
63 const VehicleType *m_veh; ///< vehicle that we are trying to drive
111 inline bool FindPath(const VehicleType *v) in FindPath()
299 const VehicleType * GetVehicle() const in GetVehicle()

1234567