1 2 3 4 5 6 7 8 9 10 | {attribute 'call_after_init'} METHOD FB_AfterInit VAR IF THIS^.itfMetricOwner <> 0 THEN itfMetricOwner.RegisterMetric( THIS^ ); ELSIF THIS^.itfPrimaryHost <> 0 THEN IF __QUERYPOINTER( itfPrimaryHost, pPrimary ) THEN pPrimary^.RegisterMetric( THIS^ ); END_IF END_IF |