Bazaar developer reference

cvStopWatch::GetDeltaInSeconds() const

Defined in
cvStopWatch.cpp, line 73
Class
cvStopWatch
Hook name
CivHooks::cvStopWatch_GetDeltaInSeconds

Hooks

static bool BeforecvStopWatch_GetDeltaInSeconds(const cvStopWatch* self, double& result);static void AftercvStopWatch_GetDeltaInSeconds(const cvStopWatch* self, double& result);static double ReplacecvStopWatch_GetDeltaInSeconds(double (*original)(const cvStopWatch*), const cvStopWatch* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::cvStopWatch_GetDeltaInSeconds::ID, CIV_HOOK_BEFORE, (void*)&BeforecvStopWatch_GetDeltaInSeconds);host->RegisterHook(host->pluginIndex, CivHooks::cvStopWatch_GetDeltaInSeconds::ID, CIV_HOOK_AFTER, (void*)&AftercvStopWatch_GetDeltaInSeconds);host->RegisterHook(host->pluginIndex, CivHooks::cvStopWatch_GetDeltaInSeconds::ID, CIV_HOOK_REPLACE, (void*)&ReplacecvStopWatch_GetDeltaInSeconds);

Code

73double cvStopWatch::GetDeltaInSeconds() const74{75	return m_dtseconds;76}

Called by