If you pass custom random generator, then OdRandom receives ownership over it. Otherwise, a default OdRandomGenMinstd generator will be created.
OdRandom Constructor