Bazaar developer reference

CvRandom::init(unsigned long)

Defined in
CvRandom.cpp, line 90
Class
CvRandom
Hook name
CivHooks::CvRandom_init

Hooks

static bool BeforeCvRandom_init(CvRandom* self, unsigned long ulSeed);static void AfterCvRandom_init(CvRandom* self, unsigned long ulSeed);static void ReplaceCvRandom_init(void (*original)(CvRandom*, unsigned long), CvRandom* self, unsigned long ulSeed);CivRegisterBefore<CivHooks::CvRandom_init>(host, &BeforeCvRandom_init);CivRegisterAfter<CivHooks::CvRandom_init>(host, &AfterCvRandom_init);CivRegisterReplace<CivHooks::CvRandom_init>(host, &ReplaceCvRandom_init);

Code

90void CvRandom::init(unsigned long ulSeed)91{92	//--------------------------------93	// Init saved data94	reset(ulSeed);9596	//--------------------------------97	// Init non-saved data98}

Calls

Called by