project BLF > class ComponentPool > method StartCacherInPool

Description

Returns a handle to the cacher component and runs it on first time.


Parameters


ohCacheroutputhandle


Internal usage


BLF
method ComponentPool.GetTranslationForObject


program code (program1/componentpool.p)

if not valid-handle(vhCacherInPool)
or vhCacherInPool:unique-id <> viCacherUID
then do:
    <M-1 run MainBlock () in Cacher>
    assign vhCacherInPool = vhFcComponent
           viCacherUID    = vhFcComponent:unique-id.
end.

assign ohCacher = vhCacherInPool.