How to recognize the ladar sensor?

I’m trying to add ladar to ardupilot.
I found the source that ‘detect instance’ of ladar type in Libraries/AP_RangeFinder/RangeFinder.cpp
but I can’t understand how to recognize the kind of lidar(LeddarOne, Ulanding, LWSER, etc…)

where Does the kind of lidar receive ??
and how to add another lidar type??