|
Maps SDK for C++ 1.0.0
|
Defines a vehicle. More...


Public Member Functions | |
| Vehicle ()=default | |
| Default constructor. | |
| Vehicle (const Vehicle &)=default | |
| Default copy constructor. | |
| Vehicle (Vehicle &&) noexcept=default | |
| Default move constructor. noexcept is deduced. | |
| Vehicle & | operator= (const Vehicle &)=default |
| Default copy assignment operator. | |
| Vehicle & | operator= (Vehicle &&) noexcept=default |
| Default move assignment operator. | |
| bool | operator== (Vehicle const &vehicle) const |
| Compares two Vehicle objects for equality. | |
| bool | operator!= (Vehicle const &vehicle) const |
| Compares two Vehicle objects for inequality. | |
| LargeInteger | getId () const noexcept |
| Retrieves the unique identifier of the vehicle. | |
| EVehicleType | getType () const noexcept |
| Retrieves the type of the vehicle. | |
| Vehicle & | setType (EVehicleType vehicleType) noexcept |
| Sets the type of the vehicle. | |
| EVehicleStatus | getStatus () const noexcept |
| Retrieves the status of the vehicle. | |
| Vehicle & | setStatus (EVehicleStatus vehicleStatus) noexcept |
| Sets the status of the vehicle. | |
| const StringRef | getName () const noexcept |
| Retrieves the name of the vehicle. | |
| Vehicle & | setName (const String &name) noexcept |
| Sets the name of the vehicle. | |
| const StringRef | getManufacturer () const noexcept |
| Retrieves the manufacturer of the vehicle. | |
| Vehicle & | setManufacturer (const String &manufacturer) noexcept |
| Sets the manufacturer of the vehicle. | |
| const StringRef | getModel () const noexcept |
| Retrieves the model of the vehicle. | |
| Vehicle & | setModel (const String &model) noexcept |
| Sets the model of the vehicle. | |
| EFuelType | getFuelType () const noexcept |
| Retrieves the fuel type of the vehicle. | |
| Vehicle & | setFuelType (EFuelType fuelType) noexcept |
| Sets the fuel type of the vehicle. | |
| const CoordinatesRef | getLastPosition () const noexcept |
| Retrieves the last known position of the vehicle. | |
| Vehicle & | setLastPosition (const Coordinates &coords) noexcept |
| Sets the last known position of the vehicle. | |
| float | getConsumption () const noexcept |
| Retrieves the consumption rate of the vehicle. | |
| Vehicle & | setConsumption (float consumption) noexcept |
| Sets the consumption rate of the vehicle. | |
| const StringRef | getLicensePlate () const noexcept |
| Retrieves the license plate of the vehicle. | |
| Vehicle & | setLicensePlate (const String &licensePlate) noexcept |
| Sets the license plate of the vehicle. | |
| float | getBikerWeight () const noexcept |
| Retrieves the minimum weight that the vehicle can carry (only for bikes). | |
| Vehicle & | setBikerWeight (float bikerWeight) noexcept |
| Sets the minimum weight that the vehicle can carry (only for bikes). | |
| float | getMaxWeight () const noexcept |
| Retrieves the maximum weight that the vehicle can carry. | |
| Vehicle & | setMaxWeight (float maxWeight) noexcept |
| Sets the maximum weight that the vehicle can carry. | |
| float | getMaxCube () const noexcept |
| Retrieves the maximum cubic volume that the vehicle can carry. | |
| Vehicle & | setMaxCube (float maxCube) noexcept |
| Sets the maximum cubic volume that the vehicle can carry. | |
| float | getBikePower () const noexcept |
| Retrieves the power of the bike in watts (applicable only for electric bikes). | |
| Vehicle & | setBikePower (float bikePower) noexcept |
| Sets the power of the bike in watts (applicable only for electric bikes). | |
| Vehicle & | setHeight (float height) noexcept |
| Sets the height of the vehicle. | |
| float | getHeight () const noexcept |
| Retrieves the height of the vehicle. | |
| Vehicle & | setWidth (float width) noexcept |
| Sets the width of the vehicle. | |
| float | getWidth () const noexcept |
| Retrieves the width of the vehicle. | |
| Vehicle & | setWeight (float weight) noexcept |
| Sets the weight of the vehicle. | |
| float | getWeight () const noexcept |
| Retrieves the weight of the vehicle. | |
| Vehicle & | setLength (float length) noexcept |
| Sets the length of the vehicle. | |
| float | getLength () const noexcept |
| Retrieves the length of the vehicle. | |
| Vehicle & | setAxleLoad (float axleLoad) noexcept |
| Sets the maximum axle load that the vehicle can carry. | |
| float | getAxleLoad () const noexcept |
| Retrieves the maximum axle load that the vehicle can carry. | |
| Vehicle & | setFixedCost (float fixedCost) noexcept |
| Sets the fixed cost of the vehicle. | |
| float | getFixedCost () const noexcept |
| Retrieves the fixed cost of the vehicle. | |
| Vehicle & | setCostPerHour (float costPerHour) noexcept |
| Sets the cost per hour of the vehicle. | |
| float | getCostPerHour () const noexcept |
| Retrieves the cost per hour of the vehicle. | |
| Vehicle & | setStartTime (int minutes) noexcept |
| Sets the vehicle start time of the working program. | |
| int | getStartTime () const noexcept |
| Retrieves the vehicle start time of the working program. | |
| Vehicle & | setEndTime (int minutes) noexcept |
| Sets the vehicle end time of the working program. | |
| int | getEndTime () const noexcept |
| Retrieves the vehicle end time of the working program. | |
| Vehicle & | setBreaks (const std::vector< VRPAvailableBreak > &breaks) noexcept |
| Sets the breaks of the vehicle. | |
| std::vector< VRPAvailableBreak > | getBreaks () const noexcept |
| Retrieves the breaks of the vehicle. | |
Defines a vehicle.
Implements share-read / copy-on-write Api object over IVehicle.
|
inlinenoexcept |
Retrieves the maximum axle load that the vehicle can carry.
|
inlinenoexcept |
Retrieves the power of the bike in watts (applicable only for electric bikes).
|
inlinenoexcept |
Retrieves the minimum weight that the vehicle can carry (only for bikes).
|
inlinenoexcept |
Retrieves the breaks of the vehicle.
|
inlinenoexcept |
Retrieves the consumption rate of the vehicle.
|
inlinenoexcept |
Retrieves the cost per hour of the vehicle.
|
inlinenoexcept |
Retrieves the vehicle end time of the working program.
|
inlinenoexcept |
Retrieves the fixed cost of the vehicle.
|
inlinenoexcept |
Retrieves the fuel type of the vehicle.
|
inlinenoexcept |
Retrieves the height of the vehicle.
|
inlinenoexcept |
Retrieves the unique identifier of the vehicle.
|
inlinenoexcept |
Retrieves the last known position of the vehicle.
|
inlinenoexcept |
Retrieves the length of the vehicle.
|
inlinenoexcept |
Retrieves the license plate of the vehicle.
|
inlinenoexcept |
Retrieves the manufacturer of the vehicle.
|
inlinenoexcept |
Retrieves the maximum cubic volume that the vehicle can carry.
|
inlinenoexcept |
Retrieves the maximum weight that the vehicle can carry.
|
inlinenoexcept |
Retrieves the model of the vehicle.
|
inlinenoexcept |
Retrieves the name of the vehicle.
|
inlinenoexcept |
Retrieves the vehicle start time of the working program.
|
inlinenoexcept |
Retrieves the status of the vehicle.
|
inlinenoexcept |
Retrieves the type of the vehicle.
|
inlinenoexcept |
Retrieves the weight of the vehicle.
|
inlinenoexcept |
Retrieves the width of the vehicle.
|
inline |
Default copy assignment operator.
Replaces the contents of this object with a copy of another Vehicle object.
Default move assignment operator.
Moves the contents of another Vehicle object into this one.
|
inline |
|
inlinenoexcept |
Sets the maximum axle load that the vehicle can carry.
| axleLoad | The new maximum axle load for the vehicle. |
|
inlinenoexcept |
Sets the power of the bike in watts (applicable only for electric bikes).
| bikePower | The new power in watts for the bike. |
|
inlinenoexcept |
Sets the minimum weight that the vehicle can carry (only for bikes).
| bikerWeight | The new minimum weight in kilograms for the bike. |
|
inlinenoexcept |
Sets the breaks of the vehicle.
| breaks | A vector of VRPAvailableBreak objects representing the breaks of the vehicle. |
|
inlinenoexcept |
Sets the consumption rate of the vehicle.
| consumption | The new consumption rate for the vehicle. |
|
inlinenoexcept |
Sets the cost per hour of the vehicle.
| costPerHour | The cost per hour of the vehicle. |
|
inlinenoexcept |
Sets the vehicle end time of the working program.
| minutes | The end time of the working program, in minutes from midnight. |
|
inlinenoexcept |
Sets the fixed cost of the vehicle.
| fixedCost | The cost of the vehicle. |
|
inlinenoexcept |
Sets the height of the vehicle.
| height | The new height for the vehicle. |
|
inlinenoexcept |
Sets the last known position of the vehicle.
| coords | The new coordinates for the vehicle. |
|
inlinenoexcept |
Sets the length of the vehicle.
| length | The new length in meters for the vehicle. |
Sets the license plate of the vehicle.
| licensePlate | The new license plate for the vehicle. |
Sets the manufacturer of the vehicle.
| manufacturer | The manufacturer's name. |
|
inlinenoexcept |
Sets the maximum cubic volume that the vehicle can carry.
| maxCube | The new maximum cubic volume in cubic meters for the vehicle. |
|
inlinenoexcept |
Sets the maximum weight that the vehicle can carry.
| maxWeight | The new maximum weight in kilograms for the vehicle. |
Sets the model of the vehicle.
| model | The model of the vehicle. |
Sets the name of the vehicle.
| name | The new name for the vehicle. |
|
inlinenoexcept |
Sets the vehicle start time of the working program.
| minutes | The start time of the working program, in minutes from midnight. |
|
inlinenoexcept |
Sets the status of the vehicle.
| vehicleStatus | The new status for the vehicle as an EVehicleStatus enumeration value. |
|
inlinenoexcept |
Sets the type of the vehicle.
| vehicleType | The vehicle type as an EVehicleType enumeration value. |
|
inlinenoexcept |
Sets the weight of the vehicle.
| weight | The new weight for the vehicle. |