maliput_malidrive
|
Class to handle the index arithmetic and get always an increasing integer as ID.
#include <src/maliput_malidrive/builder/id_providers.h>
Public Member Functions | |
UniqueIntegerProvider ()=delete | |
UniqueIntegerProvider (int base_id) | |
Constructs an UniqueIntegerProvider. More... | |
int | new_id () |
int | get_last_id () const |
|
delete |
|
explicit |
Constructs an UniqueIntegerProvider.
base_id | is the base integer to be used as ID and start incrementing. |
int get_last_id | ( | ) | const |
int new_id | ( | ) |